Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001722/0.001722, allocations: 106.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.002036/0.002036, 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.806/1.806, allocations: 230.6 MB / 252.8 MB, free: 8.938 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.1571/0.1571, allocations: 23.88 MB / 332.7 MB, free: 12.31 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.HydrogenCombustion,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_master_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.002767/0.002767, allocations: 63.91 kB / 466 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4582, allocations: 59.83 MB / 0.5135 GB, free: 8.836 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.HydrogenCombustion): time 0.05413/0.5123, allocations: 29.54 MB / 0.5424 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2234/0.7357, allocations: 156.5 MB / 0.6952 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/0.7378, allocations: 31.75 kB / 0.6953 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.74, allocations: 0.5194 MB / 0.6958 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006088/0.7461, allocations: 1.66 MB / 0.6974 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008948/0.755, allocations: 2.984 MB / 0.7003 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004535/0.7596, allocations: 2.625 MB / 0.7029 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.7619, allocations: 1.244 MB / 0.7041 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.7643, allocations: 1.274 MB / 0.7053 GB, free: 6.238 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.767, allocations: 1.417 MB / 0.7067 GB, free: 4.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008551/0.7679, allocations: 228 kB / 0.7069 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007882/0.7757, allocations: 2.391 MB / 0.7093 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/0.7768, allocations: 0.5647 MB / 0.7098 GB, free: 1.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.779, allocations: 1.182 MB / 0.711 GB, free: 456 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.7936, allocations: 5.126 MB / 0.716 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.7936, allocations: 0 / 0.716 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7936, allocations: 4 kB / 0.716 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001662/0.7938, allocations: 4 kB / 0.716 GB, free: 11.29 MB / 0.5606 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.00939/0.8032, allocations: 2.898 MB / 0.7188 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.8033, allocations: 12.03 kB / 0.7188 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008189/0.8041, allocations: 270.6 kB / 0.7191 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/0.8091, allocations: 0.8659 MB / 0.7199 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.8113, allocations: 0.9868 MB / 0.7209 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.8116, allocations: 203.8 kB / 0.7211 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004952/0.8121, allocations: 200.3 kB / 0.7213 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004743/0.8168, allocations: 2.156 MB / 0.7234 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.8169, allocations: 0 / 0.7234 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/0.8171, allocations: 80 kB / 0.7235 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.8171, allocations: 44 kB / 0.7235 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.8219, allocations: 2.307 MB / 0.7258 GB, free: 1.109 MB / 0.5606 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.3086/1.13, allocations: 7.646 MB / 0.7332 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004895/1.135, allocations: 2.245 MB / 0.7354 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001744/1.137, allocations: 0.7336 MB / 0.7361 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/1.148, allocations: 6.659 MB / 0.7426 GB, free: 177 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.148, allocations: 51.88 kB / 0.7427 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.547e-06/1.148, allocations: 0 / 0.7427 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.02098/1.169, allocations: 6.815 MB / 0.7493 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/1.169, allocations: 100.5 kB / 0.7494 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/1.171, allocations: 0.9493 MB / 0.7504 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002399/1.171, allocations: 59.58 kB / 0.7504 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006005/1.172, allocations: 0.9097 MB / 0.7513 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006162/1.172, allocations: 0.6185 MB / 0.7519 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008272/1.173, allocations: 410.9 kB / 0.7523 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.626e-05/1.173, allocations: 301.1 kB / 0.7526 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/1.175, allocations: 0.6225 MB / 0.7532 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/1.176, allocations: 1.195 MB / 0.7544 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003001/1.179, allocations: 1.984 MB / 0.7563 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.738e-05/1.179, allocations: 6.125 kB / 0.7563 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006273/1.186, allocations: 2.576 MB / 0.7588 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/1.186, allocations: 12.47 kB / 0.7588 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.342e-05/1.186, allocations: 18 kB / 0.7588 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/1.188, allocations: 0.5997 MB / 0.7594 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/1.191, allocations: 490.6 kB / 0.7599 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008908/1.199, allocations: 9.368 MB / 0.7691 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/1.201, allocations: 68.14 kB / 0.7691 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005809/1.202, allocations: 164.9 kB / 0.7693 GB, free: 159.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.001532/1.203, allocations: 428.4 kB / 0.7697 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008127/1.204, allocations: 152.6 kB / 0.7698 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006606/1.211, allocations: 2.621 MB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/1.211, allocations: 18.41 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.829e-05/1.211, allocations: 12.7 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.211, allocations: 10.59 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007875/1.219, allocations: 4.136 MB / 0.7765 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.219, allocations: 2.656 kB / 0.7765 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001978/1.221, allocations: 377.2 kB / 0.7768 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/1.223, allocations: 0.5011 MB / 0.7773 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/1.223, allocations: 76.84 kB / 0.7774 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005344/1.228, allocations: 6.672 MB / 0.7839 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.228, allocations: 4.031 kB / 0.7839 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/1.234, allocations: 3.143 MB / 0.787 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/1.234, allocations: 218.7 kB / 0.7872 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/1.235, allocations: 32 kB / 0.7872 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/1.236, allocations: 39.98 kB / 0.7873 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000346/1.236, allocations: 169.7 kB / 0.7874 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.236, allocations: 126.6 kB / 0.7875 GB, free: 145 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000744/1.237, allocations: 0.6218 MB / 0.7881 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/1.237, allocations: 0 / 0.7881 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002908/1.24, allocations: 0.8356 MB / 0.789 GB, free: 143.6 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.00723/1.247, allocations: 4.411 MB / 0.7933 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004266/1.251, allocations: 2.334 MB / 0.7956 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.251, allocations: 0 / 0.7956 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.254, allocations: 1.318 MB / 0.7968 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.256, allocations: 305.8 kB / 0.7971 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/1.281, allocations: 14.14 MB / 0.8109 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.282, allocations: 1.402 MB / 0.8123 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001626/1.284, allocations: 440.2 kB / 0.8127 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.285, allocations: 0.8923 MB / 0.8136 GB, free: 118 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.285, allocations: 2.656 kB / 0.8136 GB, free: 118 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.388, allocations: 50.82 MB / 0.8632 GB, free: 67.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.01/25.39, allocations: 11.86 kB / 0.8632 GB, free: 67.9 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.754817713983357] Failed to read output from testmodel.py, exit status != 0: 25.524466159986332 25.539215739 24.742207366 Calling exit ...