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.001241/0.001241, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001369/0.001369, allocations: 217.6 kB / 22.26 MB, free: 5.113 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] 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.1267/0.1267, allocations: 23.85 MB / 336.3 MB, free: 11.23 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.001921/0.001921, allocations: 66.72 kB / 471.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2691, allocations: 59.86 MB / 0.5186 GB, free: 9.656 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.03351/0.3026, allocations: 26.67 MB / 0.5446 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02058/0.3232, allocations: 16.79 MB / 0.561 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008987/0.3241, allocations: 19.81 kB / 0.561 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009417/0.325, allocations: 340.7 kB / 0.5614 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.329, allocations: 1.502 MB / 0.5628 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005617/0.3346, allocations: 2.023 MB / 0.5648 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.337, allocations: 1.547 MB / 0.5663 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009554/0.338, allocations: 0.6982 MB / 0.567 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.3389, allocations: 0.7871 MB / 0.5678 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.3404, allocations: 0.8566 MB / 0.5686 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.3406, allocations: 136 kB / 0.5687 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00575/0.3464, allocations: 1.814 MB / 0.5705 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003674/0.3467, allocations: 323 kB / 0.5708 GB, free: 4.625 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007575/0.3475, allocations: 0.6845 MB / 0.5715 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006062/0.3535, allocations: 3.447 MB / 0.5749 GB, free: 488 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3536, allocations: 3.938 kB / 0.5749 GB, free: 484 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3536, allocations: 0 / 0.5749 GB, free: 484 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.235e-05/0.3536, allocations: 0 / 0.5749 GB, free: 484 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.003223/0.3568, allocations: 1.776 MB / 0.5766 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3568, allocations: 12.03 kB / 0.5766 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/0.357, allocations: 169 kB / 0.5768 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3583, allocations: 275.5 kB / 0.577 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3594, allocations: 0.6127 MB / 0.5776 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.3595, allocations: 134.1 kB / 0.5778 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.3598, allocations: 116.3 kB / 0.5779 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.3622, allocations: 1.337 MB / 0.5792 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.3622, allocations: 3.938 kB / 0.5792 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.3624, allocations: 47.94 kB / 0.5792 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.3624, allocations: 24 kB / 0.5792 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.3653, allocations: 1.695 MB / 0.5809 GB, free: 10.14 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.007092/0.3724, allocations: 4.249 MB / 0.585 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00366/0.3761, allocations: 1.914 MB / 0.5869 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000887/0.377, allocations: 0.5299 MB / 0.5874 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006334/0.3833, allocations: 2.935 MB / 0.5903 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.3833, allocations: 43.22 kB / 0.5903 GB, free: 232 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 1.863e-06/0.3833, allocations: 0 / 0.5903 GB, free: 232 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0145/0.3978, allocations: 3.444 MB / 0.5937 GB, free: 12.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.3979, allocations: 64.39 kB / 0.5938 GB, free: 12.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006765/0.3985, allocations: 0.5862 MB / 0.5943 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.3986, allocations: 37.7 kB / 0.5944 GB, free: 12.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.399, allocations: 0.5584 MB / 0.5949 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.3993, allocations: 341.1 kB / 0.5952 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.3996, allocations: 238.8 kB / 0.5955 GB, free: 10.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3998, allocations: 398.7 kB / 0.5959 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.4004, allocations: 358.5 kB / 0.5962 GB, free: 10.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009244/0.4013, allocations: 0.7438 MB / 0.5969 GB, free: 9.219 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.403, allocations: 1.208 MB / 0.5981 GB, free: 7.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.403, allocations: 4 kB / 0.5981 GB, free: 7.828 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00411/0.4071, allocations: 1.467 MB / 0.5995 GB, free: 6.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.4071, allocations: 14.34 kB / 0.5995 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.4071, allocations: 12 kB / 0.5996 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/0.4092, allocations: 246.1 kB / 0.5998 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.4106, allocations: 331.5 kB / 0.6001 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/0.4161, allocations: 3.656 MB / 0.6037 GB, free: 1.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/0.4168, allocations: 44.06 kB / 0.6037 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.4169, allocations: 67.98 kB / 0.6038 GB, free: 1.762 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.0004254/0.4174, allocations: 269.9 kB / 0.604 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.4175, allocations: 95.38 kB / 0.6041 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.4217, allocations: 1.35 MB / 0.6055 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.4217, allocations: 12 kB / 0.6055 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4217, allocations: 4 kB / 0.6055 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4217, allocations: 7.969 kB / 0.6055 GB, free: 8 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.4231, allocations: 1.03 MB / 0.6065 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4231, allocations: 0 / 0.6065 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.4244, allocations: 223.8 kB / 0.6067 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.4263, allocations: 229.6 kB / 0.6069 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/0.4264, allocations: 39.92 kB / 0.607 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/0.4314, allocations: 3.561 MB / 0.6104 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4314, allocations: 0 / 0.6104 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004388/0.4358, allocations: 1.74 MB / 0.6121 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.436, allocations: 79.45 kB / 0.6122 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.4361, allocations: 20 kB / 0.6122 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/0.4366, allocations: 27.98 kB / 0.6123 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.4367, allocations: 84.8 kB / 0.6123 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.4368, allocations: 43.92 kB / 0.6124 GB, free: 8.609 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004409/0.4373, allocations: 387.1 kB / 0.6127 GB, free: 8.238 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4373, allocations: 0 / 0.6127 GB, free: 8.238 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001782/0.439, allocations: 0.6818 MB / 0.6134 GB, free: 7.555 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.005994/0.445, allocations: 3.013 MB / 0.6164 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002028/0.4471, allocations: 1.188 MB / 0.6175 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4471, allocations: 0 / 0.6175 GB, free: 3.281 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.4481, allocations: 0.7026 MB / 0.6182 GB, free: 2.555 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009519/0.4491, allocations: 206.3 kB / 0.6184 GB, free: 2.352 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.4643, allocations: 8.445 MB / 0.6266 GB, free: 9.402 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.465, allocations: 1.038 MB / 0.6277 GB, free: 8.336 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008145/0.4658, allocations: 230.5 kB / 0.6279 GB, free: 8.109 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/0.4665, allocations: 477.5 kB / 0.6283 GB, free: 7.648 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4665, allocations: 0 / 0.6283 GB, free: 7.648 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0762/0.5427, allocations: 33.64 MB / 0.6612 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.34, allocations: 7.328 kB / 0.6612 GB, free: 6.211 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.887409177994414] Failed to read output from testmodel.py, exit status != 0: 15.476900319001288 15.495589395 15.139012999 Calling exit ...