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.001492/0.001492, 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.001721/0.001721, allocations: 218.6 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.358/1.358, allocations: 230.6 MB / 256 MB, free: 7.789 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.1305/0.1305, allocations: 23.93 MB / 336.4 MB, free: 11 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.001966/0.001966, allocations: 75.88 kB / 471.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2777, allocations: 59.87 MB / 0.5186 GB, free: 9.547 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.06916/0.3469, allocations: 28.51 MB / 0.5465 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1646/0.5115, allocations: 134.4 MB / 0.6777 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.513, allocations: 35.75 kB / 0.6777 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.5143, allocations: 484.1 kB / 0.6782 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004174/0.5184, allocations: 1.656 MB / 0.6798 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007808/0.5262, allocations: 3.011 MB / 0.6827 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003669/0.5299, allocations: 2.609 MB / 0.6853 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.5314, allocations: 1.221 MB / 0.6865 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.5329, allocations: 1.274 MB / 0.6877 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.5348, allocations: 1.417 MB / 0.6891 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003287/0.5351, allocations: 228 kB / 0.6893 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005192/0.5403, allocations: 2.262 MB / 0.6915 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.5409, allocations: 0.5764 MB / 0.6921 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.5421, allocations: 0.9803 MB / 0.693 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008901/0.551, allocations: 5.13 MB / 0.6981 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.551, allocations: 0 / 0.6981 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.551, allocations: 0 / 0.6981 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.766e-05/0.551, allocations: 0 / 0.6981 GB, free: 1.484 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.005345/0.5564, allocations: 2.819 MB / 0.7008 GB, free: 14.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.5564, allocations: 8.031 kB / 0.7008 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00037/0.5568, allocations: 274.6 kB / 0.7011 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/0.5611, allocations: 0.8737 MB / 0.7019 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.563, allocations: 0.9134 MB / 0.7028 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.5632, allocations: 255.2 kB / 0.7031 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.5635, allocations: 200.3 kB / 0.7033 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003596/0.5671, allocations: 2.152 MB / 0.7054 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/0.5672, allocations: 0 / 0.7054 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.5674, allocations: 76 kB / 0.7054 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.5674, allocations: 48 kB / 0.7055 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0039/0.5713, allocations: 2.288 MB / 0.7077 GB, free: 7.441 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.01082/0.5821, allocations: 6.071 MB / 0.7136 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/0.5864, allocations: 1.55 MB / 0.7152 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.5877, allocations: 0.735 MB / 0.7159 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/0.5956, allocations: 3.925 MB / 0.7197 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5956, allocations: 43.88 kB / 0.7198 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.066e-06/0.5956, allocations: 4 kB / 0.7198 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01776/0.6134, allocations: 6.533 MB / 0.7261 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.6135, allocations: 99.05 kB / 0.7262 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.6147, allocations: 0.9844 MB / 0.7272 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.6148, allocations: 57.7 kB / 0.7272 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/0.6155, allocations: 0.8987 MB / 0.7281 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/0.6161, allocations: 0.6274 MB / 0.7287 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005907/0.6166, allocations: 407.5 kB / 0.7291 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6168, allocations: 301.1 kB / 0.7294 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.6179, allocations: 0.6209 MB / 0.73 GB, free: 232 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1984/0.8163, allocations: 1.19 MB / 0.7312 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002563/0.8189, allocations: 1.985 MB / 0.7331 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.8189, allocations: 4.562 kB / 0.7331 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00485/0.8238, allocations: 2.576 MB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.8238, allocations: 14.38 kB / 0.7357 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.8238, allocations: 17.62 kB / 0.7357 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002183/0.826, allocations: 0.5999 MB / 0.7363 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/0.8282, allocations: 484.6 kB / 0.7367 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/0.8356, allocations: 8.897 MB / 0.7454 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.837, allocations: 64.12 kB / 0.7455 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.8372, allocations: 166.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.0007/0.8379, allocations: 435.6 kB / 0.746 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.8382, allocations: 153.6 kB / 0.7462 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/0.8435, allocations: 2.617 MB / 0.7487 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.8435, allocations: 18.22 kB / 0.7488 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.8435, allocations: 6.109 kB / 0.7488 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.8436, allocations: 7.781 kB / 0.7488 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/0.8502, allocations: 3.899 MB / 0.7526 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.8502, allocations: 1.906 kB / 0.7526 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.8522, allocations: 374.2 kB / 0.7529 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.8541, allocations: 0.4959 MB / 0.7534 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.8543, allocations: 79.33 kB / 0.7535 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004827/0.8591, allocations: 6.331 MB / 0.7597 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.8591, allocations: 4.281 kB / 0.7597 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005244/0.8643, allocations: 3.148 MB / 0.7628 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002878/0.8646, allocations: 140.8 kB / 0.7629 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.8648, allocations: 36.34 kB / 0.7629 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008225/0.8657, allocations: 39.69 kB / 0.763 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003427/0.866, allocations: 175.7 kB / 0.7631 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001821/0.8662, allocations: 122 kB / 0.7632 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000748/0.8669, allocations: 0.6212 MB / 0.7639 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.8669, allocations: 0 / 0.7639 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002276/0.8692, allocations: 0.8356 MB / 0.7647 GB, free: 164 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.006362/0.8756, allocations: 4.404 MB / 0.769 GB, free: 162 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00344/0.879, allocations: 2.325 MB / 0.7712 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.879, allocations: 3.938 kB / 0.7712 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001811/0.8808, allocations: 1.318 MB / 0.7725 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.8821, allocations: 308.2 kB / 0.7728 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/0.8989, allocations: 14.15 MB / 0.7866 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005932/0.8995, allocations: 0.8292 MB / 0.7875 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001296/0.9008, allocations: 438.5 kB / 0.7879 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.9018, allocations: 0.8948 MB / 0.7887 GB, free: 146 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.9018, allocations: 0 / 0.7887 GB, free: 146 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/1.012, allocations: 52.38 MB / 0.8399 GB, free: 94.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.29, allocations: 3.984 kB / 0.8399 GB, free: 94.73 MB / 0.5606 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --stepSize=0.000156 --timeout=50 --tolerance=1e-06 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: 17.775076364981942] Failed to read output from testmodel.py, exit status != 0: 15.432042200001888 15.441140831 14.888032791 Calling exit ...