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.001045/0.001045, allocations: 97.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001261/0.001261, allocations: 173 kB / 23.02 MB, free: 1.547 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 1.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.09154/0.09154, allocations: 17.38 MB / 277.3 MB, free: 11.64 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 353.4 MB, free: 9.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.941e-05, allocations: 2.312 kB / 353.4 MB, free: 9.973 MB / 282.7 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.02995/0.02997, allocations: 32.11 MB / 385.6 MB, free: 9.977 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3081/0.338, allocations: 136.9 MB / 0.5102 GB, free: 0.625 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.3394, allocations: 35.75 kB / 0.5103 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008383/0.3403, allocations: 352.7 kB / 0.5106 GB, free: 252 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.3427, allocations: 1.168 MB / 0.5118 GB, free: 15.07 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.346, allocations: 1.559 MB / 0.5133 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.3485, allocations: 2.694 MB / 0.5159 GB, free: 10.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.3498, allocations: 1.265 MB / 0.5171 GB, free: 9.484 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.3513, allocations: 1.759 MB / 0.5189 GB, free: 7.723 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.3525, allocations: 1.169 MB / 0.52 GB, free: 6.551 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003051/0.3528, allocations: 224 kB / 0.5202 GB, free: 6.332 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.3547, allocations: 1.033 MB / 0.5212 GB, free: 5.297 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003605/0.3551, allocations: 0.5879 MB / 0.5218 GB, free: 4.707 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006388/0.3557, allocations: 0.8419 MB / 0.5226 GB, free: 3.863 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.3586, allocations: 2.967 MB / 0.5255 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3586, allocations: 0 / 0.5255 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3586, allocations: 0 / 0.5255 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.587e-05/0.3586, allocations: 0 / 0.5255 GB, free: 0.8867 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.002999/0.3616, allocations: 2.685 MB / 0.5281 GB, free: 14.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3617, allocations: 16.03 kB / 0.5282 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002545/0.3642, allocations: 1.226 MB / 0.5294 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.3653, allocations: 0.9232 MB / 0.5303 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/0.3655, allocations: 259.2 kB / 0.5305 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.3657, allocations: 196.3 kB / 0.5307 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.3677, allocations: 1.738 MB / 0.5324 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.3677, allocations: 4.125 kB / 0.5324 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.3678, allocations: 81.5 kB / 0.5325 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.3679, allocations: 48 kB / 0.5325 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.3697, allocations: 1.514 MB / 0.534 GB, free: 8.039 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.005879/0.3756, allocations: 6.058 MB / 0.5399 GB, free: 1.836 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.3776, allocations: 1.399 MB / 0.5413 GB, free: 424 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.3782, allocations: 0.5303 MB / 0.5418 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003314/0.3815, allocations: 2.9 MB / 0.5446 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3816, allocations: 54.7 kB / 0.5447 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 2.555e-06/0.3816, allocations: 0 / 0.5447 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.008864/0.3904, allocations: 5.527 MB / 0.5501 GB, free: 7.258 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.3905, allocations: 99.11 kB / 0.5502 GB, free: 7.141 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.3913, allocations: 0.9733 MB / 0.5511 GB, free: 6.148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/0.3914, allocations: 57.7 kB / 0.5512 GB, free: 6.086 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.3919, allocations: 0.9872 MB / 0.5521 GB, free: 5.086 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003783/0.3923, allocations: 0.6158 MB / 0.5527 GB, free: 4.465 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.3926, allocations: 413.2 kB / 0.5531 GB, free: 4.051 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3927, allocations: 480.7 kB / 0.5536 GB, free: 3.578 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.3933, allocations: 395.9 kB / 0.554 GB, free: 3.184 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000942/0.3943, allocations: 1.179 MB / 0.5551 GB, free: 1.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1787/0.573, allocations: 1.759 MB / 0.5568 GB, free: 37.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.241e-05/0.573, allocations: 5.625 kB / 0.5568 GB, free: 37.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003285/0.5763, allocations: 2.145 MB / 0.5589 GB, free: 37.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.5763, allocations: 12.97 kB / 0.5589 GB, free: 37.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.5763, allocations: 18.69 kB / 0.559 GB, free: 37.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.5776, allocations: 0.5631 MB / 0.5595 GB, free: 37.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5788, allocations: 485.1 kB / 0.56 GB, free: 37.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004727/0.5835, allocations: 10.75 MB / 0.5705 GB, free: 28.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.5842, allocations: 72.02 kB / 0.5705 GB, free: 28.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.5844, allocations: 154.2 kB / 0.5707 GB, free: 28.08 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.0004195/0.5848, allocations: 283.8 kB / 0.571 GB, free: 27.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.585, allocations: 204 kB / 0.5712 GB, free: 27.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.5882, allocations: 2.14 MB / 0.5733 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.5882, allocations: 19.31 kB / 0.5733 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.5882, allocations: 4.781 kB / 0.5733 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5882, allocations: 9.109 kB / 0.5733 GB, free: 27.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/0.5917, allocations: 3.255 MB / 0.5765 GB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.5917, allocations: 8.047 kB / 0.5765 GB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/0.5926, allocations: 367.9 kB / 0.5768 GB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.5937, allocations: 494.3 kB / 0.5773 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.983e-05/0.5938, allocations: 70.48 kB / 0.5774 GB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.5965, allocations: 7.702 MB / 0.5849 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5965, allocations: 3.781 kB / 0.5849 GB, free: 20.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.5992, allocations: 2.447 MB / 0.5873 GB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5993, allocations: 131.8 kB / 0.5874 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.5995, allocations: 40.41 kB / 0.5874 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.5998, allocations: 35.25 kB / 0.5875 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002413/0.6001, allocations: 174.5 kB / 0.5876 GB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.6002, allocations: 117.3 kB / 0.5877 GB, free: 19.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003727/0.6005, allocations: 0.5333 MB / 0.5883 GB, free: 19.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.6005, allocations: 0 / 0.5883 GB, free: 19.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001441/0.602, allocations: 0.6417 MB / 0.5889 GB, free: 19.6 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): 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.0007922/0.6028, allocations: 432.8 kB / 0.5893 GB, free: 19.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002728/0.6055, allocations: 2.193 MB / 0.5915 GB, free: 18.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6055, allocations: 0.75 kB / 0.5915 GB, free: 18.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.6067, allocations: 1.341 MB / 0.5928 GB, free: 18.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.6077, allocations: 338.8 kB / 0.5931 GB, free: 18.15 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.004015/0.6117, allocations: 3.242 MB / 0.5963 GB, free: 16.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.612, allocations: 367 kB / 0.5966 GB, free: 16.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000906/0.6129, allocations: 408 kB / 0.597 GB, free: 16.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.6133, allocations: 264.9 kB / 0.5972 GB, free: 16.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6133, allocations: 3.891 kB / 0.5972 GB, free: 16.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03122/0.6445, allocations: 33.05 MB / 0.6295 GB, free: 14.89 MB / 442.7 MB " [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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.532671415247023]