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.001279/0.001279, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0015/0.0015, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.789 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.1385/0.1385, allocations: 23.99 MB / 336.4 MB, free: 10.94 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.002053/0.002053, allocations: 67.89 kB / 471.3 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3217, allocations: 59.88 MB / 0.5187 GB, free: 9.422 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.0708/0.3925, allocations: 26.21 MB / 0.5443 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.4133, allocations: 14.7 MB / 0.5587 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.4148, allocations: 19.81 kB / 0.5587 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.4159, allocations: 305.1 kB / 0.559 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005049/0.4209, allocations: 1.471 MB / 0.5604 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00785/0.4288, allocations: 2.023 MB / 0.5624 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004521/0.4333, allocations: 1.554 MB / 0.5639 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.4349, allocations: 0.6868 MB / 0.5646 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.4362, allocations: 0.7871 MB / 0.5654 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.4378, allocations: 0.7785 MB / 0.5661 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.4381, allocations: 136 kB / 0.5663 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006402/0.4445, allocations: 1.696 MB / 0.5679 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.445, allocations: 331 kB / 0.5682 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009013/0.4459, allocations: 0.5797 MB / 0.5688 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009547/0.4554, allocations: 3.436 MB / 0.5722 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4554, allocations: 0 / 0.5722 GB, free: 2.977 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4554, allocations: 4 kB / 0.5722 GB, free: 2.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.715e-05/0.4554, allocations: 0 / 0.5722 GB, free: 2.973 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.003547/0.459, allocations: 1.769 MB / 0.5739 GB, free: 1.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.459, allocations: 8.031 kB / 0.5739 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.4593, allocations: 165.1 kB / 0.574 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.4605, allocations: 275.7 kB / 0.5743 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.4617, allocations: 0.6204 MB / 0.5749 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.4619, allocations: 138.1 kB / 0.5751 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.4621, allocations: 112.3 kB / 0.5752 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.4644, allocations: 1.337 MB / 0.5765 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.4644, allocations: 0 / 0.5765 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.4645, allocations: 44 kB / 0.5765 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.4645, allocations: 28 kB / 0.5765 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/0.4674, allocations: 1.679 MB / 0.5782 GB, free: 12.67 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.007065/0.4744, allocations: 3.522 MB / 0.5816 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/0.478, allocations: 1.871 MB / 0.5834 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008873/0.4789, allocations: 0.5455 MB / 0.584 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006273/0.4852, allocations: 2.775 MB / 0.5867 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4852, allocations: 43.2 kB / 0.5867 GB, free: 3.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.805e-06/0.4852, allocations: 4 kB / 0.5867 GB, free: 3.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01473/0.4999, allocations: 3.433 MB / 0.5901 GB, free: 312 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.5, allocations: 60.41 kB / 0.5901 GB, free: 240 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.5008, allocations: 0.6133 MB / 0.5907 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/0.5009, allocations: 41.7 kB / 0.5908 GB, free: 15.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004213/0.5013, allocations: 0.5467 MB / 0.5913 GB, free: 15.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.5017, allocations: 349 kB / 0.5916 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.502, allocations: 234.8 kB / 0.5919 GB, free: 14.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.5022, allocations: 394.7 kB / 0.5922 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/0.5029, allocations: 358.5 kB / 0.5926 GB, free: 13.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.504, allocations: 0.7516 MB / 0.5933 GB, free: 12.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.506, allocations: 1.196 MB / 0.5945 GB, free: 11.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.506, allocations: 7.938 kB / 0.5945 GB, free: 11.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004157/0.5102, allocations: 1.475 MB / 0.5959 GB, free: 9.883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.5102, allocations: 11.98 kB / 0.5959 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.5102, allocations: 16 kB / 0.596 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/0.5122, allocations: 241.9 kB / 0.5962 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.5138, allocations: 331.5 kB / 0.5965 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/0.5196, allocations: 3.631 MB / 0.6001 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/0.5204, allocations: 40 kB / 0.6001 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.5206, allocations: 71.98 kB / 0.6002 GB, free: 5.324 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.000511/0.5211, allocations: 277.3 kB / 0.6004 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.5213, allocations: 87.44 kB / 0.6005 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.5253, allocations: 1.34 MB / 0.6018 GB, free: 3.602 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.5253, allocations: 12 kB / 0.6018 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5253, allocations: 0 / 0.6018 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.5254, allocations: 3.984 kB / 0.6018 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.5268, allocations: 0.9165 MB / 0.6027 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.5268, allocations: 0 / 0.6027 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.5281, allocations: 223.8 kB / 0.6029 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/0.5299, allocations: 225.5 kB / 0.6032 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.731e-05/0.53, allocations: 35.92 kB / 0.6032 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/0.5353, allocations: 3.526 MB / 0.6066 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5353, allocations: 4.031 kB / 0.6066 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/0.5398, allocations: 1.752 MB / 0.6083 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002558/0.5401, allocations: 79.48 kB / 0.6084 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.5402, allocations: 16 kB / 0.6084 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.5407, allocations: 20 kB / 0.6085 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.5409, allocations: 88.78 kB / 0.6085 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/0.541, allocations: 39.98 kB / 0.6086 GB, free: 12.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005496/0.5415, allocations: 387.1 kB / 0.6089 GB, free: 11.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5415, allocations: 4 kB / 0.609 GB, free: 11.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002063/0.5436, allocations: 0.6779 MB / 0.6096 GB, free: 11.29 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.006561/0.5502, allocations: 3.019 MB / 0.6126 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.5526, allocations: 1.188 MB / 0.6137 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5526, allocations: 0 / 0.6137 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.5537, allocations: 0.6941 MB / 0.6144 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001161/0.5549, allocations: 213.1 kB / 0.6146 GB, free: 6.082 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.5713, allocations: 8.441 MB / 0.6228 GB, free: 13.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005167/0.5718, allocations: 455.5 kB / 0.6233 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000866/0.5727, allocations: 226.6 kB / 0.6235 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/0.5734, allocations: 470 kB / 0.6239 GB, free: 11.98 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5734, allocations: 0 / 0.6239 GB, free: 11.98 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08333/0.6567, allocations: 34.09 MB / 0.6572 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.34, allocations: 6.203 kB / 0.6572 GB, free: 10.18 MB / 0.4981 GB " [Timeout remaining time 645] (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: 18.095582579728216] Failed to read output from testmodel.py, exit status != 0: 15.485003984067589 15.508040785 15.048233686 Calling exit ...