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.008191/0.008191, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.001872/0.001872, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.3005/0.3005, allocations: 15.32 MB / 305.8 MB, free: 15.3 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.91 kB / 425.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3759, allocations: 53.6 MB / 478.8 MB, free: 25.71 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.04583/0.4218, allocations: 28.3 MB / 0.4952 GB, free: 6.262 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.6745/1.096, allocations: 153.2 MB / 0.6448 GB, free: 6.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/1.099, allocations: 29.75 kB / 0.6449 GB, free: 6.906 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001822/1.101, allocations: 0.5039 MB / 0.6453 GB, free: 6.699 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007491/1.108, allocations: 1.636 MB / 0.6469 GB, free: 6.035 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01935/1.128, allocations: 2.952 MB / 0.6498 GB, free: 5.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009188/1.137, allocations: 2.587 MB / 0.6524 GB, free: 4.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005273/1.142, allocations: 1.52 MB / 0.6538 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004687/1.147, allocations: 1.254 MB / 0.6551 GB, free: 4.207 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004522/1.152, allocations: 1.376 MB / 0.6564 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001662/1.153, allocations: 227.1 kB / 0.6566 GB, free: 3.926 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01493/1.168, allocations: 2.326 MB / 0.6589 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001914/1.17, allocations: 0.5722 MB / 0.6595 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004097/1.174, allocations: 1.18 MB / 0.6606 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01846/1.193, allocations: 4.959 MB / 0.6654 GB, free: 1.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.193, allocations: 2.625 kB / 0.6655 GB, free: 1.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/1.193, allocations: 0 / 0.6655 GB, free: 1.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002016/1.193, allocations: 0 / 0.6655 GB, free: 1.137 MB / 478.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.01218/1.205, allocations: 2.823 MB / 0.6682 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/1.206, allocations: 10.06 kB / 0.6682 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005812/1.211, allocations: 0.8492 MB / 0.669 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00335/1.215, allocations: 0.9675 MB / 0.67 GB, free: 14.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000296/1.215, allocations: 204.3 kB / 0.6702 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007355/1.216, allocations: 197.5 kB / 0.6704 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004018/1.22, allocations: 2.159 MB / 0.6725 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/1.22, allocations: 3.984 kB / 0.6725 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001759/1.22, allocations: 76.53 kB / 0.6726 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.909e-05/1.22, allocations: 51.72 kB / 0.6726 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003993/1.224, allocations: 2.309 MB / 0.6749 GB, free: 13.25 MB / 494.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.0135/1.238, allocations: 7.635 MB / 0.6823 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00447/1.242, allocations: 2.206 MB / 0.6845 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.244, allocations: 0.8315 MB / 0.6853 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/1.254, allocations: 6.634 MB / 0.6918 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/1.254, allocations: 48.8 kB / 0.6918 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.757e-06/1.254, allocations: 0 / 0.6918 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=176): time 0.02167/1.276, allocations: 6.947 MB / 0.6986 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.276, allocations: 99.11 kB / 0.6987 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.278, allocations: 0.965 MB / 0.6996 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/1.278, allocations: 53.7 kB / 0.6997 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008871/1.279, allocations: 0.8737 MB / 0.7005 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008765/1.28, allocations: 0.5995 MB / 0.7011 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009886/1.281, allocations: 411.5 kB / 0.7015 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002066/1.281, allocations: 309.1 kB / 0.7018 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/1.283, allocations: 0.6288 MB / 0.7024 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/1.285, allocations: 1.201 MB / 0.7036 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004004/1.289, allocations: 2.006 MB / 0.7056 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/1.289, allocations: 4 kB / 0.7056 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006242/1.296, allocations: 2.625 MB / 0.7081 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/1.296, allocations: 16.25 kB / 0.7081 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.836e-05/1.296, allocations: 20 kB / 0.7082 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002678/1.298, allocations: 0.6292 MB / 0.7088 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002475/1.301, allocations: 486.3 kB / 0.7092 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/1.313, allocations: 9.51 MB / 0.7185 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/1.315, allocations: 67.98 kB / 0.7186 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005579/1.316, allocations: 168 kB / 0.7187 GB, free: 5.59 MB / 0.5137 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.001527/1.317, allocations: 430.1 kB / 0.7192 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/1.318, allocations: 148.8 kB / 0.7193 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00701/1.325, allocations: 2.734 MB / 0.722 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/1.325, allocations: 24 kB / 0.722 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/1.325, allocations: 4 kB / 0.722 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.325, allocations: 11.91 kB / 0.722 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009842/1.335, allocations: 4.272 MB / 0.7262 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.335, allocations: 0 / 0.7262 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.337, allocations: 367.6 kB / 0.7265 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/1.339, allocations: 0.5863 MB / 0.7271 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.34, allocations: 75.95 kB / 0.7272 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009734/1.349, allocations: 8.657 MB / 0.7356 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.35, allocations: 4.031 kB / 0.7356 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007357/1.357, allocations: 3.276 MB / 0.7388 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007575/1.358, allocations: 207.1 kB / 0.739 GB, free: 92 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/1.358, allocations: 47.92 kB / 0.7391 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.359, allocations: 36 kB / 0.7391 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004709/1.36, allocations: 165.8 kB / 0.7393 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002626/1.36, allocations: 124 kB / 0.7394 GB, free: 15.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001219/1.361, allocations: 0.6295 MB / 0.74 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.361, allocations: 0 / 0.74 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003879/1.365, allocations: 0.8394 MB / 0.7408 GB, free: 14.25 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.002559/1.368, allocations: 0.786 MB / 0.7416 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005068/1.373, allocations: 2.468 MB / 0.744 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.373, allocations: 0 / 0.744 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/1.376, allocations: 1.576 MB / 0.7455 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.378, allocations: 317.8 kB / 0.7458 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007958/1.386, allocations: 3.539 MB / 0.7493 GB, free: 5.531 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.388, allocations: 1.41 MB / 0.7507 GB, free: 4.086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001812/1.39, allocations: 429.9 kB / 0.7511 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/1.391, allocations: 275.2 kB / 0.7513 GB, free: 3.41 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/1.391, allocations: 7.875 kB / 0.7514 GB, free: 3.402 MB / 0.545 GB Notification: Performance of Templates: time 0.06802/1.459, allocations: 37.28 MB / 0.7878 GB, free: 14.36 MB / 0.5919 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)