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.001114/0.001114, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001521, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.187/0.187, allocations: 15.28 MB / 307.4 MB, free: 15.71 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002967, allocations: 12 kB / 372.7 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2715, allocations: 54.62 MB / 427.4 MB, free: 40.47 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65: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:3019:6-3019:65: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.02663/0.2982, allocations: 28.58 MB / 455.9 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3955/0.6937, allocations: 149.3 MB / 0.5911 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.6958, allocations: 42.25 kB / 0.5911 GB, free: 5.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.6971, allocations: 440.7 kB / 0.5915 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004886/0.702, allocations: 1.451 MB / 0.593 GB, free: 5.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007565/0.7096, allocations: 2.559 MB / 0.5955 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003451/0.7131, allocations: 2.502 MB / 0.5979 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.7147, allocations: 1.238 MB / 0.5991 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.7165, allocations: 1.199 MB / 0.6003 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.7187, allocations: 1.351 MB / 0.6016 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004326/0.7191, allocations: 122 kB / 0.6017 GB, free: 4.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007112/0.7263, allocations: 2.285 MB / 0.604 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.7271, allocations: 486.6 kB / 0.6044 GB, free: 4.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.7288, allocations: 1.101 MB / 0.6055 GB, free: 4.828 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007057/0.7359, allocations: 3.835 MB / 0.6092 GB, free: 4.551 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7359, allocations: 0.9375 kB / 0.6092 GB, free: 4.551 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.7359, allocations: 2.656 kB / 0.6092 GB, free: 4.551 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.562e-05/0.736, allocations: 0 / 0.6092 GB, free: 4.551 MB / 446.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.005887/0.7419, allocations: 2.32 MB / 0.6115 GB, free: 3.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.742, allocations: 9.531 kB / 0.6115 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/0.7468, allocations: 0.8555 MB / 0.6123 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.7492, allocations: 0.921 MB / 0.6132 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/0.7496, allocations: 204.9 kB / 0.6134 GB, free: 18.72 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005672/0.7502, allocations: 198.2 kB / 0.6136 GB, free: 18.72 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/0.7544, allocations: 2.154 MB / 0.6157 GB, free: 18.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.7545, allocations: 1.531 kB / 0.6157 GB, free: 18.54 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.7547, allocations: 82.83 kB / 0.6158 GB, free: 18.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.7548, allocations: 49.92 kB / 0.6159 GB, free: 18.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004105/0.7589, allocations: 2.309 MB / 0.6181 GB, free: 18.52 MB / 462.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.01235/0.7712, allocations: 7.616 MB / 0.6256 GB, free: 14.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004593/0.7758, allocations: 2.209 MB / 0.6277 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.7774, allocations: 0.8289 MB / 0.6285 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009177/0.7865, allocations: 6.558 MB / 0.6349 GB, free: 8.859 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.7866, allocations: 48.56 kB / 0.635 GB, free: 8.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=133): time 3.396e-06/0.7866, allocations: 0 / 0.635 GB, free: 8.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=176): time 0.02028/0.8069, allocations: 6.969 MB / 0.6418 GB, free: 6.543 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.807, allocations: 98.45 kB / 0.6419 GB, free: 6.445 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.8085, allocations: 0.9509 MB / 0.6428 GB, free: 6.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003152/0.8088, allocations: 56.12 kB / 0.6429 GB, free: 6.098 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/0.8095, allocations: 0.8758 MB / 0.6437 GB, free: 5.379 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.8102, allocations: 0.6071 MB / 0.6443 GB, free: 4.855 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/0.8106, allocations: 160 kB / 0.6445 GB, free: 4.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.8107, allocations: 310.3 kB / 0.6448 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.812, allocations: 0.6266 MB / 0.6454 GB, free: 4.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.8136, allocations: 1.203 MB / 0.6465 GB, free: 3.105 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/0.8167, allocations: 2.003 MB / 0.6485 GB, free: 1.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.8167, allocations: 5.875 kB / 0.6485 GB, free: 1.738 MB / 462.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.00591/0.8226, allocations: 2.631 MB / 0.6511 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/0.8227, allocations: 11.5 kB / 0.6511 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.8227, allocations: 20.12 kB / 0.6511 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/0.8253, allocations: 0.6378 MB / 0.6517 GB, free: 252 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/0.8278, allocations: 481.9 kB / 0.6522 GB, free: 164 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009896/0.8377, allocations: 8.828 MB / 0.6608 GB, free: 8.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/0.8397, allocations: 123.5 kB / 0.6609 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004872/0.8403, allocations: 165.9 kB / 0.6611 GB, free: 8.152 MB / 478.1 MB 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.001316/0.8416, allocations: 423.2 kB / 0.6615 GB, free: 7.867 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004251/0.842, allocations: 147.6 kB / 0.6616 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00748/0.8495, allocations: 2.751 MB / 0.6643 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.8496, allocations: 18.53 kB / 0.6643 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.372e-05/0.8496, allocations: 4.844 kB / 0.6643 GB, free: 6.383 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-05/0.8497, allocations: 7.969 kB / 0.6643 GB, free: 6.375 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009897/0.8596, allocations: 4.268 MB / 0.6685 GB, free: 3.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.8596, allocations: 3.938 kB / 0.6685 GB, free: 3.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002224/0.8619, allocations: 361 kB / 0.6689 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002835/0.8647, allocations: 0.5993 MB / 0.6694 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003816/0.8651, allocations: 75.97 kB / 0.6695 GB, free: 2.727 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009295/0.8745, allocations: 8.12 MB / 0.6774 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.8745, allocations: 0 / 0.6774 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007698/0.8822, allocations: 3.288 MB / 0.6807 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.8827, allocations: 207.2 kB / 0.6809 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/0.8832, allocations: 36 kB / 0.6809 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.8846, allocations: 70.47 kB / 0.681 GB, free: 6.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/0.885, allocations: 168.7 kB / 0.6811 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002713/0.8853, allocations: 122.7 kB / 0.6812 GB, free: 6.219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001182/0.8865, allocations: 0.6257 MB / 0.6818 GB, free: 5.586 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8865, allocations: 0 / 0.6818 GB, free: 5.586 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003722/0.8902, allocations: 0.8355 MB / 0.6827 GB, free: 4.75 MB / 494.1 MB 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.002388/0.8927, allocations: 0.7974 MB / 0.6834 GB, free: 4.078 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005033/0.8977, allocations: 2.461 MB / 0.6858 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8978, allocations: 2.656 kB / 0.6858 GB, free: 1.641 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.9008, allocations: 1.592 MB / 0.6874 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.9033, allocations: 291.3 kB / 0.6877 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0075/0.9108, allocations: 4.625 MB / 0.6922 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.9122, allocations: 1.411 MB / 0.6936 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/0.9135, allocations: 335.2 kB / 0.6939 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of SimCode: time 9.32e-07/0.9135, allocations: 0 / 0.6939 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of Templates: time 0.08235/0.9959, allocations: 72.35 MB / 0.7645 GB, free: 1.281 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)