Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 218 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.132/0.132, allocations: 23.91 MB / 337.1 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.89 kB / 471.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3002, allocations: 59.88 MB / 0.5194 GB, free: 9.504 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.0689/0.3691, allocations: 25.83 MB / 0.5446 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01999/0.3891, allocations: 14.69 MB / 0.5589 GB, free: 368 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009002/0.39, allocations: 19.81 kB / 0.5589 GB, free: 348 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009125/0.3909, allocations: 300.3 kB / 0.5592 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004268/0.3952, allocations: 1.48 MB / 0.5607 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.4006, allocations: 2.022 MB / 0.5626 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002057/0.4027, allocations: 1.558 MB / 0.5642 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009313/0.4036, allocations: 0.6906 MB / 0.5648 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000905/0.4045, allocations: 0.7877 MB / 0.5656 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.4057, allocations: 0.8683 MB / 0.5665 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.4059, allocations: 139.9 kB / 0.5666 GB, free: 9.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.4105, allocations: 1.732 MB / 0.5683 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003733/0.4109, allocations: 335 kB / 0.5686 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.4116, allocations: 0.5759 MB / 0.5692 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006793/0.4184, allocations: 3.44 MB / 0.5725 GB, free: 3.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4184, allocations: 4 kB / 0.5725 GB, free: 3.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4184, allocations: 0 / 0.5725 GB, free: 3.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.4184, allocations: 0 / 0.5725 GB, free: 3.379 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003475/0.4219, allocations: 1.769 MB / 0.5743 GB, free: 1.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4219, allocations: 12.03 kB / 0.5743 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.94e-05/0.422, allocations: 26.36 kB / 0.5743 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/0.4222, allocations: 169 kB / 0.5744 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.4235, allocations: 275.5 kB / 0.5747 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.4246, allocations: 0.6127 MB / 0.5753 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.4247, allocations: 138.1 kB / 0.5754 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.4249, allocations: 116.1 kB / 0.5756 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.4273, allocations: 1.329 MB / 0.5769 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.4273, allocations: 11.92 kB / 0.5769 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.4274, allocations: 40 kB / 0.5769 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.816e-05/0.4275, allocations: 28 kB / 0.5769 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002917/0.4304, allocations: 1.691 MB / 0.5786 GB, free: 13.04 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006932/0.4373, allocations: 3.519 MB / 0.582 GB, free: 9.414 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003687/0.441, allocations: 1.889 MB / 0.5839 GB, free: 7.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009081/0.4419, allocations: 0.5299 MB / 0.5844 GB, free: 6.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006277/0.4482, allocations: 2.791 MB / 0.5871 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.4482, allocations: 43.22 kB / 0.5871 GB, free: 4.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.4482, allocations: 0 / 0.5871 GB, free: 4.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0163/0.4645, allocations: 3.434 MB / 0.5905 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.4646, allocations: 60.41 kB / 0.5906 GB, free: 0.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007728/0.4654, allocations: 0.5901 MB / 0.5911 GB, free: 15.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.327e-05/0.4654, allocations: 37.7 kB / 0.5912 GB, free: 15.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.4658, allocations: 0.5468 MB / 0.5917 GB, free: 15.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.4662, allocations: 349 kB / 0.592 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/0.4665, allocations: 234.8 kB / 0.5923 GB, free: 14.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4667, allocations: 402.7 kB / 0.5926 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006726/0.4674, allocations: 366.3 kB / 0.593 GB, free: 14.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.4684, allocations: 0.7477 MB / 0.5937 GB, free: 13.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001808/0.4702, allocations: 1.204 MB / 0.5949 GB, free: 11.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.4702, allocations: 4 kB / 0.5949 GB, free: 11.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004572/0.4748, allocations: 1.471 MB / 0.5963 GB, free: 10.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.4748, allocations: 8 kB / 0.5963 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.4749, allocations: 12 kB / 0.5964 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.477, allocations: 250.1 kB / 0.5966 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.4786, allocations: 323.5 kB / 0.5969 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006027/0.4847, allocations: 3.625 MB / 0.6004 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009724/0.4856, allocations: 44 kB / 0.6005 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.4858, allocations: 67.98 kB / 0.6005 GB, free: 5.699 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.4863, allocations: 277.6 kB / 0.6008 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.4865, allocations: 99.39 kB / 0.6009 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.4909, allocations: 1.328 MB / 0.6022 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.4909, allocations: 12 kB / 0.6022 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4909, allocations: 0 / 0.6022 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4909, allocations: 3.984 kB / 0.6022 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.4923, allocations: 0.9167 MB / 0.6031 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.4924, allocations: 4 kB / 0.6031 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.4936, allocations: 215.8 kB / 0.6033 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/0.4958, allocations: 225.5 kB / 0.6035 GB, free: 2.535 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.4958, allocations: 43.92 kB / 0.6036 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005497/0.5013, allocations: 3.526 MB / 0.607 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5013, allocations: 4.062 kB / 0.607 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.5062, allocations: 1.744 MB / 0.6087 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.5064, allocations: 79.44 kB / 0.6088 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.5065, allocations: 20 kB / 0.6088 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.5071, allocations: 20 kB / 0.6088 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.5073, allocations: 88.78 kB / 0.6089 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/0.5074, allocations: 43.98 kB / 0.609 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005847/0.5079, allocations: 387.1 kB / 0.6093 GB, free: 12.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5079, allocations: 0 / 0.6093 GB, free: 12.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001996/0.5099, allocations: 0.6857 MB / 0.61 GB, free: 11.65 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006636/0.5166, allocations: 3.002 MB / 0.6129 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002337/0.5189, allocations: 1.2 MB / 0.6141 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5189, allocations: 4 kB / 0.6141 GB, free: 7.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.5201, allocations: 0.6941 MB / 0.6148 GB, free: 6.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5213, allocations: 214.5 kB / 0.615 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.5382, allocations: 8.452 MB / 0.6233 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.5386, allocations: 455.5 kB / 0.6237 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008293/0.5395, allocations: 222.8 kB / 0.6239 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007793/0.5403, allocations: 472.9 kB / 0.6244 GB, free: 12.34 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5403, allocations: 8 kB / 0.6244 GB, free: 12.34 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07298/0.6132, allocations: 34.14 MB / 0.6577 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/16.63, allocations: 3.984 kB / 0.6577 GB, free: 10.5 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.31287372193765] Failed to read output from testmodel.py, exit status != 0: 16.829891765024513 16.851412906 16.429341457 Calling exit ...