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.001384/0.001384, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001455/0.001455, allocations: 223.6 kB / 23 MB, free: 4.91 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.447/1.447, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1445/0.1445, allocations: 24 MB / 337.2 MB, free: 10.88 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: translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion") translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002213/0.002213, allocations: 63.91 kB / 472.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3366, allocations: 59.9 MB / 0.52 GB, free: 9.746 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.07665/0.4132, allocations: 28.63 MB / 0.5479 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1806/0.5938, allocations: 134.4 MB / 0.6791 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003006/0.5968, allocations: 31.75 kB / 0.6792 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.5992, allocations: 484.2 kB / 0.6796 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006333/0.6056, allocations: 1.656 MB / 0.6813 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009296/0.6149, allocations: 3.007 MB / 0.6842 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00435/0.6192, allocations: 2.605 MB / 0.6867 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.621, allocations: 1.198 MB / 0.6879 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.6227, allocations: 1.278 MB / 0.6892 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002042/0.6248, allocations: 1.269 MB / 0.6904 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004349/0.6252, allocations: 231.9 kB / 0.6906 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005861/0.6311, allocations: 2.223 MB / 0.6928 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.6317, allocations: 0.5608 MB / 0.6933 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.6329, allocations: 0.9919 MB / 0.6943 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.6432, allocations: 5.122 MB / 0.6993 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.6432, allocations: 0 / 0.6993 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.983e-06/0.6432, allocations: 0 / 0.6993 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.566e-05/0.6432, allocations: 0 / 0.6993 GB, free: 1.477 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.005239/0.6485, allocations: 2.827 MB / 0.7021 GB, free: 14.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.6485, allocations: 8.031 kB / 0.7021 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.6528, allocations: 0.8659 MB / 0.7029 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.6547, allocations: 0.9134 MB / 0.7038 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.655, allocations: 255.2 kB / 0.7041 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/0.6553, allocations: 196.3 kB / 0.7042 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/0.6593, allocations: 2.152 MB / 0.7063 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.6593, allocations: 7.938 kB / 0.7064 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.6595, allocations: 76 kB / 0.7064 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.711e-05/0.6595, allocations: 48 kB / 0.7065 GB, free: 9.996 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004117/0.6637, allocations: 2.284 MB / 0.7087 GB, free: 7.711 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.01095/0.6746, allocations: 5.838 MB / 0.7144 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.6787, allocations: 1.554 MB / 0.7159 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.68, allocations: 0.7361 MB / 0.7166 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007971/0.688, allocations: 3.916 MB / 0.7205 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.688, allocations: 47.88 kB / 0.7205 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.426e-06/0.688, allocations: 0 / 0.7205 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01821/0.7062, allocations: 6.533 MB / 0.7269 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.7063, allocations: 95.11 kB / 0.727 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.7076, allocations: 0.939 MB / 0.7279 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.7077, allocations: 57.7 kB / 0.728 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006873/0.7084, allocations: 0.9103 MB / 0.7288 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005869/0.709, allocations: 0.6274 MB / 0.7295 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005767/0.7096, allocations: 407.5 kB / 0.7298 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7097, allocations: 301.1 kB / 0.7301 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.7109, allocations: 0.6248 MB / 0.7307 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2289/0.9398, allocations: 1.189 MB / 0.7319 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.9429, allocations: 1.992 MB / 0.7338 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.943, allocations: 5.281 kB / 0.7339 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005064/0.948, allocations: 2.567 MB / 0.7364 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.9481, allocations: 13.95 kB / 0.7364 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.9481, allocations: 20.22 kB / 0.7364 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.9502, allocations: 0.5974 MB / 0.737 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/0.9524, allocations: 485.8 kB / 0.7374 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00757/0.96, allocations: 8.797 MB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.9614, allocations: 71.12 kB / 0.7461 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.9616, allocations: 159.4 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.0008093/0.9624, allocations: 420.1 kB / 0.7466 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.9628, allocations: 162.1 kB / 0.7468 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005209/0.968, allocations: 2.616 MB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.968, allocations: 18.19 kB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.968, allocations: 7.625 kB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.968, allocations: 10.8 kB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/0.9747, allocations: 3.67 MB / 0.753 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.9747, allocations: 1.219 kB / 0.753 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/0.9766, allocations: 382.7 kB / 0.7533 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/0.9785, allocations: 0.4994 MB / 0.7538 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001726/0.9787, allocations: 76.91 kB / 0.7539 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.9837, allocations: 6.253 MB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.9837, allocations: 0.7188 kB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.9892, allocations: 3.146 MB / 0.7631 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.9896, allocations: 133.2 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/0.9898, allocations: 33.22 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007974/0.9906, allocations: 38.78 kB / 0.7633 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/0.9909, allocations: 180 kB / 0.7635 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001929/0.9911, allocations: 124 kB / 0.7636 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007895/0.9919, allocations: 0.5929 MB / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9919, allocations: 0 / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002653/0.9946, allocations: 0.8338 MB / 0.765 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.001629/0.9962, allocations: 0.8129 MB / 0.7658 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00399/1, allocations: 2.332 MB / 0.768 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1, allocations: 3.938 kB / 0.768 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/1.002, allocations: 1.317 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.001421/1.004, allocations: 296.8 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.005281/1.009, allocations: 3.652 MB / 0.7732 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/1.009, allocations: 0.8239 MB / 0.774 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009067/1.01, allocations: 338 kB / 0.7743 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.01, allocations: 0 / 0.7743 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05154/1.062, allocations: 70.04 MB / 0.8427 GB, free: 93.18 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.020085190888494] Failed to read output from testmodel.py, exit status != 0: 1.0704689691774547 1.079005394 0.43350227999999996 Calling exit ...