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.001471/0.001471, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001884/0.001884, allocations: 216.3 kB / 23 MB, free: 4.949 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1521/0.1521, allocations: 23.88 MB / 337.1 MB, free: 10.98 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: translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HydrogenCombustion") translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HydrogenCombustion") [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.002076/0.002076, allocations: 71.89 kB / 472.4 MB, free: 7.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3822, allocations: 59.86 MB / 0.5198 GB, free: 9.758 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.08583/0.468, allocations: 28.56 MB / 0.5476 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.19/0.658, allocations: 134.4 MB / 0.6789 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.6605, allocations: 35.75 kB / 0.6789 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.6623, allocations: 484.2 kB / 0.6794 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005967/0.6683, allocations: 1.656 MB / 0.681 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009121/0.6774, allocations: 3.011 MB / 0.6839 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004685/0.6821, allocations: 2.605 MB / 0.6865 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.6839, allocations: 1.229 MB / 0.6877 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.6856, allocations: 1.274 MB / 0.6889 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.6876, allocations: 1.421 MB / 0.6903 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.688, allocations: 224 kB / 0.6905 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007604/0.6956, allocations: 2.266 MB / 0.6927 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007891/0.6964, allocations: 0.5685 MB / 0.6933 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.6978, allocations: 0.9919 MB / 0.6942 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.7085, allocations: 5.111 MB / 0.6992 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7086, allocations: 3.984 kB / 0.6992 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7086, allocations: 0 / 0.6992 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.468e-05/0.7086, allocations: 0 / 0.6992 GB, free: 1.531 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.005686/0.7143, allocations: 2.827 MB / 0.702 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.7143, allocations: 8.031 kB / 0.702 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.7187, allocations: 0.8659 MB / 0.7029 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.7209, allocations: 0.9251 MB / 0.7038 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.7211, allocations: 251.2 kB / 0.704 GB, free: 12.56 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000365/0.7215, allocations: 196.3 kB / 0.7042 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.7253, allocations: 2.152 MB / 0.7063 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.7253, allocations: 0 / 0.7063 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.7255, allocations: 80 kB / 0.7064 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.7255, allocations: 48 kB / 0.7064 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.7296, allocations: 2.295 MB / 0.7087 GB, free: 7.75 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.01177/0.7414, allocations: 5.834 MB / 0.7143 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004207/0.7456, allocations: 1.56 MB / 0.7159 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.7469, allocations: 0.7312 MB / 0.7166 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008481/0.7554, allocations: 3.917 MB / 0.7204 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.7555, allocations: 47.81 kB / 0.7205 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.797e-06/0.7555, allocations: 4 kB / 0.7205 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01807/0.7736, allocations: 6.519 MB / 0.7268 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/0.7736, allocations: 103.1 kB / 0.7269 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.775, allocations: 0.9312 MB / 0.7278 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.7751, allocations: 61.7 kB / 0.7279 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/0.7759, allocations: 0.9181 MB / 0.7288 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007044/0.7766, allocations: 0.6158 MB / 0.7294 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006086/0.7772, allocations: 411.5 kB / 0.7298 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7773, allocations: 301.1 kB / 0.7301 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.7786, allocations: 0.6209 MB / 0.7307 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2616/1.04, allocations: 1.19 MB / 0.7318 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003583/1.044, allocations: 1.988 MB / 0.7338 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/1.044, allocations: 4.594 kB / 0.7338 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005865/1.05, allocations: 2.57 MB / 0.7363 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/1.05, allocations: 17.88 kB / 0.7363 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.7e-05/1.05, allocations: 17.09 kB / 0.7363 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/1.052, allocations: 0.6015 MB / 0.7369 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/1.054, allocations: 489.6 kB / 0.7374 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008445/1.063, allocations: 8.8 MB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.064, allocations: 62.28 kB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/1.065, allocations: 167.3 kB / 0.7462 GB, free: 174.9 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.0008991/1.066, allocations: 428.4 kB / 0.7466 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/1.066, allocations: 157.1 kB / 0.7468 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005692/1.072, allocations: 2.608 MB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/1.072, allocations: 19.25 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/1.072, allocations: 9.375 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/1.072, allocations: 15.69 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007216/1.079, allocations: 3.668 MB / 0.7529 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.079, allocations: 2.703 kB / 0.7529 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/1.081, allocations: 377.9 kB / 0.7533 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/1.083, allocations: 0.5048 MB / 0.7538 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/1.083, allocations: 78.7 kB / 0.7539 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005174/1.088, allocations: 6.249 MB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.088, allocations: 7.812 kB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/1.094, allocations: 3.144 MB / 0.763 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/1.095, allocations: 134.1 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.095, allocations: 39.48 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/1.096, allocations: 37.45 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/1.096, allocations: 172.7 kB / 0.7634 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002298/1.096, allocations: 126.4 kB / 0.7635 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008762/1.097, allocations: 0.5955 MB / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.097, allocations: 1.156 kB / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002889/1.1, allocations: 0.8333 MB / 0.7649 GB, free: 164.5 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.001695/1.102, allocations: 0.8064 MB / 0.7657 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004163/1.106, allocations: 2.338 MB / 0.768 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.106, allocations: 0 / 0.768 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.108, allocations: 1.314 MB / 0.7693 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.11, allocations: 296 kB / 0.7696 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/1.115, allocations: 3.644 MB / 0.7731 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/1.116, allocations: 0.8281 MB / 0.7739 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009691/1.117, allocations: 339.1 kB / 0.7742 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.163e-06/1.117, allocations: 0 / 0.7742 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0564/1.173, allocations: 70.04 MB / 0.8426 GB, free: 93.41 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.62759291101247] Failed to read output from testmodel.py, exit status != 0: 1.1820179839851335 1.192762756 0.48166502699999997 Calling exit ...