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.001235/0.001235, allocations: 101.8 kB / 16.35 MB, free: 5.879 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.001357/0.001357, allocations: 199.1 kB / 17.3 MB, free: 5.52 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07978/0.07978, allocations: 15.31 MB / 306.5 MB, free: 15.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 62.84 kB / 371.7 MB, free: 50.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1058, allocations: 53.61 MB / 425.3 MB, free: 13.35 MB / 302.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.0343/0.1401, allocations: 28.09 MB / 453.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3685/0.5086, allocations: 153.2 MB / 0.5924 GB, free: 80 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.5102, allocations: 23.88 kB / 0.5924 GB, free: 56 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.5117, allocations: 0.5083 MB / 0.5929 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004725/0.5164, allocations: 1.649 MB / 0.5945 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008165/0.5246, allocations: 2.945 MB / 0.5974 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004498/0.5291, allocations: 2.586 MB / 0.5999 GB, free: 8.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.531, allocations: 1.522 MB / 0.6014 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.5324, allocations: 1.251 MB / 0.6027 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.5342, allocations: 1.382 MB / 0.604 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.5345, allocations: 224 kB / 0.6042 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/0.5408, allocations: 2.317 MB / 0.6065 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005876/0.5414, allocations: 0.5647 MB / 0.607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.5427, allocations: 1.186 MB / 0.6082 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009482/0.5522, allocations: 4.946 MB / 0.613 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5522, allocations: 0 / 0.613 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5522, allocations: 0 / 0.613 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.5523, allocations: 4 kB / 0.613 GB, free: 10.86 MB / 430.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.00514/0.5574, allocations: 2.828 MB / 0.6158 GB, free: 7.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5575, allocations: 11.97 kB / 0.6158 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00412/0.5616, allocations: 0.849 MB / 0.6166 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.5634, allocations: 0.9665 MB / 0.6176 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.5637, allocations: 211.8 kB / 0.6178 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003159/0.564, allocations: 192.4 kB / 0.618 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.5677, allocations: 2.156 MB / 0.6201 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.349e-05/0.5678, allocations: 0 / 0.6201 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.568, allocations: 76 kB / 0.6201 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.568, allocations: 48 kB / 0.6202 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003985/0.572, allocations: 2.307 MB / 0.6224 GB, free: 1.074 MB / 430.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.01185/0.5839, allocations: 7.627 MB / 0.6299 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/0.5883, allocations: 2.207 MB / 0.632 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.5896, allocations: 0.8343 MB / 0.6328 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008763/0.5984, allocations: 6.64 MB / 0.6393 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5985, allocations: 47.69 kB / 0.6394 GB, free: 14.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=133): time 2.855e-06/0.5985, allocations: 0 / 0.6394 GB, free: 14.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=176): time 0.01779/0.6163, allocations: 6.944 MB / 0.6462 GB, free: 7.395 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.6164, allocations: 95.11 kB / 0.6462 GB, free: 7.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.6175, allocations: 0.9573 MB / 0.6472 GB, free: 6.309 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.6176, allocations: 53.7 kB / 0.6472 GB, free: 6.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.6181, allocations: 0.8686 MB / 0.6481 GB, free: 5.367 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004544/0.6186, allocations: 0.6046 MB / 0.6487 GB, free: 4.754 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.6191, allocations: 411.5 kB / 0.6491 GB, free: 4.344 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.6192, allocations: 305.1 kB / 0.6494 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.6203, allocations: 0.6366 MB / 0.65 GB, free: 3.402 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.6218, allocations: 1.205 MB / 0.6512 GB, free: 1.941 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.6246, allocations: 1.999 MB / 0.6531 GB, free: 15.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.6247, allocations: 4 kB / 0.6531 GB, free: 15.69 MB / 478.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005211/0.6299, allocations: 2.624 MB / 0.6557 GB, free: 13.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.6299, allocations: 15.94 kB / 0.6557 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/0.63, allocations: 20 kB / 0.6557 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/0.6324, allocations: 0.6379 MB / 0.6563 GB, free: 12.35 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.6346, allocations: 487.2 kB / 0.6568 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.6448, allocations: 9.516 MB / 0.6661 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6466, allocations: 67.98 kB / 0.6662 GB, free: 1.711 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004593/0.647, allocations: 163.9 kB / 0.6663 GB, free: 1.551 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.001187/0.6482, allocations: 429.3 kB / 0.6667 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004696/0.6487, allocations: 146.1 kB / 0.6669 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006633/0.6554, allocations: 2.743 MB / 0.6695 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.6554, allocations: 20 kB / 0.6696 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/0.6554, allocations: 4 kB / 0.6696 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/0.6555, allocations: 14.64 kB / 0.6696 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009065/0.6645, allocations: 4.265 MB / 0.6737 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.6646, allocations: 0 / 0.6737 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/0.6665, allocations: 371.6 kB / 0.6741 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.669, allocations: 0.5863 MB / 0.6747 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.6692, allocations: 75.95 kB / 0.6747 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008971/0.6782, allocations: 8.647 MB / 0.6832 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.6782, allocations: 4.031 kB / 0.6832 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007238/0.6855, allocations: 3.281 MB / 0.6864 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/0.686, allocations: 211.1 kB / 0.6866 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.6864, allocations: 39.94 kB / 0.6866 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.6874, allocations: 43.98 kB / 0.6867 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/0.6878, allocations: 169.7 kB / 0.6868 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/0.688, allocations: 124 kB / 0.687 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001045/0.6891, allocations: 0.6221 MB / 0.6876 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6891, allocations: 0 / 0.6876 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002849/0.6919, allocations: 0.8316 MB / 0.6884 GB, free: 10.16 MB / 0.4981 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.002139/0.6941, allocations: 0.7959 MB / 0.6891 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004772/0.6989, allocations: 2.472 MB / 0.6916 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.6989, allocations: 4 kB / 0.6916 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002753/0.7017, allocations: 1.576 MB / 0.6931 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.7036, allocations: 313.2 kB / 0.6934 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007048/0.7106, allocations: 3.543 MB / 0.6969 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1838/0.8945, allocations: 1.406 MB / 0.6982 GB, free: 194.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001843/0.8964, allocations: 434.2 kB / 0.6987 GB, free: 194.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006943/0.8971, allocations: 272.9 kB / 0.6989 GB, free: 194.2 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.8971, allocations: 0 / 0.6989 GB, free: 194.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.04881/0.9459, allocations: 36.16 MB / 0.7342 GB, free: 176.4 MB / 0.4981 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 -s gbode -lv LOG_STATS > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1)