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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00662/0.00662, allocations: 101.1 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 193.4 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1862/0.1862, allocations: 15.31 MB / 305.9 MB, free: 15.33 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 55.91 kB / 370.3 MB, free: 4.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 53.61 MB / 423.9 MB, free: 14.77 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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.1-master/package.mo:4740:7-4740: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.4156/0.5173, allocations: 29.07 MB / 453 MB, free: 38.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1594/0.6767, allocations: 151 MB / 0.5899 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.6788, allocations: 47.69 kB / 0.5899 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.6807, allocations: 437.2 kB / 0.5903 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006077/0.6868, allocations: 1.459 MB / 0.5917 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009028/0.6959, allocations: 2.55 MB / 0.5942 GB, free: 7.551 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004183/0.7001, allocations: 2.511 MB / 0.5967 GB, free: 5.035 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.7025, allocations: 1.301 MB / 0.598 GB, free: 3.688 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.7049, allocations: 1.262 MB / 0.5992 GB, free: 2.422 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.7075, allocations: 1.429 MB / 0.6006 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007926/0.7083, allocations: 148 kB / 0.6007 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2678/0.9761, allocations: 2.324 MB / 0.603 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.9771, allocations: 0.517 MB / 0.6035 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002478/0.9796, allocations: 1.134 MB / 0.6046 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006931/0.9866, allocations: 3.89 MB / 0.6084 GB, free: 7.988 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.9866, allocations: 3.312 kB / 0.6084 GB, free: 7.988 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.9866, allocations: 0 / 0.6084 GB, free: 7.988 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.775e-05/0.9867, allocations: 0 / 0.6084 GB, free: 7.988 MB / 462.1 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.005851/0.9926, allocations: 2.826 MB / 0.6112 GB, free: 6.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.9926, allocations: 8.969 kB / 0.6112 GB, free: 6.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004393/0.997, allocations: 0.8477 MB / 0.612 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.999, allocations: 0.9429 MB / 0.6129 GB, free: 6.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.9992, allocations: 203.5 kB / 0.6131 GB, free: 6.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/0.9995, allocations: 201 kB / 0.6133 GB, free: 6.141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/1.003, allocations: 2.152 MB / 0.6154 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/1.003, allocations: 0 / 0.6154 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/1.003, allocations: 78.41 kB / 0.6155 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/1.003, allocations: 47.06 kB / 0.6155 GB, free: 5.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003553/1.007, allocations: 2.309 MB / 0.6178 GB, free: 5.945 MB / 462.1 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.01226/1.019, allocations: 7.668 MB / 0.6253 GB, free: 18.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/1.024, allocations: 2.199 MB / 0.6274 GB, free: 18.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.026, allocations: 0.8366 MB / 0.6282 GB, free: 18.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/1.036, allocations: 6.64 MB / 0.6347 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/1.036, allocations: 55.44 kB / 0.6348 GB, free: 14.33 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 3.447e-06/1.036, allocations: 0 / 0.6348 GB, free: 14.33 MB / 478.1 MB Notification: Performance of matching and sorting (n=176): time 0.02156/1.057, allocations: 6.941 MB / 0.6416 GB, free: 12.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/1.057, allocations: 97.67 kB / 0.6416 GB, free: 12.69 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.058, allocations: 0.959 MB / 0.6426 GB, free: 12.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001998/1.059, allocations: 53.95 kB / 0.6426 GB, free: 12.49 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004639/1.059, allocations: 0.8741 MB / 0.6435 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004161/1.06, allocations: 0.5987 MB / 0.6441 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/1.06, allocations: 411.8 kB / 0.6445 GB, free: 11.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/1.06, allocations: 311.3 kB / 0.6448 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.061, allocations: 0.6275 MB / 0.6454 GB, free: 11.31 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/1.063, allocations: 1.203 MB / 0.6465 GB, free: 10.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/1.066, allocations: 2.003 MB / 0.6485 GB, free: 9.988 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.066, allocations: 5.266 kB / 0.6485 GB, free: 9.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005567/1.071, allocations: 2.627 MB / 0.6511 GB, free: 9.766 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/1.071, allocations: 14.8 kB / 0.6511 GB, free: 9.766 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/1.071, allocations: 15.19 kB / 0.6511 GB, free: 9.766 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/1.074, allocations: 0.6349 MB / 0.6517 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/1.076, allocations: 485.5 kB / 0.6522 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.086, allocations: 8.789 MB / 0.6608 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/1.088, allocations: 118.3 kB / 0.6609 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005624/1.089, allocations: 162.5 kB / 0.661 GB, free: 3.375 MB / 478.1 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.001402/1.09, allocations: 433.5 kB / 0.6615 GB, free: 3.199 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006416/1.091, allocations: 144.5 kB / 0.6616 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007149/1.098, allocations: 2.742 MB / 0.6643 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/1.098, allocations: 18.53 kB / 0.6643 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/1.098, allocations: 5.031 kB / 0.6643 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/1.098, allocations: 11.25 kB / 0.6643 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/1.108, allocations: 4.273 MB / 0.6685 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.108, allocations: 7.875 kB / 0.6685 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/1.11, allocations: 364.7 kB / 0.6688 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/1.113, allocations: 0.5796 MB / 0.6694 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/1.113, allocations: 83.59 kB / 0.6695 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008668/1.122, allocations: 8.087 MB / 0.6774 GB, free: 8.168 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.122, allocations: 6.922 kB / 0.6774 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007272/1.129, allocations: 3.274 MB / 0.6806 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/1.13, allocations: 218.8 kB / 0.6808 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/1.13, allocations: 34.31 kB / 0.6808 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.131, allocations: 63.56 kB / 0.6809 GB, free: 6.129 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/1.132, allocations: 168.6 kB / 0.681 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.132, allocations: 127.2 kB / 0.6812 GB, free: 6.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009898/1.133, allocations: 0.6202 MB / 0.6818 GB, free: 5.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.133, allocations: 0 / 0.6818 GB, free: 5.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003317/1.136, allocations: 0.8441 MB / 0.6826 GB, free: 5.465 MB / 494.1 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 (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.002121/1.139, allocations: 0.7942 MB / 0.6834 GB, free: 5.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004888/1.143, allocations: 2.468 MB / 0.6858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.143, allocations: 0 / 0.6858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003046/1.146, allocations: 1.58 MB / 0.6873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.149, allocations: 285.3 kB / 0.6876 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007784/1.156, allocations: 4.527 MB / 0.692 GB, free: 12.65 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/1.158, allocations: 1.402 MB / 0.6934 GB, free: 11.23 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.159, allocations: 332.9 kB / 0.6937 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of SimCode: time 2.294e-06/1.159, allocations: 0 / 0.6937 GB, free: 10.93 MB / 0.4982 GB Notification: Performance of Templates: time 0.07725/1.236, allocations: 72.6 MB / 0.7646 GB, free: 2.75 MB / 0.5607 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)