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.001129/0.001129, allocations: 106.6 kB / 16.41 MB, free: 6.387 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.001205/0.001205, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.327/1.327, 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.07878/0.07878, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 68.09 kB / 425.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08619, allocations: 53.6 MB / 479.5 MB, free: 5.785 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.03702/0.1232, allocations: 28.44 MB / 0.496 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3459/0.4692, allocations: 153.2 MB / 0.6456 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.4707, allocations: 19.94 kB / 0.6457 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.4723, allocations: 0.5215 MB / 0.6462 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004744/0.4771, allocations: 1.654 MB / 0.6478 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007403/0.4845, allocations: 2.991 MB / 0.6507 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003186/0.4877, allocations: 2.595 MB / 0.6532 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.4896, allocations: 1.524 MB / 0.6547 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.4911, allocations: 1.251 MB / 0.6559 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.4931, allocations: 1.374 MB / 0.6573 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.4936, allocations: 228 kB / 0.6575 GB, free: 412 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005869/0.4995, allocations: 2.321 MB / 0.6598 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/0.5001, allocations: 0.5686 MB / 0.6603 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.5014, allocations: 1.178 MB / 0.6615 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008251/0.5097, allocations: 4.982 MB / 0.6663 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.5097, allocations: 0 / 0.6663 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5097, allocations: 0 / 0.6663 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.18e-05/0.5098, allocations: 0 / 0.6663 GB, free: 7.324 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.005074/0.5149, allocations: 2.902 MB / 0.6692 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5149, allocations: 8.031 kB / 0.6692 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.519, allocations: 0.8624 MB / 0.67 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.5205, allocations: 0.9829 MB / 0.671 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.5207, allocations: 203.8 kB / 0.6712 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.5211, allocations: 196.3 kB / 0.6714 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.5245, allocations: 2.156 MB / 0.6735 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.5245, allocations: 0 / 0.6735 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/0.5247, allocations: 76 kB / 0.6735 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.5247, allocations: 48 kB / 0.6736 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003777/0.5285, allocations: 2.307 MB / 0.6758 GB, free: 13.43 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.01065/0.5392, allocations: 7.643 MB / 0.6833 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004469/0.5437, allocations: 2.197 MB / 0.6855 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.5449, allocations: 0.833 MB / 0.6863 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008238/0.5532, allocations: 6.637 MB / 0.6928 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.5532, allocations: 47.69 kB / 0.6928 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=133): time 2.815e-06/0.5532, allocations: 0 / 0.6928 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=176): time 0.0178/0.571, allocations: 7.002 MB / 0.6996 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.5711, allocations: 99.05 kB / 0.6997 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.5722, allocations: 0.9613 MB / 0.7007 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.5724, allocations: 53.7 kB / 0.7007 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005521/0.5729, allocations: 0.9026 MB / 0.7016 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.5734, allocations: 0.6351 MB / 0.7022 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/0.5739, allocations: 407.6 kB / 0.7026 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5741, allocations: 305.1 kB / 0.7029 GB, free: 292 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.5752, allocations: 0.6327 MB / 0.7035 GB, free: 15.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.5768, allocations: 1.201 MB / 0.7047 GB, free: 14.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.5797, allocations: 2.007 MB / 0.7067 GB, free: 11.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.5797, allocations: 4.875 kB / 0.7067 GB, free: 11.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005195/0.5849, allocations: 2.629 MB / 0.7092 GB, free: 9.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.585, allocations: 12.94 kB / 0.7092 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.585, allocations: 20 kB / 0.7093 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/0.5874, allocations: 0.6384 MB / 0.7099 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/0.5896, allocations: 487.2 kB / 0.7103 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2006/0.7902, allocations: 9.513 MB / 0.7196 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.7917, allocations: 69.95 kB / 0.7197 GB, free: 193.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.792, allocations: 165.6 kB / 0.7199 GB, free: 193.3 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.0007651/0.7927, allocations: 427.7 kB / 0.7203 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.793, allocations: 155 kB / 0.7204 GB, free: 193.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005907/0.7989, allocations: 2.732 MB / 0.7231 GB, free: 193.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.799, allocations: 17.81 kB / 0.7231 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.799, allocations: 0 / 0.7231 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.7992, allocations: 213.5 kB / 0.7233 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.7994, allocations: 37.88 kB / 0.7233 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.8003, allocations: 37.05 kB / 0.7234 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003541/0.8006, allocations: 177.3 kB / 0.7235 GB, free: 193 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006022/0.8066, allocations: 2.469 MB / 0.726 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004465/0.8111, allocations: 2.79 MB / 0.7287 GB, free: 191 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001188/0.8123, allocations: 0.7318 MB / 0.7294 GB, free: 190.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008713/0.8132, allocations: 0.6206 MB / 0.73 GB, free: 190.5 MB / 0.545 GB Notification: Performance of Backend: time 5.81e-07/0.8132, allocations: 0 / 0.73 GB, free: 190.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006751/0.82, allocations: 3.21 MB / 0.7331 GB, free: 189.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.00515/0.8251, allocations: 4.171 MB / 0.7372 GB, free: 187.2 MB / 0.545 GB Notification: Performance of Templates: time 0.04808/0.8732, allocations: 43.41 MB / 0.7796 GB, free: 156 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)