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.001498/0.001498, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001708/0.001708, allocations: 215.8 kB / 22.25 MB, free: 5.125 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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.1275/0.1275, allocations: 23.89 MB / 336.3 MB, free: 11.19 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.001901/0.001901, allocations: 63.91 kB / 471.2 MB, free: 7.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2747, allocations: 59.87 MB / 0.5187 GB, free: 9.605 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.03364/0.3083, allocations: 26.68 MB / 0.5447 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.3287, allocations: 16.79 MB / 0.5611 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007252/0.3294, allocations: 19.81 kB / 0.5611 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008643/0.3303, allocations: 332.6 kB / 0.5614 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.3338, allocations: 1.51 MB / 0.5629 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.339, allocations: 2.026 MB / 0.5649 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001889/0.3409, allocations: 1.551 MB / 0.5664 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008291/0.3417, allocations: 0.6942 MB / 0.5671 GB, free: 8.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008168/0.3426, allocations: 0.777 MB / 0.5678 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.3437, allocations: 0.8721 MB / 0.5687 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.3439, allocations: 136 kB / 0.5688 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.3484, allocations: 1.806 MB / 0.5706 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.3487, allocations: 323.1 kB / 0.5709 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006474/0.3493, allocations: 0.6884 MB / 0.5716 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005338/0.3546, allocations: 3.447 MB / 0.5749 GB, free: 428 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3546, allocations: 4 kB / 0.5749 GB, free: 424 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3547, allocations: 0 / 0.5749 GB, free: 424 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3547, allocations: 0 / 0.5749 GB, free: 424 kB / 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.00323/0.3579, allocations: 1.773 MB / 0.5767 GB, free: 14.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3579, allocations: 8.031 kB / 0.5767 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/0.3581, allocations: 169 kB / 0.5768 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.3593, allocations: 267.8 kB / 0.5771 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3604, allocations: 0.6204 MB / 0.5777 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.3605, allocations: 138.1 kB / 0.5778 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.3607, allocations: 116.3 kB / 0.5779 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.3627, allocations: 1.341 MB / 0.5793 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3627, allocations: 0 / 0.5793 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.3628, allocations: 43.94 kB / 0.5793 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3629, allocations: 28 kB / 0.5793 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.3655, allocations: 1.695 MB / 0.581 GB, free: 10.09 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.006496/0.372, allocations: 4.253 MB / 0.5851 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.3753, allocations: 1.91 MB / 0.587 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008243/0.3761, allocations: 0.5299 MB / 0.5875 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005892/0.382, allocations: 2.939 MB / 0.5904 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3821, allocations: 39.22 kB / 0.5904 GB, free: 176 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.3821, allocations: 0 / 0.5904 GB, free: 176 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01486/0.3969, allocations: 3.437 MB / 0.5938 GB, free: 12.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.397, allocations: 60.41 kB / 0.5938 GB, free: 12.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.3977, allocations: 0.5862 MB / 0.5944 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/0.3977, allocations: 41.7 kB / 0.5944 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.3981, allocations: 0.5506 MB / 0.595 GB, free: 11.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.3984, allocations: 345.1 kB / 0.5953 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003204/0.3988, allocations: 242.8 kB / 0.5955 GB, free: 10.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.399, allocations: 398.7 kB / 0.5959 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006259/0.3996, allocations: 354.5 kB / 0.5963 GB, free: 10.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009606/0.4005, allocations: 0.7516 MB / 0.597 GB, free: 9.168 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.4022, allocations: 1.2 MB / 0.5982 GB, free: 7.789 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.4022, allocations: 4 kB / 0.5982 GB, free: 7.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004003/0.4062, allocations: 1.475 MB / 0.5996 GB, free: 6.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4063, allocations: 12 kB / 0.5996 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.4063, allocations: 12 kB / 0.5996 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.4083, allocations: 241.9 kB / 0.5999 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.4096, allocations: 327.5 kB / 0.6002 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/0.4152, allocations: 3.675 MB / 0.6038 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.4159, allocations: 40 kB / 0.6038 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.416, allocations: 67.98 kB / 0.6039 GB, free: 1.707 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.000418/0.4165, allocations: 273.5 kB / 0.6041 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.4166, allocations: 95.33 kB / 0.6042 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004072/0.4207, allocations: 1.332 MB / 0.6055 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.4207, allocations: 15.98 kB / 0.6055 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4207, allocations: 0 / 0.6055 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.4207, allocations: 3.984 kB / 0.6055 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.4221, allocations: 1.045 MB / 0.6066 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.4221, allocations: 0 / 0.6066 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/0.4233, allocations: 215.8 kB / 0.6068 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.4252, allocations: 221.6 kB / 0.607 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.4253, allocations: 39.92 kB / 0.607 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005053/0.4303, allocations: 3.561 MB / 0.6105 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4303, allocations: 3.984 kB / 0.6105 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/0.4347, allocations: 1.74 MB / 0.6122 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.4348, allocations: 83.44 kB / 0.6123 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.435, allocations: 20 kB / 0.6123 GB, free: 8.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.4355, allocations: 20 kB / 0.6123 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.4356, allocations: 96.72 kB / 0.6124 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.4357, allocations: 39.98 kB / 0.6124 GB, free: 8.562 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004435/0.4361, allocations: 391 kB / 0.6128 GB, free: 8.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4361, allocations: 0 / 0.6128 GB, free: 8.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001771/0.4379, allocations: 0.6818 MB / 0.6135 GB, free: 7.504 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.005855/0.4438, allocations: 3.006 MB / 0.6164 GB, free: 4.453 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.4458, allocations: 1.208 MB / 0.6176 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4458, allocations: 0 / 0.6176 GB, free: 3.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.4469, allocations: 0.6941 MB / 0.6183 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009188/0.4478, allocations: 206.5 kB / 0.6185 GB, free: 2.297 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.4628, allocations: 8.449 MB / 0.6267 GB, free: 9.344 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.4634, allocations: 1.038 MB / 0.6277 GB, free: 8.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007353/0.4642, allocations: 222.8 kB / 0.6279 GB, free: 8.059 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/0.4648, allocations: 484.3 kB / 0.6284 GB, free: 7.594 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4648, allocations: 0 / 0.6284 GB, free: 7.594 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07746/0.5423, allocations: 33.63 MB / 0.6613 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.28, allocations: 7.938 kB / 0.6613 GB, free: 6.16 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 sys.exit(0), Time elapsed: 17.853127214002598] Failed to read output from testmodel.py, exit status != 0: 15.413752094005758 15.433625748 15.075140283 Calling exit ...