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.0008763/0.0008763, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005194/0.005194, allocations: 171 kB / 16.26 MB, free: 6.613 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2494/0.2494, allocations: 15.27 MB / 306.7 MB, free: 15.73 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003596, allocations: 8 kB / 372.1 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3636, allocations: 54.64 MB / 426.7 MB, free: 40.24 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.034/0.3976, allocations: 27.93 MB / 454.6 MB, free: 29.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.4357/0.8333, allocations: 149.3 MB / 0.5898 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.836, allocations: 40.5 kB / 0.5898 GB, free: 5.004 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.838, allocations: 449 kB / 0.5903 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.8442, allocations: 1.452 MB / 0.5917 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008856/0.8531, allocations: 2.551 MB / 0.5942 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003482/0.8566, allocations: 2.513 MB / 0.5966 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.8582, allocations: 1.237 MB / 0.5978 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.8598, allocations: 1.198 MB / 0.599 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.8616, allocations: 1.352 MB / 0.6003 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003814/0.862, allocations: 118 kB / 0.6004 GB, free: 4.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007817/0.8699, allocations: 2.285 MB / 0.6027 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.871, allocations: 492 kB / 0.6032 GB, free: 4.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.8728, allocations: 1.097 MB / 0.6042 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.8856, allocations: 4.949 MB / 0.6091 GB, free: 4.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.8856, allocations: 0 / 0.6091 GB, free: 4.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.8856, allocations: 0.6094 kB / 0.6091 GB, free: 4.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001036/0.8857, allocations: 1.125 kB / 0.6091 GB, free: 4.371 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.005853/0.8916, allocations: 2.319 MB / 0.6113 GB, free: 3.137 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.8916, allocations: 9.094 kB / 0.6113 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004722/0.8964, allocations: 0.8545 MB / 0.6122 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.8987, allocations: 0.9201 MB / 0.6131 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.8991, allocations: 203.3 kB / 0.6133 GB, free: 18.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005372/0.8996, allocations: 200.3 kB / 0.6134 GB, free: 18.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004354/0.904, allocations: 2.154 MB / 0.6156 GB, free: 18.36 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.904, allocations: 3.125 kB / 0.6156 GB, free: 18.36 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.9042, allocations: 79.38 kB / 0.6156 GB, free: 18.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.253e-05/0.9043, allocations: 47.09 kB / 0.6157 GB, free: 18.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003825/0.9081, allocations: 2.304 MB / 0.6179 GB, free: 18.34 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.01324/0.9214, allocations: 7.619 MB / 0.6254 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004361/0.9258, allocations: 2.203 MB / 0.6275 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.9271, allocations: 0.8287 MB / 0.6283 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009107/0.9362, allocations: 6.575 MB / 0.6347 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.9363, allocations: 54.12 kB / 0.6348 GB, free: 8.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=133): time 3.497e-06/0.9363, allocations: 3.938 kB / 0.6348 GB, free: 8.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=176): time 0.01856/0.9549, allocations: 6.961 MB / 0.6416 GB, free: 6.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.955, allocations: 99.17 kB / 0.6417 GB, free: 6.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.9563, allocations: 0.9557 MB / 0.6426 GB, free: 5.828 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002129/0.9565, allocations: 55.23 kB / 0.6427 GB, free: 5.797 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005868/0.9571, allocations: 0.8763 MB / 0.6435 GB, free: 5.062 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.9576, allocations: 0.5954 MB / 0.6441 GB, free: 4.543 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.9578, allocations: 167.1 kB / 0.6443 GB, free: 4.434 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.9579, allocations: 307.7 kB / 0.6446 GB, free: 4.133 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.9591, allocations: 0.6344 MB / 0.6452 GB, free: 3.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.9605, allocations: 1.201 MB / 0.6464 GB, free: 2.785 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/0.9633, allocations: 1.999 MB / 0.6483 GB, free: 1.422 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.9633, allocations: 5.938 kB / 0.6483 GB, free: 1.422 MB / 462.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005447/0.9688, allocations: 2.627 MB / 0.6509 GB, free: 224 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.676e-05/0.9688, allocations: 14.03 kB / 0.6509 GB, free: 224 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.9689, allocations: 24.14 kB / 0.6509 GB, free: 220 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/0.9715, allocations: 0.6324 MB / 0.6515 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.9739, allocations: 484.5 kB / 0.652 GB, free: 15.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009567/0.9835, allocations: 8.823 MB / 0.6606 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.9855, allocations: 130 kB / 0.6607 GB, free: 7.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.9859, allocations: 157.1 kB / 0.6609 GB, free: 7.82 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.001046/0.9869, allocations: 436.4 kB / 0.6613 GB, free: 7.523 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.9872, allocations: 146.8 kB / 0.6614 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006674/0.9939, allocations: 2.732 MB / 0.6641 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.994, allocations: 20.78 kB / 0.6641 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/0.994, allocations: 5.969 kB / 0.6641 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.994, allocations: 11.95 kB / 0.6642 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008257/1.002, allocations: 4.272 MB / 0.6683 GB, free: 2.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.002, allocations: 3.938 kB / 0.6683 GB, free: 2.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002019/1.004, allocations: 362.1 kB / 0.6687 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/1.007, allocations: 0.6005 MB / 0.6693 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002241/1.007, allocations: 75.95 kB / 0.6693 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008369/1.016, allocations: 8.113 MB / 0.6773 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.016, allocations: 4.031 kB / 0.6773 GB, free: 9.078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006422/1.022, allocations: 3.283 MB / 0.6805 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/1.023, allocations: 207.2 kB / 0.6807 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/1.023, allocations: 32 kB / 0.6807 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000918/1.024, allocations: 73.16 kB / 0.6808 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/1.024, allocations: 172.7 kB / 0.6809 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.024, allocations: 124 kB / 0.681 GB, free: 5.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008865/1.025, allocations: 0.6217 MB / 0.6817 GB, free: 4.551 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.025, allocations: 0 / 0.6817 GB, free: 4.551 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003106/1.028, allocations: 0.8419 MB / 0.6825 GB, free: 3.711 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.001767/1.03, allocations: 0.7932 MB / 0.6833 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004208/1.034, allocations: 2.467 MB / 0.6857 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.034, allocations: 0 / 0.6857 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/1.037, allocations: 1.588 MB / 0.6872 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.039, allocations: 294.2 kB / 0.6875 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006681/1.046, allocations: 4.573 MB / 0.692 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/1.047, allocations: 1.406 MB / 0.6933 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002138/1.049, allocations: 441.7 kB / 0.6938 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000803/1.05, allocations: 275.2 kB / 0.694 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/1.05, allocations: 0 / 0.694 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of Templates: time 0.05483/1.105, allocations: 34.62 MB / 0.7278 GB, free: 5.836 MB / 0.5294 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)