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.001603/0.001603, allocations: 110 kB / 16.42 MB, free: 6.512 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.001779/0.001779, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.305/1.305, 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.07766/0.07766, allocations: 15.3 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 425.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08439/0.08561, allocations: 53.62 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.03481/0.1205, allocations: 28.29 MB / 0.4959 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3309/0.4514, allocations: 153.2 MB / 0.6455 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.4526, allocations: 27.88 kB / 0.6455 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.4541, allocations: 0.5066 MB / 0.646 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004315/0.4584, allocations: 1.642 MB / 0.6476 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007115/0.4656, allocations: 2.941 MB / 0.6505 GB, free: 7.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.4688, allocations: 2.59 MB / 0.653 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0019/0.4707, allocations: 1.527 MB / 0.6545 GB, free: 3.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.4723, allocations: 1.251 MB / 0.6557 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.4744, allocations: 1.378 MB / 0.6571 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004328/0.4748, allocations: 224 kB / 0.6573 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005733/0.4805, allocations: 2.325 MB / 0.6596 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004866/0.481, allocations: 0.5673 MB / 0.6601 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.4822, allocations: 1.186 MB / 0.6613 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0073/0.4895, allocations: 4.958 MB / 0.6661 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4895, allocations: 4 kB / 0.6661 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4895, allocations: 0 / 0.6661 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.404e-05/0.4895, allocations: 0 / 0.6661 GB, free: 7.562 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.004623/0.4942, allocations: 2.827 MB / 0.6689 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4942, allocations: 8.031 kB / 0.6689 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004084/0.4983, allocations: 0.8495 MB / 0.6697 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.4998, allocations: 0.9743 MB / 0.6707 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/0.4999, allocations: 203.8 kB / 0.6709 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.5002, allocations: 196.3 kB / 0.671 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.5037, allocations: 2.152 MB / 0.6731 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.5038, allocations: 4 kB / 0.6732 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.504, allocations: 80 kB / 0.6732 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.504, allocations: 51.94 kB / 0.6733 GB, free: 72 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.5078, allocations: 2.303 MB / 0.6755 GB, free: 13.77 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.01059/0.5184, allocations: 7.612 MB / 0.683 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/0.5227, allocations: 2.211 MB / 0.6851 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.5239, allocations: 0.8292 MB / 0.6859 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007704/0.5316, allocations: 6.633 MB / 0.6924 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5317, allocations: 47.69 kB / 0.6925 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 4.428e-06/0.5317, allocations: 3.984 kB / 0.6925 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=176): time 0.01769/0.5494, allocations: 6.95 MB / 0.6992 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5495, allocations: 99.09 kB / 0.6993 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.5505, allocations: 0.9534 MB / 0.7003 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.5506, allocations: 53.7 kB / 0.7003 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/0.5512, allocations: 0.8802 MB / 0.7012 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004512/0.5516, allocations: 0.6007 MB / 0.7018 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/0.5522, allocations: 411.5 kB / 0.7022 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.178e-05/0.5523, allocations: 305.1 kB / 0.7024 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.5534, allocations: 0.6326 MB / 0.7031 GB, free: 108 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5549, allocations: 1.203 MB / 0.7042 GB, free: 14.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/0.5577, allocations: 2.003 MB / 0.7062 GB, free: 12.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/0.5577, allocations: 8 kB / 0.7062 GB, free: 12.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005139/0.5629, allocations: 2.62 MB / 0.7088 GB, free: 9.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.5629, allocations: 12 kB / 0.7088 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5629, allocations: 16.84 kB / 0.7088 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002309/0.5653, allocations: 0.6397 MB / 0.7094 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.5675, allocations: 487.2 kB / 0.7099 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1892/0.7567, allocations: 9.505 MB / 0.7192 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.7582, allocations: 72.52 kB / 0.7192 GB, free: 193.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.7584, allocations: 160.1 kB / 0.7194 GB, free: 193.4 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.0007547/0.7592, allocations: 427.9 kB / 0.7198 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.7595, allocations: 149.4 kB / 0.7199 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005776/0.7653, allocations: 2.741 MB / 0.7226 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/0.7653, allocations: 8.578 kB / 0.7226 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.7653, allocations: 4.844 kB / 0.7226 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.7656, allocations: 206.6 kB / 0.7228 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.7658, allocations: 32.52 kB / 0.7229 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007965/0.7666, allocations: 43.77 kB / 0.7229 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/0.7669, allocations: 177.9 kB / 0.7231 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006/0.7729, allocations: 2.449 MB / 0.7255 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00408/0.777, allocations: 2.781 MB / 0.7282 GB, free: 191.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001076/0.7781, allocations: 0.7267 MB / 0.7289 GB, free: 191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007972/0.7789, allocations: 0.6249 MB / 0.7295 GB, free: 190.7 MB / 0.545 GB Notification: Performance of Backend: time 4.41e-07/0.7789, allocations: 3.219 kB / 0.7295 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005959/0.7849, allocations: 3.192 MB / 0.7326 GB, free: 189.7 MB / 0.545 GB Notification: Performance of SimCode: time 0.004844/0.7898, allocations: 4.103 MB / 0.7366 GB, free: 187.5 MB / 0.545 GB Notification: Performance of Templates: time 0.04896/0.8387, allocations: 43.41 MB / 0.779 GB, free: 156.6 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)