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.001331/0.001331, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001531/0.001531, allocations: 214.4 kB / 22.25 MB, free: 5.262 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.452/1.452, 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.1355/0.1355, allocations: 23.98 MB / 336.4 MB, free: 10.93 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.002998/0.002998, allocations: 71.91 kB / 471.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3479, allocations: 59.89 MB / 0.5192 GB, free: 9.68 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.07425/0.4221, allocations: 28.63 MB / 0.5472 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.178/0.6001, allocations: 134.4 MB / 0.6784 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/0.6019, allocations: 35.75 kB / 0.6784 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.6034, allocations: 496 kB / 0.6789 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005097/0.6085, allocations: 1.652 MB / 0.6805 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00856/0.6171, allocations: 3.007 MB / 0.6835 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004019/0.6211, allocations: 2.602 MB / 0.686 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.6228, allocations: 1.202 MB / 0.6872 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.6246, allocations: 1.27 MB / 0.6884 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002012/0.6266, allocations: 1.269 MB / 0.6897 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.627, allocations: 228 kB / 0.6899 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005687/0.6327, allocations: 2.223 MB / 0.692 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.6333, allocations: 0.5686 MB / 0.6926 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.6346, allocations: 0.988 MB / 0.6936 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01/0.6446, allocations: 5.122 MB / 0.6986 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.6446, allocations: 0 / 0.6986 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6446, allocations: 4 kB / 0.6986 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.207e-05/0.6446, allocations: 0 / 0.6986 GB, free: 1.465 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.005138/0.6498, allocations: 2.819 MB / 0.7013 GB, free: 14.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.6498, allocations: 8.031 kB / 0.7013 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004202/0.654, allocations: 0.8698 MB / 0.7022 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.6559, allocations: 0.9133 MB / 0.7031 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.6562, allocations: 259.2 kB / 0.7033 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/0.6565, allocations: 200.3 kB / 0.7035 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.6603, allocations: 2.152 MB / 0.7056 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.6604, allocations: 0 / 0.7056 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.6606, allocations: 76 kB / 0.7057 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/0.6606, allocations: 52 kB / 0.7057 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/0.6649, allocations: 2.288 MB / 0.708 GB, free: 7.695 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.01179/0.6767, allocations: 5.838 MB / 0.7137 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.6809, allocations: 1.556 MB / 0.7152 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.6823, allocations: 0.739 MB / 0.7159 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008586/0.6909, allocations: 3.905 MB / 0.7197 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.691, allocations: 55.81 kB / 0.7198 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.847e-06/0.691, allocations: 0 / 0.7198 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01841/0.7094, allocations: 6.523 MB / 0.7261 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.7095, allocations: 99.09 kB / 0.7262 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.7107, allocations: 0.9429 MB / 0.7272 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.7108, allocations: 53.7 kB / 0.7272 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000875/0.7117, allocations: 0.9103 MB / 0.7281 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006431/0.7124, allocations: 0.6274 MB / 0.7287 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/0.713, allocations: 407.5 kB / 0.7291 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.7131, allocations: 305.1 kB / 0.7294 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.7144, allocations: 0.6248 MB / 0.73 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2066/0.921, allocations: 1.193 MB / 0.7312 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.924, allocations: 1.986 MB / 0.7331 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.924, allocations: 5.797 kB / 0.7331 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004871/0.9289, allocations: 2.565 MB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.9289, allocations: 15.83 kB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.929, allocations: 18.53 kB / 0.7357 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.931, allocations: 0.6006 MB / 0.7362 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/0.9331, allocations: 483.7 kB / 0.7367 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00724/0.9403, allocations: 8.803 MB / 0.7453 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.9416, allocations: 68.91 kB / 0.7454 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/0.9418, allocations: 159.3 kB / 0.7455 GB, free: 174.8 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.0006985/0.9425, allocations: 428.3 kB / 0.7459 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.9428, allocations: 152 kB / 0.7461 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005251/0.948, allocations: 2.616 MB / 0.7486 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.9481, allocations: 19.25 kB / 0.7486 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.9481, allocations: 10.72 kB / 0.7487 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.9481, allocations: 10.33 kB / 0.7487 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006262/0.9544, allocations: 3.675 MB / 0.7522 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.9544, allocations: 0.9375 kB / 0.7523 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/0.9563, allocations: 379 kB / 0.7526 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.9581, allocations: 0.4949 MB / 0.7531 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/0.9582, allocations: 77.58 kB / 0.7532 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004689/0.9629, allocations: 6.258 MB / 0.7593 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9629, allocations: 1.609 kB / 0.7593 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/0.9681, allocations: 3.146 MB / 0.7624 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002677/0.9684, allocations: 132.3 kB / 0.7625 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.9686, allocations: 34.83 kB / 0.7625 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.9693, allocations: 38.69 kB / 0.7626 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/0.9697, allocations: 184.1 kB / 0.7627 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/0.9699, allocations: 121.8 kB / 0.7628 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007429/0.9706, allocations: 0.5923 MB / 0.7634 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9706, allocations: 2.688 kB / 0.7634 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002392/0.973, allocations: 0.832 MB / 0.7642 GB, free: 164.4 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.001401/0.9744, allocations: 0.8128 MB / 0.765 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003729/0.9781, allocations: 2.331 MB / 0.7673 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9782, allocations: 0 / 0.7673 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.98, allocations: 1.317 MB / 0.7686 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.9814, allocations: 291.9 kB / 0.7689 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/0.9861, allocations: 3.587 MB / 0.7724 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.9867, allocations: 0.8256 MB / 0.7732 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001338/0.9881, allocations: 431.8 kB / 0.7736 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.9887, allocations: 280.8 kB / 0.7739 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of SimCode: time 6.22e-07/0.9887, allocations: 0 / 0.7739 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04338/1.032, allocations: 37.3 MB / 0.8103 GB, free: 125.9 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: 6.809541530907154] Failed to read output from testmodel.py, exit status != 0: 1.0415262207388878 1.048700248 0.401946929 Calling exit ...