Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001249/0.001249, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001382/0.001382, allocations: 222.1 kB / 22.25 MB, free: 5.254 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1305/0.1305, allocations: 23.89 MB / 336.3 MB, free: 10.95 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",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.002005/0.002005, allocations: 66.56 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2889, allocations: 59.85 MB / 0.5185 GB, free: 9.52 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.06662/0.3556, allocations: 26.14 MB / 0.5441 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.3754, allocations: 14.71 MB / 0.5584 GB, free: 80 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008348/0.3762, allocations: 19.81 kB / 0.5584 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.3771, allocations: 304.6 kB / 0.5587 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.381, allocations: 1.472 MB / 0.5602 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005815/0.3868, allocations: 2.022 MB / 0.5621 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.3894, allocations: 1.55 MB / 0.5637 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009648/0.3904, allocations: 0.701 MB / 0.5643 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008699/0.3913, allocations: 0.791 MB / 0.5651 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.3924, allocations: 0.8644 MB / 0.566 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002206/0.3926, allocations: 136 kB / 0.5661 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.3975, allocations: 1.739 MB / 0.5678 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.3978, allocations: 327 kB / 0.5681 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.3985, allocations: 0.5798 MB / 0.5687 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006506/0.405, allocations: 3.436 MB / 0.572 GB, free: 3.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.405, allocations: 0 / 0.572 GB, free: 3.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.405, allocations: 4 kB / 0.572 GB, free: 3.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.405, allocations: 0 / 0.572 GB, free: 3.07 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.0034/0.4084, allocations: 1.776 MB / 0.5738 GB, free: 1.254 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.4085, allocations: 12.03 kB / 0.5738 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.4087, allocations: 165 kB / 0.5739 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.4099, allocations: 275.5 kB / 0.5742 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4112, allocations: 0.6127 MB / 0.5748 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.4113, allocations: 134.1 kB / 0.5749 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.4115, allocations: 116.4 kB / 0.575 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.4137, allocations: 1.333 MB / 0.5763 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.4137, allocations: 7.938 kB / 0.5763 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.4138, allocations: 44 kB / 0.5764 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.4139, allocations: 28 kB / 0.5764 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.4165, allocations: 1.675 MB / 0.578 GB, free: 12.77 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.00639/0.4229, allocations: 3.515 MB / 0.5815 GB, free: 9.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003352/0.4262, allocations: 1.875 MB / 0.5833 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008432/0.4271, allocations: 0.5416 MB / 0.5838 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006071/0.4332, allocations: 2.791 MB / 0.5866 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4332, allocations: 43.22 kB / 0.5866 GB, free: 3.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.214e-06/0.4332, allocations: 4 kB / 0.5866 GB, free: 3.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01349/0.4467, allocations: 3.422 MB / 0.5899 GB, free: 404 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.4467, allocations: 68.34 kB / 0.59 GB, free: 324 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007244/0.4475, allocations: 0.6132 MB / 0.5906 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.141e-05/0.4475, allocations: 41.7 kB / 0.5906 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.4479, allocations: 0.5429 MB / 0.5912 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.4483, allocations: 349.1 kB / 0.5915 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.4486, allocations: 234.8 kB / 0.5917 GB, free: 14.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.4488, allocations: 398.7 kB / 0.5921 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006484/0.4495, allocations: 358.4 kB / 0.5925 GB, free: 13.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009915/0.4505, allocations: 0.7516 MB / 0.5932 GB, free: 12.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.4522, allocations: 1.2 MB / 0.5944 GB, free: 11.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4522, allocations: 4 kB / 0.5944 GB, free: 11.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003782/0.456, allocations: 1.471 MB / 0.5958 GB, free: 9.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.456, allocations: 14.66 kB / 0.5958 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.456, allocations: 12 kB / 0.5958 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.4578, allocations: 249.9 kB / 0.5961 GB, free: 9.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.4592, allocations: 327.5 kB / 0.5964 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/0.4645, allocations: 3.629 MB / 0.5999 GB, free: 5.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006855/0.4651, allocations: 44 kB / 0.6 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.4653, allocations: 63.98 kB / 0.6 GB, free: 5.414 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.0004178/0.4657, allocations: 273.4 kB / 0.6003 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.4658, allocations: 87.44 kB / 0.6004 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003842/0.4697, allocations: 1.34 MB / 0.6017 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.4697, allocations: 12 kB / 0.6017 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4697, allocations: 0 / 0.6017 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4697, allocations: 3.984 kB / 0.6017 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.4711, allocations: 0.9206 MB / 0.6026 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.4711, allocations: 0 / 0.6026 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.4723, allocations: 223.8 kB / 0.6028 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.474, allocations: 229.6 kB / 0.603 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.4741, allocations: 31.92 kB / 0.6031 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/0.4789, allocations: 3.53 MB / 0.6065 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4789, allocations: 4.031 kB / 0.6065 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.483, allocations: 1.74 MB / 0.6082 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.4832, allocations: 83.42 kB / 0.6083 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4833, allocations: 19.94 kB / 0.6083 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.4837, allocations: 27.98 kB / 0.6083 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.4839, allocations: 80.8 kB / 0.6084 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/0.484, allocations: 39.98 kB / 0.6084 GB, free: 12.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004404/0.4844, allocations: 395.1 kB / 0.6088 GB, free: 12.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4844, allocations: 4 kB / 0.6088 GB, free: 12.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001806/0.4862, allocations: 0.674 MB / 0.6095 GB, free: 11.37 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.005828/0.4921, allocations: 3.014 MB / 0.6124 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002115/0.4942, allocations: 1.196 MB / 0.6136 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4942, allocations: 0 / 0.6136 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.4953, allocations: 0.6902 MB / 0.6143 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009787/0.4962, allocations: 204.1 kB / 0.6145 GB, free: 6.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.5108, allocations: 8.456 MB / 0.6227 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.5113, allocations: 451.5 kB / 0.6232 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007802/0.5121, allocations: 234.7 kB / 0.6234 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/0.5127, allocations: 477.5 kB / 0.6238 GB, free: 12.05 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5127, allocations: 4 kB / 0.6238 GB, free: 12.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07436/0.5871, allocations: 34.45 MB / 0.6575 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.99, allocations: 3.859 kB / 0.6575 GB, free: 9.891 MB / 0.4981 GB " [Timeout remaining time 646] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.58349578900379] Failed to read output from testmodel.py, exit status != 0: 14.1194846869912 14.137837916 13.729243244 Calling exit ...