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.001867/0.001867, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002591/0.002591, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.504/1.504, 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.1463/0.1463, allocations: 23.89 MB / 336.3 MB, free: 10.97 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.002166/0.002166, allocations: 64.19 kB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3311, allocations: 59.85 MB / 0.5185 GB, free: 9.59 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.07133/0.4024, allocations: 26.22 MB / 0.5441 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02183/0.4242, allocations: 14.7 MB / 0.5585 GB, free: 28 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.4254, allocations: 19.88 kB / 0.5585 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.4265, allocations: 311.8 kB / 0.5588 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004968/0.4315, allocations: 1.468 MB / 0.5602 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006637/0.4381, allocations: 2.022 MB / 0.5622 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.4408, allocations: 1.542 MB / 0.5637 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.4419, allocations: 0.6932 MB / 0.5644 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.4429, allocations: 0.7863 MB / 0.5652 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.4442, allocations: 0.7784 MB / 0.5659 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.4444, allocations: 136 kB / 0.5661 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00716/0.4516, allocations: 1.708 MB / 0.5677 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.452, allocations: 327 kB / 0.568 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008555/0.4529, allocations: 0.5759 MB / 0.5686 GB, free: 6.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008172/0.461, allocations: 3.436 MB / 0.572 GB, free: 3.184 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.461, allocations: 0 / 0.572 GB, free: 3.184 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.461, allocations: 0 / 0.572 GB, free: 3.184 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.4611, allocations: 0 / 0.572 GB, free: 3.184 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.003439/0.4645, allocations: 1.777 MB / 0.5737 GB, free: 1.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4645, allocations: 8.031 kB / 0.5737 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/0.4648, allocations: 169 kB / 0.5739 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.466, allocations: 279.5 kB / 0.5741 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.4672, allocations: 0.6127 MB / 0.5747 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4673, allocations: 134.1 kB / 0.5748 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002211/0.4675, allocations: 124.2 kB / 0.575 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.4698, allocations: 1.333 MB / 0.5763 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.4699, allocations: 0 / 0.5763 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.47, allocations: 44 kB / 0.5763 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.47, allocations: 28 kB / 0.5763 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/0.4728, allocations: 1.671 MB / 0.578 GB, free: 12.88 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.00674/0.4795, allocations: 3.519 MB / 0.5814 GB, free: 9.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003592/0.4831, allocations: 1.879 MB / 0.5832 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008871/0.484, allocations: 0.5299 MB / 0.5838 GB, free: 6.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006332/0.4904, allocations: 2.802 MB / 0.5865 GB, free: 4.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.4904, allocations: 39.22 kB / 0.5865 GB, free: 3.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/0.4904, allocations: 0 / 0.5865 GB, free: 3.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01482/0.5052, allocations: 3.428 MB / 0.5899 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.5053, allocations: 64.39 kB / 0.5899 GB, free: 444 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007909/0.5061, allocations: 0.6055 MB / 0.5905 GB, free: 15.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.5061, allocations: 41.7 kB / 0.5906 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.5066, allocations: 0.5545 MB / 0.5911 GB, free: 15.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.5069, allocations: 349.1 kB / 0.5914 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.5072, allocations: 226.8 kB / 0.5917 GB, free: 14.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.5074, allocations: 398.7 kB / 0.592 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.5081, allocations: 358.5 kB / 0.5924 GB, free: 13.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.5091, allocations: 0.7477 MB / 0.5931 GB, free: 12.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001897/0.511, allocations: 1.208 MB / 0.5943 GB, free: 11.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.511, allocations: 4 kB / 0.5943 GB, free: 11.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004265/0.5153, allocations: 1.467 MB / 0.5957 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.5153, allocations: 12 kB / 0.5957 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5153, allocations: 20.06 kB / 0.5958 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/0.5173, allocations: 245.5 kB / 0.596 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.5188, allocations: 327.5 kB / 0.5963 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.5249, allocations: 3.632 MB / 0.5999 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.5259, allocations: 44.17 kB / 0.5999 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.526, allocations: 64.05 kB / 0.6 GB, free: 5.531 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.0006206/0.5266, allocations: 285.3 kB / 0.6002 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.5268, allocations: 91.44 kB / 0.6003 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004179/0.531, allocations: 1.324 MB / 0.6016 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.531, allocations: 8 kB / 0.6016 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.531, allocations: 0 / 0.6016 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.531, allocations: 11.97 kB / 0.6016 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001597/0.5326, allocations: 0.9205 MB / 0.6025 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5327, allocations: 4 kB / 0.6025 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.5339, allocations: 215.8 kB / 0.6027 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/0.5357, allocations: 233.5 kB / 0.603 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/0.5358, allocations: 31.92 kB / 0.603 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005479/0.5413, allocations: 3.534 MB / 0.6064 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5413, allocations: 0 / 0.6064 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.5459, allocations: 1.733 MB / 0.6081 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.5462, allocations: 79.48 kB / 0.6082 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.5463, allocations: 24 kB / 0.6082 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005252/0.5468, allocations: 23.98 kB / 0.6083 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.547, allocations: 84.73 kB / 0.6083 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.758e-05/0.5471, allocations: 39.98 kB / 0.6084 GB, free: 12.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005572/0.5477, allocations: 395.1 kB / 0.6088 GB, free: 12.17 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5477, allocations: 0 / 0.6088 GB, free: 12.17 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002253/0.5499, allocations: 0.6779 MB / 0.6094 GB, free: 11.49 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.006862/0.5568, allocations: 3.018 MB / 0.6124 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.5592, allocations: 1.184 MB / 0.6135 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.5592, allocations: 0 / 0.6135 GB, free: 7.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.5604, allocations: 0.6991 MB / 0.6142 GB, free: 6.496 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.5615, allocations: 210.9 kB / 0.6144 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.5783, allocations: 8.452 MB / 0.6227 GB, free: 13.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.5788, allocations: 455.5 kB / 0.6231 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009123/0.5797, allocations: 226.7 kB / 0.6233 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/0.5805, allocations: 481.4 kB / 0.6238 GB, free: 12.17 MB / 478.1 MB Notification: Performance of SimCode: time 1.193e-06/0.5805, allocations: 0 / 0.6238 GB, free: 12.17 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.084/0.6645, allocations: 34.08 MB / 0.657 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.35, allocations: 4 kB / 0.6571 GB, free: 10.38 MB / 0.4981 GB " [Timeout remaining time 644] (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: 18.18495311914012] Failed to read output from testmodel.py, exit status != 0: 15.502539991866797 15.526878931 15.06126331 Calling exit ...