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.001215/0.001215, allocations: 106.1 kB / 16.41 MB, free: 6.5 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.001159/0.001159, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.076/0.076, allocations: 15.3 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 59.91 kB / 425.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.11, allocations: 53.62 MB / 479.5 MB, free: 5.914 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.03892/0.1489, allocations: 28.27 MB / 0.4958 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3443/0.4932, allocations: 153.2 MB / 0.6455 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.4946, allocations: 23.88 kB / 0.6455 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.4961, allocations: 0.5066 MB / 0.646 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004702/0.5008, allocations: 1.646 MB / 0.6476 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007862/0.5087, allocations: 2.945 MB / 0.6505 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004062/0.5128, allocations: 2.586 MB / 0.653 GB, free: 5.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.5147, allocations: 1.528 MB / 0.6545 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.5164, allocations: 1.251 MB / 0.6557 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.5183, allocations: 1.37 MB / 0.657 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.5187, allocations: 228 kB / 0.6573 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006985/0.5257, allocations: 2.329 MB / 0.6595 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007951/0.5265, allocations: 0.5686 MB / 0.6601 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.528, allocations: 1.174 MB / 0.6612 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.009926/0.5379, allocations: 4.962 MB / 0.6661 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.538, allocations: 4 kB / 0.6661 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.538, allocations: 4 kB / 0.6661 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.027e-05/0.5381, allocations: 0 / 0.6661 GB, free: 7.672 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.005786/0.5439, allocations: 2.827 MB / 0.6688 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5439, allocations: 12.03 kB / 0.6689 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.5483, allocations: 0.8418 MB / 0.6697 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.5503, allocations: 0.9742 MB / 0.6706 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.5506, allocations: 203.8 kB / 0.6708 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004024/0.551, allocations: 200.3 kB / 0.671 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003708/0.5547, allocations: 2.152 MB / 0.6731 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.5548, allocations: 0 / 0.6731 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.555, allocations: 80 kB / 0.6732 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.555, allocations: 44 kB / 0.6732 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/0.5589, allocations: 2.315 MB / 0.6755 GB, free: 13.87 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.01149/0.5704, allocations: 7.616 MB / 0.6829 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.5749, allocations: 2.203 MB / 0.6851 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.5763, allocations: 0.837 MB / 0.6859 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008637/0.585, allocations: 6.629 MB / 0.6924 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.585, allocations: 51.69 kB / 0.6924 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 3.426e-06/0.585, allocations: 0 / 0.6924 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of matching and sorting (n=176): time 0.01822/0.6033, allocations: 6.958 MB / 0.6992 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.6034, allocations: 99.11 kB / 0.6993 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.6046, allocations: 0.9495 MB / 0.7002 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.6047, allocations: 57.7 kB / 0.7003 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005749/0.6053, allocations: 0.8763 MB / 0.7011 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005119/0.6058, allocations: 0.5929 MB / 0.7017 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005786/0.6064, allocations: 415.5 kB / 0.7021 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6065, allocations: 305.1 kB / 0.7024 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.6077, allocations: 0.6288 MB / 0.703 GB, free: 224 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.6092, allocations: 1.205 MB / 0.7042 GB, free: 14.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.6121, allocations: 2.003 MB / 0.7062 GB, free: 12.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.6122, allocations: 8 kB / 0.7062 GB, free: 12.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005188/0.6173, allocations: 2.624 MB / 0.7087 GB, free: 9.852 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.6174, allocations: 12 kB / 0.7087 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/0.6174, allocations: 16 kB / 0.7088 GB, free: 9.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002318/0.6197, allocations: 0.6467 MB / 0.7094 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.622, allocations: 483.3 kB / 0.7099 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2187/0.8407, allocations: 9.506 MB / 0.7191 GB, free: 193.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.8423, allocations: 70.97 kB / 0.7192 GB, free: 193.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.8427, allocations: 163.2 kB / 0.7194 GB, free: 193.5 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.0008488/0.8435, allocations: 429.8 kB / 0.7198 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/0.8439, allocations: 144.5 kB / 0.7199 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006224/0.8501, allocations: 2.736 MB / 0.7226 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.8502, allocations: 19.38 kB / 0.7226 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.8502, allocations: 4.578 kB / 0.7226 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.577e-05/0.8502, allocations: 11.12 kB / 0.7226 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007588/0.8578, allocations: 4.268 MB / 0.7268 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8579, allocations: 2.25 kB / 0.7268 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/0.8598, allocations: 362.3 kB / 0.7271 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002409/0.8622, allocations: 0.592 MB / 0.7277 GB, free: 191.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.8625, allocations: 75.55 kB / 0.7278 GB, free: 191.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006852/0.8693, allocations: 8.645 MB / 0.7362 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.8694, allocations: 4.562 kB / 0.7362 GB, free: 183.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006428/0.8758, allocations: 3.277 MB / 0.7394 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.8763, allocations: 210.3 kB / 0.7396 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.8765, allocations: 38.73 kB / 0.7397 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000809/0.8773, allocations: 42.55 kB / 0.7397 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004163/0.8777, allocations: 170.7 kB / 0.7399 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/0.8779, allocations: 120.9 kB / 0.74 GB, free: 182.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009214/0.8789, allocations: 0.6217 MB / 0.7406 GB, free: 182 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8789, allocations: 0 / 0.7406 GB, free: 182 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002827/0.8817, allocations: 0.8386 MB / 0.7414 GB, free: 181.9 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.001613/0.8833, allocations: 0.7918 MB / 0.7422 GB, free: 181.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003872/0.8872, allocations: 2.473 MB / 0.7446 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.8872, allocations: 0 / 0.7446 GB, free: 180.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002393/0.8896, allocations: 1.577 MB / 0.7461 GB, free: 179.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.8912, allocations: 313.1 kB / 0.7464 GB, free: 179.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005082/0.8963, allocations: 3.6 MB / 0.7499 GB, free: 177.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007844/0.8971, allocations: 1.412 MB / 0.7513 GB, free: 177.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008914/0.898, allocations: 339.5 kB / 0.7517 GB, free: 177.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/0.8981, allocations: 0 / 0.7517 GB, free: 177.1 MB / 0.545 GB Notification: Performance of Templates: time 0.05626/0.9543, allocations: 72.95 MB / 0.8229 GB, free: 110.8 MB / 0.545 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)