Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion") translateModel(Physiolibrary.Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009529, allocations: 92.52 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.345/0.345, allocations: 36.67 MB / 376.7 MB, free: 41.48 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 63.89 kB / 446.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 58.92 MB / 0.4935 GB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671: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/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671: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(Physiolibrary.Chemical.Examples.HydrogenCombustion): time 0.2037/0.3138, allocations: 26.61 MB / 0.5195 GB, free: 31.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.1591/0.473, allocations: 150.9 MB / 0.6668 GB, free: 8.836 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.4758, allocations: 47.62 kB / 0.6669 GB, free: 8.789 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.4776, allocations: 441.3 kB / 0.6673 GB, free: 8.355 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.4835, allocations: 1.42 MB / 0.6687 GB, free: 6.926 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009235/0.4927, allocations: 2.558 MB / 0.6712 GB, free: 4.355 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00492/0.4977, allocations: 2.539 MB / 0.6737 GB, free: 1.816 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.4997, allocations: 1.305 MB / 0.675 GB, free: 476 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2986/0.7984, allocations: 1.258 MB / 0.6762 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.8014, allocations: 1.427 MB / 0.6776 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006845/0.8021, allocations: 150.4 kB / 0.6777 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009058/0.8112, allocations: 2.314 MB / 0.68 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.8125, allocations: 0.5178 MB / 0.6805 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00204/0.8146, allocations: 1.138 MB / 0.6816 GB, free: 7.254 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.8258, allocations: 5.137 MB / 0.6866 GB, free: 7.008 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8258, allocations: 0 / 0.6866 GB, free: 7.008 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8258, allocations: 1.344 kB / 0.6866 GB, free: 7.008 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.217e-05/0.8259, allocations: 0 / 0.6866 GB, free: 7.008 MB / 490.7 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.005616/0.8315, allocations: 2.827 MB / 0.6894 GB, free: 5.754 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.8316, allocations: 9.25 kB / 0.6894 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/0.8355, allocations: 0.8473 MB / 0.6902 GB, free: 5.609 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.8371, allocations: 0.9458 MB / 0.6911 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.8373, allocations: 208.9 kB / 0.6913 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.8376, allocations: 198.9 kB / 0.6915 GB, free: 5.164 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.8408, allocations: 2.156 MB / 0.6936 GB, free: 4.984 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.8409, allocations: 2.906 kB / 0.6936 GB, free: 4.984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/0.841, allocations: 78.69 kB / 0.6937 GB, free: 4.984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.8411, allocations: 51.94 kB / 0.6938 GB, free: 4.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.8446, allocations: 2.311 MB / 0.696 GB, free: 4.969 MB / 490.7 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.01245/0.8571, allocations: 7.683 MB / 0.7035 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004359/0.8615, allocations: 2.219 MB / 0.7057 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.8629, allocations: 0.8418 MB / 0.7065 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009865/0.8727, allocations: 6.656 MB / 0.713 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.8728, allocations: 47.69 kB / 0.713 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=133): time 4.539e-06/0.8728, allocations: 2.719 kB / 0.7131 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=176): time 0.01981/0.8927, allocations: 6.97 MB / 0.7199 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.8928, allocations: 101.8 kB / 0.72 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.894, allocations: 0.957 MB / 0.7209 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.8941, allocations: 51.8 kB / 0.7209 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004299/0.8945, allocations: 0.8834 MB / 0.7218 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003809/0.8949, allocations: 0.5953 MB / 0.7224 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005121/0.8954, allocations: 409.8 kB / 0.7228 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.8955, allocations: 310 kB / 0.7231 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.8967, allocations: 0.6375 MB / 0.7237 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.8981, allocations: 1.209 MB / 0.7249 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.9007, allocations: 2.016 MB / 0.7268 GB, free: 9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.9008, allocations: 4.906 kB / 0.7268 GB, free: 9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005044/0.9058, allocations: 2.638 MB / 0.7294 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.9059, allocations: 10.69 kB / 0.7294 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.9059, allocations: 18.34 kB / 0.7294 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002256/0.9082, allocations: 0.6269 MB / 0.7301 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/0.9105, allocations: 0.5235 MB / 0.7306 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008731/0.9193, allocations: 8.783 MB / 0.7391 GB, free: 2.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.9213, allocations: 128.6 kB / 0.7393 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.9216, allocations: 159.4 kB / 0.7394 GB, free: 2.277 MB / 0.4948 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.001114/0.9227, allocations: 433.9 kB / 0.7398 GB, free: 1.992 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.923, allocations: 150 kB / 0.74 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006472/0.9295, allocations: 2.757 MB / 0.7427 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.9295, allocations: 22.38 kB / 0.7427 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.9296, allocations: 4.688 kB / 0.7427 GB, free: 0.6328 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.9296, allocations: 7.969 kB / 0.7427 GB, free: 0.625 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008348/0.9379, allocations: 4.298 MB / 0.7469 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.938, allocations: 3.938 kB / 0.7469 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/0.9403, allocations: 409.8 kB / 0.7473 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002434/0.9428, allocations: 0.5948 MB / 0.7479 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.943, allocations: 76.56 kB / 0.748 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007847/0.9508, allocations: 8.082 MB / 0.7558 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9508, allocations: 3.188 kB / 0.7558 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08377/1.035, allocations: 30.62 MB / 0.7857 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/1.035, allocations: 211.1 kB / 0.7859 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/1.035, allocations: 38.62 kB / 0.786 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009098/1.036, allocations: 67.97 kB / 0.786 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003835/1.036, allocations: 165.8 kB / 0.7862 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/1.037, allocations: 124 kB / 0.7863 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008154/1.038, allocations: 0.6301 MB / 0.7869 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.038, allocations: 0 / 0.7869 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004518/1.042, allocations: 1.289 MB / 0.7882 GB, free: 7.559 MB / 0.5417 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.002747/1.045, allocations: 0.8518 MB / 0.789 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004372/1.049, allocations: 2.477 MB / 0.7914 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.049, allocations: 3.469 kB / 0.7915 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002652/1.052, allocations: 1.579 MB / 0.793 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.054, allocations: 286.9 kB / 0.7933 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009283/1.063, allocations: 6.309 MB / 0.7994 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.064, allocations: 1.47 MB / 0.8009 GB, free: 10.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002995/1.067, allocations: 0.5981 MB / 0.8014 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.068, allocations: 397.1 kB / 0.8018 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/1.068, allocations: 0 / 0.8018 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of Templates: time 0.08264/1.151, allocations: 59.52 MB / 0.86 GB, free: 14.52 MB / 0.6198 GB make -j1 -f Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion.makefile (rm -f Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion.pipe ; mkfifo Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion.pipe >> ../files/Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion.sim & ./Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Chemical.Examples.HydrogenCombustion.pipe 2>&1)