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.0007749/0.0007748, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008909/0.000891, allocations: 168.7 kB / 15.95 MB, free: 204 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.249/1.249, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1895/0.1895, allocations: 15.26 MB / 306.3 MB, free: 15.68 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003046, allocations: 8 kB / 371.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2531, allocations: 54.62 MB / 426.2 MB, free: 39.99 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.006432/0.2596, allocations: 8.832 MB / 435 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1343/0.3939, allocations: 138.8 MB / 0.5604 GB, free: 2.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.3955, allocations: 39.75 kB / 0.5604 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3968, allocations: 437.1 kB / 0.5608 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003913/0.4008, allocations: 1.469 MB / 0.5623 GB, free: 200 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005987/0.4068, allocations: 2.32 MB / 0.5645 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003151/0.4099, allocations: 2.404 MB / 0.5669 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.4114, allocations: 1.159 MB / 0.568 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.4127, allocations: 1.059 MB / 0.5691 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.4142, allocations: 1.347 MB / 0.5704 GB, free: 7.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.4145, allocations: 120 kB / 0.5705 GB, free: 7.734 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005617/0.4201, allocations: 2.242 MB / 0.5727 GB, free: 5.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004273/0.4205, allocations: 482.4 kB / 0.5731 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004013/0.4209, allocations: 408.6 kB / 0.5735 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004211/0.4251, allocations: 3.794 MB / 0.5772 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4252, allocations: 0 / 0.5772 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4252, allocations: 0 / 0.5772 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.4252, allocations: 0 / 0.5772 GB, free: 0.8086 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.2144/0.6396, allocations: 2.318 MB / 0.5795 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.6396, allocations: 10.47 kB / 0.5795 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000277/0.6399, allocations: 272 kB / 0.5798 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003418/0.6433, allocations: 0.8501 MB / 0.5806 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.6444, allocations: 0.8898 MB / 0.5815 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.6445, allocations: 199.5 kB / 0.5816 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.6448, allocations: 199.8 kB / 0.5818 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.6476, allocations: 2.134 MB / 0.5839 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.6476, allocations: 2.031 kB / 0.5839 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.6478, allocations: 80.41 kB / 0.584 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.6478, allocations: 47.53 kB / 0.584 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.651, allocations: 2.294 MB / 0.5863 GB, free: 14.66 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.008577/0.6596, allocations: 7.626 MB / 0.5937 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003394/0.663, allocations: 2.186 MB / 0.5959 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.6641, allocations: 0.821 MB / 0.5967 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006532/0.6706, allocations: 6.561 MB / 0.6031 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.6707, allocations: 51.42 kB / 0.6031 GB, free: 6.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 2.906e-06/0.6707, allocations: 0 / 0.6031 GB, free: 6.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=176): time 0.01652/0.6872, allocations: 6.952 MB / 0.6099 GB, free: 5.414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.6873, allocations: 100.1 kB / 0.61 GB, free: 5.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.6884, allocations: 0.9431 MB / 0.6109 GB, free: 5.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.152e-05/0.6885, allocations: 55.98 kB / 0.611 GB, free: 5.113 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.689, allocations: 0.8723 MB / 0.6118 GB, free: 4.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.6894, allocations: 0.5985 MB / 0.6124 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.6895, allocations: 42.09 kB / 0.6125 GB, free: 4.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.6896, allocations: 384.6 kB / 0.6128 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.6908, allocations: 0.6268 MB / 0.6134 GB, free: 3.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.6922, allocations: 1.193 MB / 0.6146 GB, free: 3.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.6935, allocations: 0.7956 MB / 0.6154 GB, free: 3.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.6935, allocations: 5.438 kB / 0.6154 GB, free: 3.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004805/0.6983, allocations: 2.617 MB / 0.6179 GB, free: 2.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.6983, allocations: 17.81 kB / 0.618 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.6984, allocations: 24.61 kB / 0.618 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.7004, allocations: 0.6314 MB / 0.6186 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.7023, allocations: 487.3 kB / 0.6191 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007532/0.7098, allocations: 8.806 MB / 0.6277 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.7112, allocations: 114.1 kB / 0.6278 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.7114, allocations: 161.2 kB / 0.6279 GB, free: 12.56 MB / 462.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.0006948/0.7121, allocations: 433.2 kB / 0.6283 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.7123, allocations: 150.9 kB / 0.6285 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005688/0.718, allocations: 2.735 MB / 0.6312 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.718, allocations: 22.06 kB / 0.6312 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.7181, allocations: 7.125 kB / 0.6312 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.7181, allocations: 12.75 kB / 0.6312 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006291/0.7244, allocations: 4.25 MB / 0.6353 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7244, allocations: 2.438 kB / 0.6353 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/0.7261, allocations: 361.8 kB / 0.6357 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/0.7282, allocations: 0.6027 MB / 0.6363 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.7284, allocations: 71.16 kB / 0.6364 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007189/0.7356, allocations: 8.101 MB / 0.6443 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7356, allocations: 304 / 0.6443 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005636/0.7412, allocations: 3.272 MB / 0.6475 GB, free: 1.848 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.7416, allocations: 205 kB / 0.6477 GB, free: 1.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.7418, allocations: 36.38 kB / 0.6477 GB, free: 1.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.7426, allocations: 64.19 kB / 0.6477 GB, free: 1.582 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002976/0.7429, allocations: 180.7 kB / 0.6479 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/0.7431, allocations: 122.8 kB / 0.648 GB, free: 1.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.7439, allocations: 0.6105 MB / 0.6486 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7439, allocations: 1.859 kB / 0.6486 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002569/0.7465, allocations: 0.8433 MB / 0.6495 GB, free: 172 kB / 462.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.007257/0.7537, allocations: 4.502 MB / 0.6539 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003827/0.7576, allocations: 2.451 MB / 0.6562 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.7576, allocations: 0 / 0.6562 GB, free: 11 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.76, allocations: 1.584 MB / 0.6578 GB, free: 9.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.7614, allocations: 302.3 kB / 0.6581 GB, free: 9.559 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.7777, allocations: 11.03 MB / 0.6689 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.7788, allocations: 1.408 MB / 0.6702 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00201/0.7809, allocations: 439.5 kB / 0.6707 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.7822, allocations: 0.8956 MB / 0.6715 GB, free: 13.79 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.7822, allocations: 0 / 0.6715 GB, free: 13.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06748/0.8496, allocations: 48.41 MB / 0.7188 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.8499, allocations: 192 kB / 0.719 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/3.958, allocations: 0 / 0.719 GB, free: 13.63 MB / 0.5294 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/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: