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.001298/0.001298, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001887/0.001887, allocations: 216 kB / 22.25 MB, free: 5.102 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.809 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.1351/0.1351, allocations: 23.93 MB / 336.4 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_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.002807/0.002807, allocations: 63.91 kB / 471.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.358, allocations: 59.87 MB / 0.5186 GB, free: 9.57 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.06773/0.4257, allocations: 26.13 MB / 0.5441 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02016/0.4459, allocations: 14.72 MB / 0.5585 GB, free: 24 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.4469, allocations: 15.88 kB / 0.5585 GB, free: 8 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.448, allocations: 312.3 kB / 0.5588 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005342/0.4534, allocations: 1.468 MB / 0.5602 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005761/0.4591, allocations: 2.03 MB / 0.5622 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.4614, allocations: 1.543 MB / 0.5637 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009546/0.4623, allocations: 0.6967 MB / 0.5644 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008291/0.4632, allocations: 0.7871 MB / 0.5652 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.4643, allocations: 0.8683 MB / 0.566 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.4645, allocations: 136 kB / 0.5662 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.4691, allocations: 1.736 MB / 0.5679 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.4694, allocations: 327 kB / 0.5682 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.47, allocations: 0.5875 MB / 0.5687 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005797/0.4758, allocations: 3.44 MB / 0.5721 GB, free: 3.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4758, allocations: 0 / 0.5721 GB, free: 3.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4758, allocations: 0 / 0.5721 GB, free: 3.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.4758, allocations: 0 / 0.5721 GB, free: 3.004 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.003221/0.479, allocations: 1.769 MB / 0.5738 GB, free: 1.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4791, allocations: 8.031 kB / 0.5738 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.4793, allocations: 169 kB / 0.574 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.4804, allocations: 275.8 kB / 0.5743 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.4815, allocations: 0.6088 MB / 0.5749 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.4817, allocations: 138.2 kB / 0.575 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.4819, allocations: 120.3 kB / 0.5751 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.4839, allocations: 1.337 MB / 0.5764 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.4839, allocations: 0 / 0.5764 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.484, allocations: 48 kB / 0.5765 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.4841, allocations: 24 kB / 0.5765 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.4867, allocations: 1.675 MB / 0.5781 GB, free: 12.71 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.006405/0.4931, allocations: 3.522 MB / 0.5816 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/0.4965, allocations: 1.882 MB / 0.5834 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.4973, allocations: 0.5299 MB / 0.5839 GB, free: 6.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006232/0.5036, allocations: 2.795 MB / 0.5866 GB, free: 3.848 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.5036, allocations: 43.22 kB / 0.5867 GB, free: 3.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.334e-06/0.5036, allocations: 0 / 0.5867 GB, free: 3.797 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0136/0.5172, allocations: 3.422 MB / 0.59 GB, free: 344 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.5173, allocations: 60.41 kB / 0.5901 GB, free: 272 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008404/0.5181, allocations: 0.6171 MB / 0.5907 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.5182, allocations: 41.7 kB / 0.5907 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.5186, allocations: 0.5467 MB / 0.5913 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.5189, allocations: 349.1 kB / 0.5916 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003353/0.5192, allocations: 234.8 kB / 0.5918 GB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.5195, allocations: 398.7 kB / 0.5922 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.5201, allocations: 358.5 kB / 0.5925 GB, free: 13.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009873/0.5211, allocations: 0.7399 MB / 0.5933 GB, free: 12.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.5229, allocations: 1.204 MB / 0.5944 GB, free: 11.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.5229, allocations: 4 kB / 0.5944 GB, free: 11.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003849/0.5267, allocations: 1.474 MB / 0.5959 GB, free: 9.914 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.5268, allocations: 8 kB / 0.5959 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.5268, allocations: 16.84 kB / 0.5959 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.5285, allocations: 245.5 kB / 0.5961 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.53, allocations: 327.5 kB / 0.5964 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/0.5355, allocations: 3.632 MB / 0.6 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007868/0.5363, allocations: 40 kB / 0.6 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.5364, allocations: 67.98 kB / 0.6001 GB, free: 5.359 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.0004685/0.5369, allocations: 277.5 kB / 0.6004 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.5371, allocations: 87.44 kB / 0.6004 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0038/0.5409, allocations: 1.332 MB / 0.6017 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.5409, allocations: 12 kB / 0.6018 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.5409, allocations: 0 / 0.6018 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.5409, allocations: 4.125 kB / 0.6018 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.5423, allocations: 0.9244 MB / 0.6027 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5423, allocations: 0 / 0.6027 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.5435, allocations: 215.9 kB / 0.6029 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.5452, allocations: 241.3 kB / 0.6031 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.298e-05/0.5452, allocations: 31.92 kB / 0.6031 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004937/0.5502, allocations: 3.534 MB / 0.6066 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5502, allocations: 32 / 0.6066 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/0.5543, allocations: 1.74 MB / 0.6083 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.5545, allocations: 83.42 kB / 0.6084 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5546, allocations: 16 kB / 0.6084 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.5551, allocations: 24 kB / 0.6084 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.5553, allocations: 92.72 kB / 0.6085 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.5553, allocations: 39.98 kB / 0.6085 GB, free: 12.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000494/0.5558, allocations: 391.1 kB / 0.6089 GB, free: 11.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5558, allocations: 0 / 0.6089 GB, free: 11.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001951/0.5578, allocations: 0.6779 MB / 0.6096 GB, free: 11.31 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.00587/0.5636, allocations: 3.007 MB / 0.6125 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002184/0.5658, allocations: 1.192 MB / 0.6137 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5658, allocations: 0 / 0.6137 GB, free: 7.043 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5669, allocations: 0.6902 MB / 0.6143 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.5679, allocations: 217.6 kB / 0.6145 GB, free: 6.117 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.5831, allocations: 8.449 MB / 0.6228 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004998/0.5836, allocations: 455.5 kB / 0.6232 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007841/0.5844, allocations: 230.7 kB / 0.6234 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/0.5851, allocations: 480.1 kB / 0.6239 GB, free: 12 MB / 478.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5851, allocations: 0 / 0.6239 GB, free: 12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07673/0.6618, allocations: 34.45 MB / 0.6575 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.31, allocations: 7.859 kB / 0.6576 GB, free: 9.832 MB / 0.4981 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_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: 16.98796743300045] Failed to read output from testmodel.py, exit status != 0: 14.447815899009584 14.47356749 13.992654053 Calling exit ...