Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.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.001609/0.001609, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.0017/0.0017, allocations: 221.5 kB / 22.25 MB, free: 5.258 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.82 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.1323/0.1323, allocations: 23.89 MB / 336.3 MB, free: 10.99 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.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HydrogenCombustion",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.002733/0.002733, allocations: 64.19 kB / 471.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3878, allocations: 59.86 MB / 0.5185 GB, free: 9.598 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.HydrogenCombustion): time 0.07621/0.464, allocations: 28.56 MB / 0.5464 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1823/0.6464, allocations: 134.4 MB / 0.6776 GB, free: 6.559 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/0.6495, allocations: 39.69 kB / 0.6777 GB, free: 6.52 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/0.6519, allocations: 488.2 kB / 0.6782 GB, free: 6.039 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.6589, allocations: 1.648 MB / 0.6798 GB, free: 4.379 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.009897/0.6688, allocations: 3.015 MB / 0.6827 GB, free: 1.348 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.005093/0.6739, allocations: 2.601 MB / 0.6852 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/0.676, allocations: 1.233 MB / 0.6865 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.6787, allocations: 1.274 MB / 0.6877 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.6816, allocations: 1.417 MB / 0.6891 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005036/0.6821, allocations: 228 kB / 0.6893 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007719/0.6898, allocations: 2.262 MB / 0.6915 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.6909, allocations: 0.5724 MB / 0.6921 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00214/0.6931, allocations: 0.9841 MB / 0.693 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.7057, allocations: 5.122 MB / 0.698 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7057, allocations: 0 / 0.698 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7057, allocations: 0 / 0.698 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.684e-05/0.7057, allocations: 0 / 0.698 GB, free: 1.566 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 492 * Number of variables: 492 Notification: Performance of Generate backend data structure: time 0.005483/0.7112, allocations: 2.83 MB / 0.7008 GB, free: 14.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.7113, allocations: 8.031 kB / 0.7008 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003389/0.7116, allocations: 274.6 kB / 0.7011 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004165/0.7158, allocations: 0.8659 MB / 0.7019 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.7178, allocations: 0.9095 MB / 0.7028 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.718, allocations: 255.2 kB / 0.703 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/0.7184, allocations: 196.3 kB / 0.7032 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/0.722, allocations: 2.152 MB / 0.7053 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/0.722, allocations: 3.938 kB / 0.7053 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/0.7222, allocations: 80 kB / 0.7054 GB, free: 9.855 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.7223, allocations: 48 kB / 0.7055 GB, free: 9.809 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/0.7263, allocations: 2.284 MB / 0.7077 GB, free: 7.523 MB / 0.545 GB 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.0124/0.7387, allocations: 6.06 MB / 0.7136 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004054/0.7427, allocations: 1.564 MB / 0.7151 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.744, allocations: 0.7351 MB / 0.7158 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00781/0.7518, allocations: 3.926 MB / 0.7197 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.7519, allocations: 43.88 kB / 0.7197 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.126e-06/0.7519, allocations: 4 kB / 0.7197 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.0175/0.7694, allocations: 6.522 MB / 0.7261 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.7694, allocations: 95.11 kB / 0.7262 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.7707, allocations: 0.9922 MB / 0.7272 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.7708, allocations: 53.7 kB / 0.7272 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006547/0.7715, allocations: 0.9026 MB / 0.7281 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.7721, allocations: 0.6235 MB / 0.7287 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/0.7726, allocations: 407.5 kB / 0.7291 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7728, allocations: 301.1 kB / 0.7294 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.7739, allocations: 0.6248 MB / 0.73 GB, free: 320 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2602/1.034, allocations: 1.193 MB / 0.7311 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/1.037, allocations: 1.986 MB / 0.7331 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/1.037, allocations: 7.781 kB / 0.7331 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005113/1.042, allocations: 2.573 MB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/1.042, allocations: 16.36 kB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/1.042, allocations: 17.28 kB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/1.044, allocations: 0.5953 MB / 0.7362 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/1.046, allocations: 490.8 kB / 0.7367 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/1.055, allocations: 8.891 MB / 0.7454 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/1.056, allocations: 68.62 kB / 0.7454 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003238/1.056, allocations: 158.5 kB / 0.7456 GB, free: 174.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,10), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008799/1.057, allocations: 434.8 kB / 0.746 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/1.058, allocations: 153.6 kB / 0.7461 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/1.063, allocations: 2.621 MB / 0.7487 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/1.063, allocations: 20.88 kB / 0.7487 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/1.063, allocations: 7.656 kB / 0.7487 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.063, allocations: 9.328 kB / 0.7487 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006728/1.07, allocations: 3.891 MB / 0.7525 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/1.07, allocations: 1 kB / 0.7525 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.072, allocations: 379 kB / 0.7529 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00183/1.074, allocations: 0.497 MB / 0.7534 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/1.074, allocations: 74.67 kB / 0.7535 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005045/1.079, allocations: 6.333 MB / 0.7596 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.079, allocations: 1.031 kB / 0.7596 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005574/1.084, allocations: 3.144 MB / 0.7627 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/1.085, allocations: 141 kB / 0.7629 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.085, allocations: 38.14 kB / 0.7629 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/1.086, allocations: 38.59 kB / 0.7629 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003688/1.086, allocations: 175 kB / 0.7631 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.086, allocations: 126.5 kB / 0.7632 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008238/1.087, allocations: 0.6217 MB / 0.7638 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.087, allocations: 0 / 0.7638 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003741/1.091, allocations: 0.8325 MB / 0.7646 GB, free: 164.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (H2_gas.logn,O2_gas.logn,H2O_gas.molarVolume,H2O_gas.logn,H2_gas1.logn,O2_gas1.logn,H2O_gas1.molarVolume,H2O_gas1.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 (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,6,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006963/1.098, allocations: 4.418 MB / 0.7689 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003854/1.102, allocations: 2.329 MB / 0.7712 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.102, allocations: 0 / 0.7712 GB, free: 161 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/1.104, allocations: 1.317 MB / 0.7725 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.105, allocations: 305.1 kB / 0.7728 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/1.125, allocations: 14.14 MB / 0.7866 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/1.126, allocations: 0.8242 MB / 0.7874 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001401/1.127, allocations: 440.4 kB / 0.7878 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.128, allocations: 0.8922 MB / 0.7887 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.133e-06/1.128, allocations: 6.594 kB / 0.7887 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09007/1.218, allocations: 52.38 MB / 0.8399 GB, free: 94.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.67, allocations: 2.812 kB / 0.8399 GB, free: 94.93 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.HydrogenCombustion_res.csv --start-time 0 --stop-time 0.39 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000156 Chemical_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.47031298201182] Failed to read output from testmodel.py, exit status != 0: 15.827748940006131 15.847551058 15.137956177 Calling exit ...