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.001012/0.001012, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00124/0.00124, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9893/0.9893, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.1491/0.1491, allocations: 17.46 MB / 277.7 MB, free: 11.4 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.212e-06/1.212e-06, allocations: 0 / 354 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.347e-05, allocations: 9.203 kB / 354 MB, free: 9.559 MB / 282.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.02872/0.02875, allocations: 32.02 MB / 386 MB, free: 9.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2706/0.2993, allocations: 134.3 MB / 0.5082 GB, free: 2.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.3007, allocations: 31.75 kB / 0.5082 GB, free: 2.539 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008197/0.3015, allocations: 363.2 kB / 0.5085 GB, free: 2.188 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.3043, allocations: 1.146 MB / 0.5097 GB, free: 1.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003359/0.3076, allocations: 1.583 MB / 0.5112 GB, free: 15.45 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002939/0.3106, allocations: 2.686 MB / 0.5138 GB, free: 12.75 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.3121, allocations: 1.257 MB / 0.5151 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.3138, allocations: 1.767 MB / 0.5168 GB, free: 9.672 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.3152, allocations: 1.173 MB / 0.5179 GB, free: 8.496 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004282/0.3156, allocations: 228 kB / 0.5182 GB, free: 8.273 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.3176, allocations: 1.026 MB / 0.5192 GB, free: 7.246 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.3179, allocations: 0.5879 MB / 0.5197 GB, free: 6.656 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007559/0.3187, allocations: 0.8458 MB / 0.5206 GB, free: 5.809 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003369/0.3221, allocations: 2.967 MB / 0.5234 GB, free: 2.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3221, allocations: 0 / 0.5234 GB, free: 2.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3221, allocations: 0 / 0.5234 GB, free: 2.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.608e-05/0.3222, allocations: 0 / 0.5234 GB, free: 2.832 MB / 394.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.00322/0.3254, allocations: 2.693 MB / 0.5261 GB, free: 92 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3254, allocations: 16.03 kB / 0.5261 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/0.3281, allocations: 1.223 MB / 0.5273 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.3292, allocations: 0.9193 MB / 0.5282 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.3294, allocations: 255.2 kB / 0.5284 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.3296, allocations: 208.2 kB / 0.5286 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.3314, allocations: 1.578 MB / 0.5302 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.3314, allocations: 192 / 0.5302 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.3315, allocations: 80.38 kB / 0.5302 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.3315, allocations: 51.94 kB / 0.5303 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.3329, allocations: 1.276 MB / 0.5315 GB, free: 10.38 MB / 410.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.007048/0.34, allocations: 6.091 MB / 0.5375 GB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.3419, allocations: 1.281 MB / 0.5387 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.3424, allocations: 463.6 kB / 0.5392 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003531/0.3459, allocations: 2.919 MB / 0.542 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3459, allocations: 54.58 kB / 0.5421 GB, free: 15.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 2.876e-06/0.3459, allocations: 0 / 0.5421 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.008256/0.3542, allocations: 4.719 MB / 0.5467 GB, free: 10.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3542, allocations: 99.05 kB / 0.5468 GB, free: 10.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007556/0.355, allocations: 0.9611 MB / 0.5477 GB, free: 9.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/0.3551, allocations: 53.7 kB / 0.5478 GB, free: 9.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.3556, allocations: 0.9909 MB / 0.5487 GB, free: 8.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.3559, allocations: 0.6274 MB / 0.5494 GB, free: 7.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.3563, allocations: 413.1 kB / 0.5498 GB, free: 7.367 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3564, allocations: 480.7 kB / 0.5502 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.3568, allocations: 303.9 kB / 0.5505 GB, free: 6.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/0.3576, allocations: 1.113 MB / 0.5516 GB, free: 5.137 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.3589, allocations: 1.603 MB / 0.5532 GB, free: 3.191 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.359, allocations: 11.94 kB / 0.5532 GB, free: 3.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.002501/0.3615, allocations: 2.005 MB / 0.5551 GB, free: 1.141 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.3615, allocations: 16 kB / 0.5551 GB, free: 1.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.3615, allocations: 16 kB / 0.5552 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/0.3631, allocations: 0.5918 MB / 0.5557 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.3642, allocations: 483.3 kB / 0.5562 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1861/0.5503, allocations: 10.56 MB / 0.5665 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.5519, allocations: 63.62 kB / 0.5666 GB, free: 29.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.5522, allocations: 141.3 kB / 0.5667 GB, free: 29.99 MB / 426.7 MB 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.0007174/0.5529, allocations: 283.5 kB / 0.567 GB, free: 29.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/0.5535, allocations: 205.6 kB / 0.5672 GB, free: 29.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.5581, allocations: 2.037 MB / 0.5692 GB, free: 29.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.5581, allocations: 19.75 kB / 0.5692 GB, free: 29.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.5582, allocations: 5.406 kB / 0.5692 GB, free: 29.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.5582, allocations: 11.02 kB / 0.5692 GB, free: 29.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005253/0.5634, allocations: 3.18 MB / 0.5723 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.5634, allocations: 0.5625 kB / 0.5723 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009229/0.5644, allocations: 371.9 kB / 0.5726 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.5654, allocations: 481.4 kB / 0.5731 GB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/0.5655, allocations: 75.2 kB / 0.5732 GB, free: 29.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.5694, allocations: 8.926 MB / 0.5819 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5694, allocations: 3.469 kB / 0.5819 GB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.5719, allocations: 2.255 MB / 0.5841 GB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.5721, allocations: 134.8 kB / 0.5842 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.5722, allocations: 33.31 kB / 0.5843 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.5726, allocations: 41.84 kB / 0.5843 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.5728, allocations: 179.9 kB / 0.5845 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.5729, allocations: 110.2 kB / 0.5846 GB, free: 20.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000436/0.5734, allocations: 0.499 MB / 0.5851 GB, free: 20.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5734, allocations: 0.6875 kB / 0.5851 GB, free: 20.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001671/0.575, allocations: 0.6362 MB / 0.5857 GB, free: 20.63 MB / 426.7 MB 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 (153): * Single equations (assignments): 148 * 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): 4 systems {(1,9,100.0%), (1,6,100.0%), (1,7,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006805/0.5757, allocations: 457.5 kB / 0.5861 GB, free: 20.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.5777, allocations: 2.035 MB / 0.5881 GB, free: 19.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5777, allocations: 0 / 0.5881 GB, free: 19.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5788, allocations: 1.46 MB / 0.5895 GB, free: 19.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/0.5797, allocations: 334.7 kB / 0.5899 GB, free: 19.01 MB / 426.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.584, allocations: 3.195 MB / 0.593 GB, free: 17.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.5843, allocations: 374.3 kB / 0.5933 GB, free: 17.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001041/0.5853, allocations: 402.6 kB / 0.5937 GB, free: 17.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008453/0.5862, allocations: 0.539 MB / 0.5942 GB, free: 17.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5862, allocations: 0 / 0.5942 GB, free: 17.4 MB / 426.7 MB Notification: Performance of Templates: time 0.03494/0.6211, allocations: 34.49 MB / 0.6279 GB, free: 15.27 MB / 442.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.356153329834342]