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.001246/0.001246, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001397/0.001397, allocations: 217 kB / 22.25 MB, free: 5.082 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.98 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.1331/0.1331, allocations: 23.89 MB / 336.3 MB, free: 11.15 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.00192/0.00192, allocations: 63.91 kB / 471.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3059, allocations: 59.88 MB / 0.5187 GB, free: 9.582 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.0393/0.3452, allocations: 29.57 MB / 0.5475 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1832/0.5284, allocations: 156.6 MB / 0.7004 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.5299, allocations: 39.75 kB / 0.7005 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.5313, allocations: 0.5039 MB / 0.701 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004797/0.5361, allocations: 1.672 MB / 0.7026 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008298/0.5444, allocations: 3.007 MB / 0.7055 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003956/0.5484, allocations: 2.605 MB / 0.7081 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.5498, allocations: 1.229 MB / 0.7093 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.5512, allocations: 1.274 MB / 0.7105 GB, free: 5.016 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.553, allocations: 1.417 MB / 0.7119 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.5534, allocations: 228 kB / 0.7121 GB, free: 3.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005885/0.5592, allocations: 2.391 MB / 0.7145 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005152/0.5598, allocations: 0.5686 MB / 0.715 GB, free: 416 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.5609, allocations: 1.178 MB / 0.7162 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008953/0.5699, allocations: 5.13 MB / 0.7212 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5699, allocations: 11.88 kB / 0.7212 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5699, allocations: 0 / 0.7212 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.5699, allocations: 0 / 0.7212 GB, free: 10.06 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.005023/0.5749, allocations: 2.827 MB / 0.724 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.575, allocations: 8.031 kB / 0.724 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003233/0.5753, allocations: 274.7 kB / 0.7242 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004026/0.5793, allocations: 0.8698 MB / 0.7251 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.581, allocations: 0.9211 MB / 0.726 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.5812, allocations: 255.2 kB / 0.7262 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003018/0.5815, allocations: 204.2 kB / 0.7264 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003435/0.585, allocations: 2.148 MB / 0.7285 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.585, allocations: 0 / 0.7285 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.5852, allocations: 76 kB / 0.7286 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.925e-05/0.5852, allocations: 48 kB / 0.7286 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2232/0.8084, allocations: 2.306 MB / 0.7309 GB, free: 186.8 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.01241/0.8208, allocations: 7.54 MB / 0.7382 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003892/0.8247, allocations: 1.577 MB / 0.7398 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.8258, allocations: 0.7396 MB / 0.7405 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00731/0.8331, allocations: 4.126 MB / 0.7445 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.8331, allocations: 49.47 kB / 0.7446 GB, free: 180 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.156e-06/0.8331, allocations: 0 / 0.7446 GB, free: 180 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01646/0.8496, allocations: 6.526 MB / 0.751 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.8497, allocations: 96.61 kB / 0.751 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.851, allocations: 0.9597 MB / 0.752 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.8512, allocations: 55.56 kB / 0.752 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.8516, allocations: 0.9043 MB / 0.7529 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003988/0.852, allocations: 0.6195 MB / 0.7535 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00048/0.8525, allocations: 407.2 kB / 0.7539 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.8525, allocations: 303.8 kB / 0.7542 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.8536, allocations: 0.6266 MB / 0.7548 GB, free: 175 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.855, allocations: 1.193 MB / 0.756 GB, free: 174 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.8575, allocations: 1.988 MB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.8575, allocations: 5.406 kB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00485/0.8624, allocations: 2.568 MB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.8624, allocations: 15.16 kB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.8624, allocations: 21.78 kB / 0.7605 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.8644, allocations: 0.6084 MB / 0.7611 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/0.8664, allocations: 482.4 kB / 0.7615 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007012/0.8734, allocations: 8.964 MB / 0.7703 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.8747, allocations: 59.66 kB / 0.7703 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.8749, allocations: 165.6 kB / 0.7705 GB, free: 163 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.0006802/0.8756, allocations: 427.7 kB / 0.7709 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/0.8758, allocations: 158.1 kB / 0.771 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.8805, allocations: 2.61 MB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.8806, allocations: 19.72 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8806, allocations: 6.625 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.8806, allocations: 7.969 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.8863, allocations: 4.114 MB / 0.7776 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.8863, allocations: 2.406 kB / 0.7777 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.8881, allocations: 372.7 kB / 0.778 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.8898, allocations: 0.508 MB / 0.7785 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.89, allocations: 75.72 kB / 0.7786 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/0.8943, allocations: 6.366 MB / 0.7848 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8943, allocations: 0 / 0.7848 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00448/0.8988, allocations: 3.143 MB / 0.7879 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.8991, allocations: 142.9 kB / 0.788 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.8993, allocations: 32 kB / 0.788 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.9001, allocations: 39.98 kB / 0.7881 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002765/0.9003, allocations: 180.2 kB / 0.7882 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.9005, allocations: 120 kB / 0.7884 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006377/0.9011, allocations: 0.6224 MB / 0.789 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9011, allocations: 0 / 0.789 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002418/0.9035, allocations: 0.8342 MB / 0.7898 GB, free: 147.2 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.005933/0.9095, allocations: 4.417 MB / 0.7941 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003372/0.9128, allocations: 2.327 MB / 0.7964 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.9128, allocations: 4 kB / 0.7964 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.9146, allocations: 1.324 MB / 0.7977 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.916, allocations: 301.5 kB / 0.7979 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/0.9333, allocations: 14.15 MB / 0.8118 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.9339, allocations: 1.406 MB / 0.8131 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001313/0.9352, allocations: 438.2 kB / 0.8136 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.9362, allocations: 0.8909 MB / 0.8144 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.9362, allocations: 3.938 kB / 0.8144 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08398/1.02, allocations: 52.52 MB / 0.8657 GB, free: 69.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.1/24.12, allocations: 7.562 kB / 0.8657 GB, free: 69.79 MB / 0.5606 GB " [Timeout remaining time 636] (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: 26.880172176002816] Failed to read output from testmodel.py, exit status != 0: 24.261213372003112 24.271420227 23.699307288 Calling exit ...