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.0/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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.001026/0.001026, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001144/0.001145, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1989/0.1989, allocations: 15.26 MB / 306.2 MB, free: 15.69 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 8 kB / 371.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2636, allocations: 54.62 MB / 426.1 MB, free: 39.98 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo:3011:6-3011: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.0/package.mo:3011:6-3011: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.006335/0.2699, allocations: 7.906 MB / 434 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1411/0.411, allocations: 129.9 MB / 0.5506 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.413, allocations: 39.75 kB / 0.5507 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.4148, allocations: 449.4 kB / 0.5511 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.4196, allocations: 1.67 MB / 0.5527 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007739/0.4273, allocations: 2.508 MB / 0.5552 GB, free: 7.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003114/0.4305, allocations: 1.734 MB / 0.5569 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.4318, allocations: 1.157 MB / 0.558 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.4329, allocations: 0.9503 MB / 0.5589 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.4343, allocations: 1.289 MB / 0.5602 GB, free: 2.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.4346, allocations: 120 kB / 0.5603 GB, free: 2.168 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006829/0.4414, allocations: 2.63 MB / 0.5629 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005859/0.442, allocations: 478.5 kB / 0.5633 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005864/0.4426, allocations: 416.6 kB / 0.5637 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005618/0.4482, allocations: 3.391 MB / 0.567 GB, free: 11.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4483, allocations: 0 / 0.567 GB, free: 11.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4483, allocations: 0 / 0.567 GB, free: 11.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.396e-05/0.4483, allocations: 0 / 0.567 GB, free: 11.26 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.004697/0.453, allocations: 2.33 MB / 0.5693 GB, free: 8.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.4531, allocations: 8.031 kB / 0.5693 GB, free: 8.863 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003243/0.4534, allocations: 274.5 kB / 0.5696 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003978/0.4574, allocations: 0.8434 MB / 0.5704 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.459, allocations: 0.8644 MB / 0.5713 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.4592, allocations: 203.3 kB / 0.5714 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.4595, allocations: 199.9 kB / 0.5716 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.4629, allocations: 2.117 MB / 0.5737 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.463, allocations: 3.938 kB / 0.5737 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.4631, allocations: 76 kB / 0.5738 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/0.4632, allocations: 48 kB / 0.5738 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003705/0.4669, allocations: 2.299 MB / 0.5761 GB, free: 1.84 MB / 446.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.2074/0.6743, allocations: 7.555 MB / 0.5834 GB, free: 123.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.6779, allocations: 2.205 MB / 0.5856 GB, free: 122.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005428/0.6834, allocations: 5.094 MB / 0.5906 GB, free: 119.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.6834, allocations: 48.53 kB / 0.5906 GB, free: 119.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 3.095e-06/0.6834, allocations: 0 / 0.5906 GB, free: 119.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=176): time 0.01555/0.699, allocations: 6.969 MB / 0.5974 GB, free: 116.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.699, allocations: 96.55 kB / 0.5975 GB, free: 116.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.7, allocations: 0.9411 MB / 0.5984 GB, free: 115.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.947e-05/0.7001, allocations: 53.08 kB / 0.5985 GB, free: 115.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.7005, allocations: 0.879 MB / 0.5993 GB, free: 115 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000364/0.7008, allocations: 0.5982 MB / 0.5999 GB, free: 114.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.7009, allocations: 38.56 kB / 0.6 GB, free: 114.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.701, allocations: 380.6 kB / 0.6003 GB, free: 114.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000948/0.702, allocations: 0.6266 MB / 0.6009 GB, free: 114 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.7031, allocations: 1.185 MB / 0.6021 GB, free: 113 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.7043, allocations: 0.7954 MB / 0.6029 GB, free: 112.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.7043, allocations: 2.875 kB / 0.6029 GB, free: 112.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004769/0.709, allocations: 2.619 MB / 0.6054 GB, free: 111.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.7091, allocations: 10.53 kB / 0.6054 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.7091, allocations: 17.53 kB / 0.6055 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.7114, allocations: 0.6372 MB / 0.6061 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.7135, allocations: 481.2 kB / 0.6065 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0085/0.722, allocations: 8.916 MB / 0.6153 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.7234, allocations: 115.9 kB / 0.6154 GB, free: 103.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002388/0.7237, allocations: 166.3 kB / 0.6155 GB, free: 103.6 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 11,(1,100.0%) 6} * Non-linear torn systems: 3 {1 6,1 11,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007872/0.7245, allocations: 430.2 kB / 0.6159 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.7247, allocations: 148.6 kB / 0.6161 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/0.7306, allocations: 2.74 MB / 0.6187 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.7306, allocations: 19.36 kB / 0.6188 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7306, allocations: 8.062 kB / 0.6188 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.756e-05/0.7306, allocations: 15.08 kB / 0.6188 GB, free: 102.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.7373, allocations: 4.214 MB / 0.6229 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.7373, allocations: 2.234 kB / 0.6229 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001812/0.7392, allocations: 362.1 kB / 0.6233 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002306/0.7415, allocations: 0.6033 MB / 0.6238 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.7416, allocations: 74.44 kB / 0.6239 GB, free: 99.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006348/0.748, allocations: 8.196 MB / 0.6319 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.748, allocations: 2.406 kB / 0.6319 GB, free: 92.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005953/0.754, allocations: 3.329 MB / 0.6352 GB, free: 91.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/0.7544, allocations: 202.4 kB / 0.6354 GB, free: 90.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.7546, allocations: 38.7 kB / 0.6354 GB, free: 90.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000838/0.7554, allocations: 65.42 kB / 0.6355 GB, free: 90.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003464/0.7558, allocations: 182.2 kB / 0.6356 GB, free: 90.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001752/0.756, allocations: 121.4 kB / 0.6358 GB, free: 90.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007736/0.7568, allocations: 0.6166 MB / 0.6364 GB, free: 90.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7568, allocations: 3.938 kB / 0.6364 GB, free: 90.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002502/0.7593, allocations: 0.8322 MB / 0.6372 GB, free: 90.44 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 9,(1,100.0%) 6,(1,100.0%) 8} * Non-linear torn systems: 3 {1 10,1 8,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.00706/0.7663, allocations: 4.912 MB / 0.642 GB, free: 87.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003625/0.77, allocations: 2.446 MB / 0.6444 GB, free: 86.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.77, allocations: 0 / 0.6444 GB, free: 86.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.7722, allocations: 1.577 MB / 0.6459 GB, free: 85.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.7735, allocations: 260.9 kB / 0.6461 GB, free: 85.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009524/0.7831, allocations: 18.07 MB / 0.6638 GB, free: 67.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.7843, allocations: 1.445 MB / 0.6652 GB, free: 66.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00208/0.7864, allocations: 446.1 kB / 0.6656 GB, free: 66.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.7876, allocations: 0.8875 MB / 0.6665 GB, free: 65.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7876, allocations: 0 / 0.6665 GB, free: 65.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06083/0.8485, allocations: 48.04 MB / 0.7134 GB, free: 18.64 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.8487, allocations: 198.7 kB / 0.7136 GB, free: 18.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/4.036, allocations: 0 / 0.7136 GB, free: 18.39 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: