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.001289/0.001289, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.001321/0.001322, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.078/0.078, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 425.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09127/0.09253, allocations: 53.61 MB / 479.5 MB, free: 5.77 MB / 350.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.03959/0.1322, allocations: 28.29 MB / 0.4959 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3743/0.5065, allocations: 153.2 MB / 0.6455 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.5082, allocations: 23.88 kB / 0.6455 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.5102, allocations: 0.4988 MB / 0.646 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.5157, allocations: 1.653 MB / 0.6476 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00865/0.5243, allocations: 2.937 MB / 0.6505 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004065/0.5284, allocations: 2.59 MB / 0.653 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002306/0.5308, allocations: 1.529 MB / 0.6545 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.5329, allocations: 1.243 MB / 0.6557 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.5353, allocations: 1.374 MB / 0.6571 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008184/0.5362, allocations: 232 kB / 0.6573 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007508/0.5437, allocations: 2.321 MB / 0.6595 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.5448, allocations: 0.5725 MB / 0.6601 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.5471, allocations: 1.178 MB / 0.6613 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.5586, allocations: 4.954 MB / 0.6661 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5587, allocations: 3.984 kB / 0.6661 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.846e-06/0.5587, allocations: 0 / 0.6661 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001123/0.5588, allocations: 7.938 kB / 0.6661 GB, free: 7.523 MB / 0.4981 GB 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.006732/0.5656, allocations: 2.823 MB / 0.6689 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5656, allocations: 8.031 kB / 0.6689 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.5702, allocations: 0.8457 MB / 0.6697 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.5723, allocations: 0.9742 MB / 0.6706 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002155/0.5725, allocations: 199.8 kB / 0.6708 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005648/0.5731, allocations: 208.2 kB / 0.671 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005151/0.5783, allocations: 2.156 MB / 0.6731 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.294e-05/0.5784, allocations: 0 / 0.6731 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.5787, allocations: 76 kB / 0.6732 GB, free: 88 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.5788, allocations: 52 kB / 0.6733 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004706/0.5835, allocations: 2.307 MB / 0.6755 GB, free: 13.73 MB / 0.5137 GB 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.01347/0.597, allocations: 7.62 MB / 0.683 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004542/0.6016, allocations: 2.205 MB / 0.6851 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.603, allocations: 0.8292 MB / 0.6859 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009363/0.6124, allocations: 6.636 MB / 0.6924 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.6125, allocations: 47.69 kB / 0.6924 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.847e-06/0.6125, allocations: 0 / 0.6924 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=176): time 0.02055/0.6331, allocations: 6.953 MB / 0.6992 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.6332, allocations: 103.1 kB / 0.6993 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.6345, allocations: 0.9534 MB / 0.7003 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.6348, allocations: 53.7 kB / 0.7003 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/0.6354, allocations: 0.8802 MB / 0.7012 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007224/0.6361, allocations: 0.5929 MB / 0.7018 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008151/0.6369, allocations: 411.5 kB / 0.7021 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/0.637, allocations: 305.1 kB / 0.7024 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.6383, allocations: 0.6366 MB / 0.7031 GB, free: 64 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.6398, allocations: 1.197 MB / 0.7042 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/0.643, allocations: 2.001 MB / 0.7062 GB, free: 12.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/0.643, allocations: 8 kB / 0.7062 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005985/0.649, allocations: 2.621 MB / 0.7087 GB, free: 9.707 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.6491, allocations: 16 kB / 0.7088 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.6492, allocations: 16 kB / 0.7088 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.6516, allocations: 0.6424 MB / 0.7094 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/0.6539, allocations: 487.3 kB / 0.7099 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2746/0.9285, allocations: 9.514 MB / 0.7192 GB, free: 60.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.93, allocations: 62.3 kB / 0.7192 GB, free: 60.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000306/0.9303, allocations: 167 kB / 0.7194 GB, free: 60.47 MB / 0.545 GB 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.0008372/0.9312, allocations: 426.1 kB / 0.7198 GB, free: 60.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.9315, allocations: 146.6 kB / 0.7199 GB, free: 60.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/0.9377, allocations: 2.737 MB / 0.7226 GB, free: 60.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.9377, allocations: 19.53 kB / 0.7226 GB, free: 60.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/0.9378, allocations: 5.562 kB / 0.7226 GB, free: 60.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/0.9378, allocations: 11.06 kB / 0.7226 GB, free: 60.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008008/0.9458, allocations: 4.266 MB / 0.7268 GB, free: 59.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.9459, allocations: 2.375 kB / 0.7268 GB, free: 59.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/0.9481, allocations: 358.8 kB / 0.7271 GB, free: 59.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002448/0.9506, allocations: 0.5892 MB / 0.7277 GB, free: 59.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/0.9509, allocations: 78.95 kB / 0.7278 GB, free: 59.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007097/0.958, allocations: 8.643 MB / 0.7362 GB, free: 53.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9581, allocations: 6.562 kB / 0.7362 GB, free: 53.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/0.9641, allocations: 3.292 MB / 0.7395 GB, free: 52.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.9644, allocations: 205.2 kB / 0.7397 GB, free: 52.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.9647, allocations: 35.31 kB / 0.7397 GB, free: 52.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008195/0.9655, allocations: 38.62 kB / 0.7397 GB, free: 52.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/0.9659, allocations: 171.7 kB / 0.7399 GB, free: 52.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.966, allocations: 127.9 kB / 0.74 GB, free: 52.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007681/0.9668, allocations: 0.6239 MB / 0.7406 GB, free: 52.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9668, allocations: 0 / 0.7406 GB, free: 52.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002478/0.9693, allocations: 0.8407 MB / 0.7414 GB, free: 52.55 MB / 0.545 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.001476/0.9708, allocations: 0.7874 MB / 0.7422 GB, free: 52.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003632/0.9744, allocations: 2.469 MB / 0.7446 GB, free: 51.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9744, allocations: 6.656 kB / 0.7446 GB, free: 51.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/0.9766, allocations: 1.576 MB / 0.7462 GB, free: 51.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.9781, allocations: 307.4 kB / 0.7465 GB, free: 51.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005249/0.9834, allocations: 3.608 MB / 0.75 GB, free: 50.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.9842, allocations: 1.4 MB / 0.7513 GB, free: 49.39 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.9852, allocations: 341 kB / 0.7517 GB, free: 49.38 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.9853, allocations: 0 / 0.7517 GB, free: 49.38 MB / 0.545 GB Notification: Performance of Templates: time 0.0581/1.043, allocations: 72.67 MB / 0.8226 GB, free: 9.078 MB / 0.5606 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)