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.0006506/0.0006506, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007316/0.0007316, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8413/0.8413, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.07898/0.07898, allocations: 17.45 MB / 277.4 MB, free: 11.78 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 412.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.918e-05, allocations: 5.094 kB / 412.9 MB, free: 15.77 MB / 394.7 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.0229/0.02291, allocations: 28.88 MB / 441.7 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2784/0.3014, allocations: 134.4 MB / 0.5627 GB, free: 112 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.3025, allocations: 35.75 kB / 0.5627 GB, free: 76 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009876/0.3035, allocations: 492 kB / 0.5632 GB, free: 15.59 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003356/0.3068, allocations: 1.713 MB / 0.5648 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005796/0.3126, allocations: 3.076 MB / 0.5678 GB, free: 10.77 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.3147, allocations: 2.697 MB / 0.5705 GB, free: 8.062 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.3157, allocations: 1.217 MB / 0.5717 GB, free: 6.812 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.317, allocations: 1.755 MB / 0.5734 GB, free: 5.055 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.318, allocations: 1.13 MB / 0.5745 GB, free: 3.922 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002302/0.3182, allocations: 235.9 kB / 0.5747 GB, free: 3.691 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/0.3227, allocations: 2.23 MB / 0.5769 GB, free: 1.457 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.323, allocations: 0.5724 MB / 0.5774 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006284/0.3236, allocations: 0.838 MB / 0.5783 GB, free: 44 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.3293, allocations: 5.362 MB / 0.5835 GB, free: 10.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3293, allocations: 5.5 kB / 0.5835 GB, free: 10.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3293, allocations: 0 / 0.5835 GB, free: 10.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.3293, allocations: 0 / 0.5835 GB, free: 10.66 MB / 474.7 MB 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.002892/0.3322, allocations: 2.804 MB / 0.5862 GB, free: 7.816 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3322, allocations: 12.03 kB / 0.5862 GB, free: 7.805 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.3345, allocations: 0.8738 MB / 0.5871 GB, free: 6.938 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3355, allocations: 0.9126 MB / 0.588 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.3356, allocations: 263.2 kB / 0.5882 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.3359, allocations: 196.3 kB / 0.5884 GB, free: 5.527 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.3381, allocations: 2.145 MB / 0.5905 GB, free: 3.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.3382, allocations: 192 / 0.5905 GB, free: 3.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.3383, allocations: 80.38 kB / 0.5906 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.3383, allocations: 55.92 kB / 0.5907 GB, free: 3.207 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.3409, allocations: 2.288 MB / 0.5929 GB, free: 0.918 MB / 474.7 MB 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.00652/0.3474, allocations: 5.818 MB / 0.5986 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.3496, allocations: 1.568 MB / 0.6001 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.3504, allocations: 0.7379 MB / 0.6008 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004486/0.3548, allocations: 3.914 MB / 0.6046 GB, free: 4.711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3549, allocations: 47.81 kB / 0.6047 GB, free: 4.652 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 2.294e-06/0.3549, allocations: 0 / 0.6047 GB, free: 4.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.009714/0.3646, allocations: 6.511 MB / 0.611 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.3646, allocations: 103 kB / 0.6111 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007228/0.3654, allocations: 0.9313 MB / 0.6121 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/0.3654, allocations: 57.7 kB / 0.6121 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.3658, allocations: 0.918 MB / 0.613 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/0.3662, allocations: 0.6119 MB / 0.6136 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.3665, allocations: 407.5 kB / 0.614 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.3666, allocations: 305.1 kB / 0.6143 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/0.3673, allocations: 0.6287 MB / 0.6149 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.3685, allocations: 1.185 MB / 0.6161 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.3704, allocations: 1.992 MB / 0.618 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.3704, allocations: 4 kB / 0.618 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.002949/0.3733, allocations: 2.571 MB / 0.6205 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3733, allocations: 12 kB / 0.6205 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3734, allocations: 16 kB / 0.6205 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.3745, allocations: 0.6033 MB / 0.6211 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.3756, allocations: 490.4 kB / 0.6216 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1615/0.5371, allocations: 8.79 MB / 0.6302 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/0.538, allocations: 68.77 kB / 0.6302 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.5381, allocations: 162.5 kB / 0.6304 GB, free: 147.4 MB / 0.4948 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.0005941/0.5387, allocations: 424.7 kB / 0.6308 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.5389, allocations: 151.9 kB / 0.631 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/0.5418, allocations: 2.62 MB / 0.6335 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5418, allocations: 19.47 kB / 0.6335 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5418, allocations: 9.25 kB / 0.6335 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5418, allocations: 9.938 kB / 0.6335 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.5454, allocations: 3.663 MB / 0.6371 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5454, allocations: 3.219 kB / 0.6371 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009077/0.5463, allocations: 382.7 kB / 0.6375 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008948/0.5472, allocations: 0.5023 MB / 0.638 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.5473, allocations: 77.31 kB / 0.6381 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002669/0.5499, allocations: 6.253 MB / 0.6442 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5499, allocations: 0 / 0.6442 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.5529, allocations: 3.136 MB / 0.6472 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.553, allocations: 136.8 kB / 0.6474 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5531, allocations: 37.34 kB / 0.6474 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.5535, allocations: 40.17 kB / 0.6474 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.5537, allocations: 174.6 kB / 0.6476 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/0.5538, allocations: 122.4 kB / 0.6477 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003837/0.5541, allocations: 0.5914 MB / 0.6483 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5541, allocations: 2.656 kB / 0.6483 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001466/0.5556, allocations: 0.8302 MB / 0.6491 GB, free: 137.3 MB / 0.4948 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.0009949/0.5566, allocations: 0.8427 MB / 0.6499 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.5586, allocations: 2.326 MB / 0.6522 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5586, allocations: 3.312 kB / 0.6522 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.5596, allocations: 1.315 MB / 0.6535 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.5604, allocations: 299.6 kB / 0.6538 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.5635, allocations: 3.512 MB / 0.6572 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.5639, allocations: 0.8256 MB / 0.658 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.5645, allocations: 338 kB / 0.6583 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.5645, allocations: 0 / 0.6583 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of Templates: time 0.03707/0.6015, allocations: 70.15 MB / 0.7268 GB, free: 86.48 MB / 0.4948 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: 8.125424752011895] Failed to read output from testmodel.py, exit status != 0: 0.6066004196181893 0.612242008 0.28168353699999993 Calling exit ...