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.00138/0.00138, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001445/0.001445, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1366/0.1366, allocations: 23.85 MB / 332.7 MB, free: 12.35 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.002007/0.002007, allocations: 67.91 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2843, allocations: 59.81 MB / 0.5135 GB, free: 8.82 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.03507/0.3193, allocations: 26.47 MB / 0.5393 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.3412, allocations: 16.76 MB / 0.5557 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008707/0.342, allocations: 15.88 kB / 0.5557 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009383/0.343, allocations: 340.5 kB / 0.556 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.3471, allocations: 1.492 MB / 0.5575 GB, free: 13.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005464/0.3526, allocations: 1.998 MB / 0.5594 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.355, allocations: 1.554 MB / 0.5609 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.3561, allocations: 0.7061 MB / 0.5616 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009567/0.357, allocations: 0.7806 MB / 0.5624 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.3583, allocations: 0.8681 MB / 0.5632 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002247/0.3585, allocations: 136 kB / 0.5634 GB, free: 8.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005615/0.3641, allocations: 1.806 MB / 0.5651 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.3645, allocations: 331 kB / 0.5655 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007888/0.3653, allocations: 0.6806 MB / 0.5661 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00778/0.3731, allocations: 3.444 MB / 0.5695 GB, free: 1.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.3731, allocations: 4 kB / 0.5695 GB, free: 1.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3731, allocations: 0 / 0.5695 GB, free: 1.918 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.3731, allocations: 0 / 0.5695 GB, free: 1.918 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.00366/0.3768, allocations: 1.852 MB / 0.5713 GB, free: 8 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.3769, allocations: 12.08 kB / 0.5713 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.3771, allocations: 165 kB / 0.5715 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3784, allocations: 279.5 kB / 0.5717 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.3795, allocations: 0.6808 MB / 0.5724 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.3796, allocations: 112.4 kB / 0.5725 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.3798, allocations: 112.3 kB / 0.5726 GB, free: 14.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.3821, allocations: 1.333 MB / 0.5739 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.3822, allocations: 3.938 kB / 0.5739 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.3823, allocations: 44 kB / 0.574 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.3823, allocations: 31.94 kB / 0.574 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002874/0.3852, allocations: 1.691 MB / 0.5756 GB, free: 11.45 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.007272/0.3925, allocations: 4.296 MB / 0.5798 GB, free: 6.941 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003909/0.3964, allocations: 2.219 MB / 0.582 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009233/0.3973, allocations: 0.5342 MB / 0.5825 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007676/0.405, allocations: 5.4 MB / 0.5878 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.405, allocations: 43.16 kB / 0.5878 GB, free: 14.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.765e-06/0.405, allocations: 0 / 0.5878 GB, free: 14.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01571/0.4207, allocations: 3.595 MB / 0.5913 GB, free: 10.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.4208, allocations: 60.41 kB / 0.5914 GB, free: 10.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007854/0.4216, allocations: 0.5823 MB / 0.592 GB, free: 9.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.4216, allocations: 49.7 kB / 0.592 GB, free: 9.648 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.422, allocations: 0.5428 MB / 0.5926 GB, free: 9.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.4224, allocations: 349.1 kB / 0.5929 GB, free: 8.754 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.4227, allocations: 234.8 kB / 0.5931 GB, free: 8.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4229, allocations: 398.7 kB / 0.5935 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006714/0.4236, allocations: 354.5 kB / 0.5938 GB, free: 7.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.4246, allocations: 0.7519 MB / 0.5946 GB, free: 6.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.4264, allocations: 1.204 MB / 0.5957 GB, free: 5.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4264, allocations: 4 kB / 0.5957 GB, free: 5.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004301/0.4307, allocations: 1.47 MB / 0.5972 GB, free: 3.969 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.4307, allocations: 10.66 kB / 0.5972 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4308, allocations: 12.91 kB / 0.5972 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00203/0.4328, allocations: 249.4 kB / 0.5974 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.4344, allocations: 331.5 kB / 0.5978 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006013/0.4404, allocations: 3.863 MB / 0.6015 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008861/0.4413, allocations: 44 kB / 0.6016 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4414, allocations: 67.98 kB / 0.6016 GB, free: 15.12 MB / 462.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.0004871/0.4419, allocations: 273.4 kB / 0.6019 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000206/0.4421, allocations: 91.39 kB / 0.602 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.4464, allocations: 1.339 MB / 0.6033 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.4465, allocations: 12.14 kB / 0.6033 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4465, allocations: 4 kB / 0.6033 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.4465, allocations: 7.969 kB / 0.6033 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.448, allocations: 1.058 MB / 0.6043 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.448, allocations: 4 kB / 0.6043 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.4493, allocations: 219.8 kB / 0.6046 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.4513, allocations: 229.5 kB / 0.6048 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.682e-05/0.4514, allocations: 35.92 kB / 0.6048 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/0.4569, allocations: 3.768 MB / 0.6085 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4569, allocations: 3.938 kB / 0.6085 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004717/0.4616, allocations: 1.744 MB / 0.6102 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.4618, allocations: 156.6 kB / 0.6103 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.4619, allocations: 20 kB / 0.6104 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.4625, allocations: 24.11 kB / 0.6104 GB, free: 5.723 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/0.4627, allocations: 88.83 kB / 0.6105 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/0.4628, allocations: 39.98 kB / 0.6105 GB, free: 5.594 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005018/0.4633, allocations: 387.1 kB / 0.6109 GB, free: 5.223 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4633, allocations: 3.938 kB / 0.6109 GB, free: 5.219 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002008/0.4653, allocations: 0.6818 MB / 0.6116 GB, free: 4.535 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.006536/0.4718, allocations: 3.006 MB / 0.6145 GB, free: 1.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.4742, allocations: 1.191 MB / 0.6156 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4742, allocations: 1.188 kB / 0.6157 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.4754, allocations: 0.6944 MB / 0.6163 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.4765, allocations: 206.2 kB / 0.6165 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.4929, allocations: 8.449 MB / 0.6248 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.4937, allocations: 1.038 MB / 0.6258 GB, free: 5.324 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008208/0.4945, allocations: 226.6 kB / 0.626 GB, free: 5.102 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007183/0.4952, allocations: 477.2 kB / 0.6265 GB, free: 4.641 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4952, allocations: 4 kB / 0.6265 GB, free: 4.637 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07424/0.5695, allocations: 32.68 MB / 0.6584 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/15.18, allocations: 7.031 kB / 0.6584 GB, free: 4.188 MB / 0.4981 GB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 17.907716649002396] Failed to read output from testmodel.py, exit status != 0: 15.294496280999738 15.315313573 14.937992492 Calling exit ...