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: "" <> buildModelFMU(Chemical.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001064/0.001064, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1772/0.1772, allocations: 15.32 MB / 305.4 MB, free: 15.3 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 60.05 kB / 369.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09711, allocations: 53.61 MB / 423.5 MB, free: 14.58 MB / 366.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.33/0.4271, allocations: 29.07 MB / 452.6 MB, free: 38.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1374/0.5645, allocations: 151 MB / 0.5895 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.5662, allocations: 43.69 kB / 0.5895 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5678, allocations: 433.3 kB / 0.5899 GB, free: 11.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00522/0.573, allocations: 1.467 MB / 0.5914 GB, free: 9.965 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00792/0.5809, allocations: 2.609 MB / 0.5939 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.584, allocations: 2.593 MB / 0.5964 GB, free: 4.746 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.5854, allocations: 1.514 MB / 0.5979 GB, free: 3.188 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.5868, allocations: 1.352 MB / 0.5992 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.5884, allocations: 1.495 MB / 0.6007 GB, free: 340 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.1988/0.7872, allocations: 225.8 kB / 0.6009 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006036/0.7933, allocations: 2.448 MB / 0.6033 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.7939, allocations: 0.5968 MB / 0.6039 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.795, allocations: 1.206 MB / 0.6051 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00697/0.802, allocations: 5.112 MB / 0.6101 GB, free: 8.336 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.802, allocations: 0 / 0.6101 GB, free: 8.336 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.802, allocations: 0 / 0.6101 GB, free: 8.336 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.098e-05/0.802, allocations: 1.203 kB / 0.6101 GB, free: 8.336 MB / 462.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.003904/0.8059, allocations: 2.838 MB / 0.6128 GB, free: 7.074 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.806, allocations: 9.719 kB / 0.6128 GB, free: 7.074 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002632/0.8063, allocations: 274.3 kB / 0.6131 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.81, allocations: 0.8456 MB / 0.6139 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.8111, allocations: 0.9401 MB / 0.6148 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.8112, allocations: 202.8 kB / 0.615 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.8115, allocations: 199.6 kB / 0.6152 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.8143, allocations: 2.153 MB / 0.6173 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.8144, allocations: 3.156 kB / 0.6173 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000162/0.8145, allocations: 78.59 kB / 0.6174 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.8146, allocations: 46.75 kB / 0.6175 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.8178, allocations: 2.31 MB / 0.6197 GB, free: 6.242 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.009342/0.8272, allocations: 7.658 MB / 0.6272 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.8316, allocations: 2.203 MB / 0.6293 GB, free: 18.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.8328, allocations: 0.8263 MB / 0.6301 GB, free: 18.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008151/0.8409, allocations: 6.652 MB / 0.6366 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.841, allocations: 44.55 kB / 0.6367 GB, free: 14.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 2.945e-06/0.841, allocations: 1.094 kB / 0.6367 GB, free: 14.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=176): time 0.01727/0.8583, allocations: 6.959 MB / 0.6435 GB, free: 13.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.8583, allocations: 98.23 kB / 0.6436 GB, free: 12.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.8593, allocations: 0.9572 MB / 0.6445 GB, free: 12.81 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.8594, allocations: 55.3 kB / 0.6446 GB, free: 12.78 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.8598, allocations: 0.8797 MB / 0.6454 GB, free: 12.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003555/0.8601, allocations: 0.6014 MB / 0.646 GB, free: 11.94 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004961/0.8606, allocations: 405.3 kB / 0.6464 GB, free: 11.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.8607, allocations: 301.8 kB / 0.6467 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009816/0.8617, allocations: 0.6335 MB / 0.6473 GB, free: 11.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.8629, allocations: 1.203 MB / 0.6485 GB, free: 10.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002453/0.8654, allocations: 2.001 MB / 0.6504 GB, free: 10.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.8654, allocations: 5.375 kB / 0.6504 GB, free: 10.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004777/0.8702, allocations: 2.625 MB / 0.653 GB, free: 10.06 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.8702, allocations: 13.53 kB / 0.653 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.8702, allocations: 24.3 kB / 0.653 GB, free: 10.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.8724, allocations: 0.6282 MB / 0.6536 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.8744, allocations: 483.6 kB / 0.6541 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008207/0.8826, allocations: 9.531 MB / 0.6634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.8841, allocations: 117.2 kB / 0.6635 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/0.8843, allocations: 165.4 kB / 0.6637 GB, free: 2.32 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.0007506/0.8851, allocations: 431.4 kB / 0.6641 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002654/0.8854, allocations: 147.9 kB / 0.6642 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/0.8914, allocations: 2.743 MB / 0.6669 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.8914, allocations: 20.44 kB / 0.6669 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.8915, allocations: 5.125 kB / 0.6669 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.8915, allocations: 10.42 kB / 0.667 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007349/0.8988, allocations: 4.274 MB / 0.6711 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.8989, allocations: 10.12 kB / 0.6711 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/0.9007, allocations: 356.9 kB / 0.6715 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/0.9029, allocations: 0.5885 MB / 0.672 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001624/0.9031, allocations: 76.17 kB / 0.6721 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007426/0.9105, allocations: 8.644 MB / 0.6806 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.9106, allocations: 5.75 kB / 0.6806 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/0.9162, allocations: 3.287 MB / 0.6838 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/0.9167, allocations: 208 kB / 0.684 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.9169, allocations: 46.12 kB / 0.684 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.9178, allocations: 61.88 kB / 0.6841 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/0.9182, allocations: 165.4 kB / 0.6842 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/0.9183, allocations: 127.4 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007508/0.9191, allocations: 0.624 MB / 0.685 GB, free: 4.188 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9191, allocations: 0 / 0.685 GB, free: 4.188 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002652/0.9218, allocations: 0.8431 MB / 0.6858 GB, free: 3.422 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.007877/0.9296, allocations: 4.531 MB / 0.6902 GB, free: 15.02 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.004921/0.9346, allocations: 2.555 MB / 0.6927 GB, free: 12.5 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9346, allocations: 4 kB / 0.6927 GB, free: 12.5 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.9369, allocations: 1.579 MB / 0.6943 GB, free: 10.91 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.9384, allocations: 309.7 kB / 0.6946 GB, free: 10.64 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/0.9604, allocations: 15.99 MB / 0.7102 GB, free: 9.93 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000919/0.9614, allocations: 1.406 MB / 0.7115 GB, free: 8.508 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002028/0.9634, allocations: 447.3 kB / 0.712 GB, free: 8.191 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/0.9647, allocations: 0.8865 MB / 0.7128 GB, free: 7.32 MB / 0.5138 GB Notification: Performance of SimCode: time 6.21e-07/0.9647, allocations: 1.203 kB / 0.7128 GB, free: 7.32 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.07, allocations: 50.11 MB / 0.7618 GB, free: 6.051 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.071, allocations: 214.8 kB / 0.762 GB, free: 5.793 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.271, allocations: 0 / 0.762 GB, free: 5.793 MB / 0.5607 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HydrogenCombustion.fmu > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1)