Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HydrogenCombustion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.0809/0.0809, allocations: 15.28 MB / 31.08 MB, free: 3.109 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 202.7 kB / 36.14 MB, free: 2.137 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 264 MB, free: 4.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009151, allocations: 112.9 kB / 318.4 MB, free: 3.43 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 60.02 kB / 382.7 MB, free: 48.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.0905, allocations: 53.61 MB / 436.3 MB, free: 1.047 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721: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 1.4.0-master/package.mo:4721:7-4721: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.Examples.HydrogenCombustion): time 0.03298/0.1235, allocations: 26.62 MB / 462.9 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3401/0.4637, allocations: 150.9 MB / 0.5994 GB, free: 8.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002045/0.4658, allocations: 43.69 kB / 0.5995 GB, free: 8.781 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.4675, allocations: 448.3 kB / 0.5999 GB, free: 8.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005122/0.4726, allocations: 1.431 MB / 0.6013 GB, free: 6.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009547/0.4822, allocations: 2.55 MB / 0.6038 GB, free: 4.348 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.486, allocations: 2.52 MB / 0.6063 GB, free: 1.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.4875, allocations: 1.306 MB / 0.6075 GB, free: 480 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.4889, allocations: 1.266 MB / 0.6088 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.4905, allocations: 1.433 MB / 0.6102 GB, free: 13.76 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002825/0.4908, allocations: 148 kB / 0.6103 GB, free: 13.62 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006024/0.4968, allocations: 2.316 MB / 0.6126 GB, free: 11.3 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006162/0.4974, allocations: 0.5178 MB / 0.6131 GB, free: 10.78 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.4987, allocations: 1.135 MB / 0.6142 GB, free: 9.637 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009658/0.5083, allocations: 4.997 MB / 0.6191 GB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.5084, allocations: 0 / 0.6191 GB, free: 4.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.5084, allocations: 0 / 0.6191 GB, free: 4.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.886e-05/0.5085, allocations: 0 / 0.6191 GB, free: 4.625 MB / 426.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.005197/0.5137, allocations: 2.814 MB / 0.6218 GB, free: 1.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.5137, allocations: 12.88 kB / 0.6218 GB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00366/0.5174, allocations: 0.8489 MB / 0.6227 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.5189, allocations: 0.9314 MB / 0.6236 GB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.5191, allocations: 212.5 kB / 0.6238 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.5193, allocations: 202.3 kB / 0.624 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.5226, allocations: 2.152 MB / 0.6261 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.5227, allocations: 0 / 0.6261 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.5228, allocations: 80 kB / 0.6261 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.5229, allocations: 48 kB / 0.6262 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/0.5265, allocations: 2.303 MB / 0.6284 GB, free: 10.88 MB / 442.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.01482/0.5414, allocations: 7.662 MB / 0.6359 GB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00655/0.5479, allocations: 2.208 MB / 0.6381 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.5501, allocations: 0.8297 MB / 0.6389 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01315/0.5633, allocations: 6.656 MB / 0.6454 GB, free: 8.309 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.453e-05/0.5634, allocations: 43.69 kB / 0.6454 GB, free: 8.258 MB / 458.7 MB Notification: Performance of pre-optimization done (n=133): time 5.671e-06/0.5634, allocations: 0 / 0.6454 GB, free: 8.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.02773/0.5912, allocations: 6.946 MB / 0.6522 GB, free: 1.133 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.5913, allocations: 103 kB / 0.6523 GB, free: 1.012 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.5931, allocations: 0.9495 MB / 0.6532 GB, free: 48 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.5933, allocations: 61.78 kB / 0.6533 GB, free: 15.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007657/0.5941, allocations: 0.8762 MB / 0.6541 GB, free: 15.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.5947, allocations: 0.6007 MB / 0.6547 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000804/0.5956, allocations: 407.4 kB / 0.6551 GB, free: 14.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5957, allocations: 309.1 kB / 0.6554 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.597, allocations: 0.6326 MB / 0.656 GB, free: 13.13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.5985, allocations: 1.202 MB / 0.6572 GB, free: 11.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/0.6012, allocations: 2.003 MB / 0.6592 GB, free: 9.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.6012, allocations: 8 kB / 0.6592 GB, free: 9.422 MB / 474.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005059/0.6062, allocations: 2.625 MB / 0.6617 GB, free: 6.77 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.6063, allocations: 12.19 kB / 0.6617 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.6063, allocations: 20 kB / 0.6618 GB, free: 6.738 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.6086, allocations: 0.6293 MB / 0.6624 GB, free: 6.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.6107, allocations: 487.3 kB / 0.6628 GB, free: 5.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008086/0.6188, allocations: 8.779 MB / 0.6714 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.6202, allocations: 123.7 kB / 0.6715 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.6204, allocations: 162.6 kB / 0.6717 GB, free: 11.99 MB / 490.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,10,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,11), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000682/0.6211, allocations: 429.2 kB / 0.6721 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.6213, allocations: 146.2 kB / 0.6722 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006021/0.6274, allocations: 2.74 MB / 0.6749 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.6274, allocations: 20 kB / 0.6749 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6274, allocations: 4 kB / 0.6749 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.6274, allocations: 7.969 kB / 0.6749 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007035/0.6345, allocations: 4.28 MB / 0.6791 GB, free: 4.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6345, allocations: 3.938 kB / 0.6791 GB, free: 4.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/0.6364, allocations: 359.7 kB / 0.6795 GB, free: 3.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/0.6386, allocations: 0.5928 MB / 0.68 GB, free: 3.301 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.6388, allocations: 71.97 kB / 0.6801 GB, free: 3.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.6463, allocations: 8.088 MB / 0.688 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6463, allocations: 0 / 0.688 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2797/0.926, allocations: 30.51 MB / 0.7178 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002205/0.9263, allocations: 204.5 kB / 0.718 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.9265, allocations: 36.22 kB / 0.718 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008384/0.9273, allocations: 68.83 kB / 0.7181 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.9277, allocations: 174.4 kB / 0.7183 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.9279, allocations: 125.9 kB / 0.7184 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000727/0.9286, allocations: 0.6221 MB / 0.719 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9287, allocations: 0 / 0.719 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004016/0.9327, allocations: 1.284 MB / 0.7203 GB, free: 176.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 (147): * Single equations (assignments): 141 * 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,6,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,10), (1,8), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002504/0.9352, allocations: 0.8549 MB / 0.7211 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004179/0.9394, allocations: 2.457 MB / 0.7235 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.9394, allocations: 0.5 kB / 0.7235 GB, free: 175.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.9416, allocations: 1.59 MB / 0.725 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.9431, allocations: 285.3 kB / 0.7253 GB, free: 174.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007235/0.9503, allocations: 6.314 MB / 0.7315 GB, free: 170.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.9511, allocations: 1.468 MB / 0.7329 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002683/0.9538, allocations: 0.6039 MB / 0.7335 GB, free: 169.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/0.955, allocations: 392.9 kB / 0.7339 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.955, allocations: 0 / 0.7339 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.06298/1.018, allocations: 59.2 MB / 0.7917 GB, free: 117.8 MB / 0.4948 GB make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.makefile (rm -f Chemical_Chemical.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Examples.HydrogenCombustion.sim & ./Chemical_Chemical.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1)