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.00128/0.00128, 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.001429/0.001429, allocations: 221.7 kB / 22.25 MB, free: 5.254 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.375/1.375, allocations: 230.6 MB / 256 MB, free: 7.793 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.1327/0.1327, allocations: 23.92 MB / 336.4 MB, free: 10.92 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.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.001918/0.001918, allocations: 63.91 kB / 471.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3068, allocations: 59.88 MB / 0.5186 GB, free: 9.156 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.07088/0.3777, allocations: 28.56 MB / 0.5465 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.171/0.5487, allocations: 134.4 MB / 0.6777 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.5509, allocations: 35.75 kB / 0.6778 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001557/0.5525, allocations: 488.2 kB / 0.6782 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005408/0.5579, allocations: 1.652 MB / 0.6798 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008209/0.5661, allocations: 3.011 MB / 0.6828 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003894/0.57, allocations: 2.605 MB / 0.6853 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.5716, allocations: 1.221 MB / 0.6865 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.5732, allocations: 1.286 MB / 0.6878 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.5751, allocations: 1.417 MB / 0.6891 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.5755, allocations: 224 kB / 0.6894 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006085/0.5816, allocations: 2.27 MB / 0.6916 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006511/0.5823, allocations: 0.5647 MB / 0.6921 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001213/0.5835, allocations: 0.988 MB / 0.6931 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009744/0.5932, allocations: 5.122 MB / 0.6981 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5932, allocations: 0 / 0.6981 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5932, allocations: 0 / 0.6981 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.882e-05/0.5933, allocations: 0 / 0.6981 GB, free: 1.359 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.005122/0.5984, allocations: 2.827 MB / 0.7009 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5985, allocations: 8.031 kB / 0.7009 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003221/0.5988, allocations: 274.6 kB / 0.7011 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.6029, allocations: 0.8698 MB / 0.702 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.6047, allocations: 0.9095 MB / 0.7029 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.6049, allocations: 259.2 kB / 0.7031 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/0.6052, allocations: 200.3 kB / 0.7033 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.6087, allocations: 2.152 MB / 0.7054 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.6087, allocations: 7.922 kB / 0.7054 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.6089, allocations: 80 kB / 0.7055 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.609, allocations: 48 kB / 0.7055 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003809/0.6128, allocations: 2.276 MB / 0.7078 GB, free: 7.309 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.01102/0.6238, allocations: 6.063 MB / 0.7137 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003978/0.6278, allocations: 1.555 MB / 0.7152 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.6291, allocations: 0.7351 MB / 0.7159 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008096/0.6371, allocations: 3.93 MB / 0.7198 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.6372, allocations: 43.88 kB / 0.7198 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.547e-06/0.6372, allocations: 0 / 0.7198 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.017/0.6542, allocations: 6.532 MB / 0.7262 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/0.6543, allocations: 95.11 kB / 0.7263 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.6555, allocations: 0.9844 MB / 0.7272 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.6556, allocations: 53.7 kB / 0.7273 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.6563, allocations: 0.9025 MB / 0.7282 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/0.6569, allocations: 0.6274 MB / 0.7288 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005804/0.6575, allocations: 407.5 kB / 0.7292 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6576, allocations: 305.1 kB / 0.7294 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.6588, allocations: 0.6248 MB / 0.7301 GB, free: 100 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2039/0.8626, allocations: 1.187 MB / 0.7312 GB, free: 184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.8653, allocations: 1.987 MB / 0.7332 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.8653, allocations: 5.5 kB / 0.7332 GB, free: 183.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005018/0.8703, allocations: 2.576 MB / 0.7357 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.8704, allocations: 12.5 kB / 0.7357 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.8704, allocations: 20.41 kB / 0.7357 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.8724, allocations: 0.6 MB / 0.7363 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.8744, allocations: 487.2 kB / 0.7368 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007454/0.8819, allocations: 8.887 MB / 0.7454 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.8832, allocations: 62.86 kB / 0.7455 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002515/0.8835, allocations: 164.5 kB / 0.7457 GB, free: 174.4 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.0007747/0.8843, allocations: 434.2 kB / 0.7461 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.8845, allocations: 154 kB / 0.7462 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/0.8896, allocations: 2.624 MB / 0.7488 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8896, allocations: 17.88 kB / 0.7488 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.8896, allocations: 4.125 kB / 0.7488 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.8896, allocations: 10.89 kB / 0.7488 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006681/0.8963, allocations: 3.889 MB / 0.7526 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.8963, allocations: 1.062 kB / 0.7526 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/0.8982, allocations: 381.2 kB / 0.753 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.9, allocations: 0.5 MB / 0.7535 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.9002, allocations: 74.39 kB / 0.7535 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005345/0.9055, allocations: 6.328 MB / 0.7597 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9055, allocations: 1.406 kB / 0.7597 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/0.9116, allocations: 3.153 MB / 0.7628 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004979/0.9121, allocations: 136.1 kB / 0.7629 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.9123, allocations: 35.31 kB / 0.763 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007429/0.9131, allocations: 46.95 kB / 0.763 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/0.9135, allocations: 173.7 kB / 0.7632 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/0.9137, allocations: 126.2 kB / 0.7633 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008539/0.9145, allocations: 0.6222 MB / 0.7639 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9145, allocations: 0 / 0.7639 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003039/0.9176, allocations: 0.8317 MB / 0.7647 GB, free: 163.8 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.006634/0.9242, allocations: 4.419 MB / 0.769 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003845/0.928, allocations: 2.327 MB / 0.7713 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.928, allocations: 0 / 0.7713 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/0.9299, allocations: 1.309 MB / 0.7726 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.9312, allocations: 313.5 kB / 0.7729 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/0.9484, allocations: 14.14 MB / 0.7867 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/0.949, allocations: 0.8317 MB / 0.7875 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001354/0.9504, allocations: 435 kB / 0.7879 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009896/0.9514, allocations: 0.891 MB / 0.7888 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of SimCode: time 7.61e-07/0.9514, allocations: 0 / 0.7888 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08537/1.037, allocations: 52.39 MB / 0.8399 GB, free: 94.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.86, allocations: 4 kB / 0.8399 GB, free: 94.52 MB / 0.5606 GB " [Timeout remaining time 644] (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 os._exit(0), Time elapsed: 18.554426528018666] Failed to read output from testmodel.py, exit status != 0: 16.008494092995534 16.029634778 15.432248185 Calling exit ...