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.0009577/0.0009578, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009519/0.000952, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.165/1.165, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1586/0.1586, allocations: 15.32 MB / 305.7 MB, free: 15.3 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 63.89 kB / 370.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08051/0.08162, allocations: 53.61 MB / 423.9 MB, free: 14.29 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.2644/0.3461, allocations: 28.28 MB / 452.2 MB, free: 39.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1265/0.4726, allocations: 153.2 MB / 0.5912 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000947/0.4735, allocations: 27.88 kB / 0.5913 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.4746, allocations: 0.5117 MB / 0.5918 GB, free: 9.621 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003191/0.4778, allocations: 1.633 MB / 0.5934 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00583/0.4837, allocations: 2.949 MB / 0.5962 GB, free: 5.012 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.4857, allocations: 2.577 MB / 0.5988 GB, free: 2.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.487, allocations: 1.517 MB / 0.6002 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1734/0.6604, allocations: 1.243 MB / 0.6014 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.662, allocations: 1.373 MB / 0.6028 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.6623, allocations: 225.9 kB / 0.603 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/0.6674, allocations: 2.324 MB / 0.6053 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003492/0.6678, allocations: 0.5735 MB / 0.6058 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008472/0.6686, allocations: 1.186 MB / 0.607 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004832/0.6735, allocations: 4.914 MB / 0.6118 GB, free: 6.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6735, allocations: 0 / 0.6118 GB, free: 6.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6735, allocations: 0 / 0.6118 GB, free: 6.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.6735, allocations: 0 / 0.6118 GB, free: 6.816 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.003689/0.6772, allocations: 2.839 MB / 0.6146 GB, free: 5.555 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.6773, allocations: 9.375 kB / 0.6146 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.6811, allocations: 0.8503 MB / 0.6154 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.6828, allocations: 0.9346 MB / 0.6163 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.6829, allocations: 202.2 kB / 0.6165 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.6832, allocations: 204 kB / 0.6167 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.6861, allocations: 2.15 MB / 0.6188 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.6861, allocations: 1.5 kB / 0.6188 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.6863, allocations: 79 kB / 0.6189 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.545e-05/0.6863, allocations: 47.41 kB / 0.6189 GB, free: 4.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003158/0.6895, allocations: 2.305 MB / 0.6212 GB, free: 4.77 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.009725/0.6992, allocations: 7.686 MB / 0.6287 GB, free: 17.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003956/0.7032, allocations: 2.207 MB / 0.6308 GB, free: 16.97 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.7044, allocations: 0.8301 MB / 0.6316 GB, free: 16.95 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007339/0.7117, allocations: 6.647 MB / 0.6381 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.7118, allocations: 47.53 kB / 0.6382 GB, free: 13.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 2.665e-06/0.7118, allocations: 0 / 0.6382 GB, free: 13.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=176): time 0.01559/0.7274, allocations: 6.952 MB / 0.645 GB, free: 11.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.7274, allocations: 95.61 kB / 0.6451 GB, free: 11.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.7284, allocations: 0.9576 MB / 0.646 GB, free: 11.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.871e-05/0.7285, allocations: 57.42 kB / 0.6461 GB, free: 11.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.7288, allocations: 0.8775 MB / 0.6469 GB, free: 10.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.7291, allocations: 0.5979 MB / 0.6475 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004163/0.7295, allocations: 408.5 kB / 0.6479 GB, free: 10.44 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.7296, allocations: 306.3 kB / 0.6482 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000912/0.7305, allocations: 0.6349 MB / 0.6488 GB, free: 10.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.7317, allocations: 1.205 MB / 0.65 GB, free: 9.473 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.7341, allocations: 1.997 MB / 0.6519 GB, free: 8.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7342, allocations: 6.406 kB / 0.6519 GB, free: 8.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00427/0.7384, allocations: 2.63 MB / 0.6545 GB, free: 8.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.7385, allocations: 15.56 kB / 0.6545 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.7385, allocations: 21.5 kB / 0.6545 GB, free: 8.539 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/0.7405, allocations: 0.6232 MB / 0.6551 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.7425, allocations: 484.2 kB / 0.6556 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008356/0.7508, allocations: 9.526 MB / 0.6649 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.7521, allocations: 65.62 kB / 0.665 GB, free: 152 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.7523, allocations: 167.2 kB / 0.6651 GB, free: 132 kB / 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.0008262/0.7531, allocations: 445.1 kB / 0.6656 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.7534, allocations: 147.8 kB / 0.6657 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/0.7589, allocations: 2.733 MB / 0.6684 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.7589, allocations: 18.97 kB / 0.6684 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7589, allocations: 4.656 kB / 0.6684 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.759, allocations: 9.047 kB / 0.6684 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/0.7654, allocations: 4.279 MB / 0.6726 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.7655, allocations: 1.188 kB / 0.6726 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.7672, allocations: 369 kB / 0.6729 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002072/0.7693, allocations: 0.5906 MB / 0.6735 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.7694, allocations: 77.61 kB / 0.6736 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006937/0.7763, allocations: 8.651 MB / 0.682 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7764, allocations: 1.094 kB / 0.682 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/0.7817, allocations: 3.282 MB / 0.6852 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.7819, allocations: 211.1 kB / 0.6854 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.7821, allocations: 39.92 kB / 0.6855 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.7829, allocations: 40 kB / 0.6855 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.7832, allocations: 168.5 kB / 0.6857 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/0.7834, allocations: 124 kB / 0.6858 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006829/0.7841, allocations: 0.6218 MB / 0.6864 GB, free: 348 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7841, allocations: 3.094 kB / 0.6864 GB, free: 348 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.002227/0.7863, allocations: 0.8355 MB / 0.6872 GB, free: 15.5 MB / 0.4982 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.001651/0.788, allocations: 0.7886 MB / 0.688 GB, free: 14.86 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.004364/0.7923, allocations: 2.563 MB / 0.6905 GB, free: 12.33 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7924, allocations: 2.625 kB / 0.6905 GB, free: 12.33 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/0.7945, allocations: 1.58 MB / 0.692 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.7958, allocations: 309.7 kB / 0.6923 GB, free: 10.47 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005063/0.8009, allocations: 3.597 MB / 0.6958 GB, free: 6.98 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009222/0.8018, allocations: 1.41 MB / 0.6972 GB, free: 5.559 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.001734/0.8035, allocations: 439.4 kB / 0.6976 GB, free: 5.254 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007268/0.8043, allocations: 275.8 kB / 0.6979 GB, free: 5 MB / 0.4982 GB Notification: Performance of SimCode: time 2.81e-07/0.8043, allocations: 0 / 0.6979 GB, free: 5 MB / 0.4982 GB Notification: Performance of Templates: time 0.05012/0.8544, allocations: 36.14 MB / 0.7332 GB, free: 1.602 MB / 0.5294 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)