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.0007833/0.0007834, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005162/0.005163, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2103/0.2103, allocations: 15.28 MB / 306.7 MB, free: 15.67 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 372.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2653, allocations: 54.62 MB / 426.8 MB, free: 40.12 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.02822/0.2936, allocations: 28.59 MB / 455.4 MB, free: 29.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.392/0.6856, allocations: 149.3 MB / 0.5905 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.6873, allocations: 41.44 kB / 0.5906 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6886, allocations: 442.1 kB / 0.591 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.6928, allocations: 1.456 MB / 0.5924 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006864/0.6997, allocations: 2.548 MB / 0.5949 GB, free: 5.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002951/0.7027, allocations: 2.508 MB / 0.5974 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.704, allocations: 1.236 MB / 0.5986 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.7054, allocations: 1.205 MB / 0.5998 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.7068, allocations: 1.347 MB / 0.6011 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.707, allocations: 117.9 kB / 0.6012 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006344/0.7133, allocations: 2.294 MB / 0.6034 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.7139, allocations: 477.8 kB / 0.6039 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.7152, allocations: 1.102 MB / 0.6049 GB, free: 4.812 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.7262, allocations: 4.949 MB / 0.6098 GB, free: 4.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7262, allocations: 0.9688 kB / 0.6098 GB, free: 4.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7262, allocations: 0 / 0.6098 GB, free: 4.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.7264, allocations: 0 / 0.6098 GB, free: 4.469 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.006686/0.7331, allocations: 2.318 MB / 0.612 GB, free: 3.227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7331, allocations: 9.188 kB / 0.6121 GB, free: 3.227 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00139/0.7345, allocations: 274.6 kB / 0.6123 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005353/0.7399, allocations: 0.8535 MB / 0.6132 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.7424, allocations: 0.9217 MB / 0.6141 GB, free: 18.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.7427, allocations: 209.2 kB / 0.6143 GB, free: 18.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006674/0.7434, allocations: 196.8 kB / 0.6144 GB, free: 18.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.7485, allocations: 2.155 MB / 0.6165 GB, free: 18.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.678e-05/0.7485, allocations: 0.6562 kB / 0.6165 GB, free: 18.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.7488, allocations: 79.41 kB / 0.6166 GB, free: 18.4 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-05/0.7489, allocations: 46.59 kB / 0.6167 GB, free: 18.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.7529, allocations: 2.305 MB / 0.6189 GB, free: 18.37 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.01198/0.7649, allocations: 7.628 MB / 0.6264 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.7692, allocations: 2.198 MB / 0.6285 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.7705, allocations: 0.8268 MB / 0.6293 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007715/0.7783, allocations: 6.564 MB / 0.6357 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.7783, allocations: 48.19 kB / 0.6358 GB, free: 8.473 MB / 462.1 MB Notification: Performance of pre-optimization done (n=133): time 3.577e-06/0.7783, allocations: 2.656 kB / 0.6358 GB, free: 8.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=176): time 0.01813/0.7965, allocations: 6.97 MB / 0.6426 GB, free: 6.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.7965, allocations: 101.3 kB / 0.6427 GB, free: 6.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.7978, allocations: 0.9586 MB / 0.6436 GB, free: 5.582 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.7979, allocations: 55.42 kB / 0.6437 GB, free: 5.527 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005538/0.7985, allocations: 0.8774 MB / 0.6445 GB, free: 4.75 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/0.799, allocations: 0.5986 MB / 0.6451 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.7992, allocations: 162.8 kB / 0.6453 GB, free: 4.121 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.7993, allocations: 303.8 kB / 0.6456 GB, free: 3.824 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.8005, allocations: 0.6275 MB / 0.6462 GB, free: 3.516 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.802, allocations: 1.204 MB / 0.6473 GB, free: 2.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.8048, allocations: 2.003 MB / 0.6493 GB, free: 1.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.8048, allocations: 5.281 kB / 0.6493 GB, free: 1.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005281/0.8101, allocations: 2.634 MB / 0.6519 GB, free: 15.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.8101, allocations: 13.53 kB / 0.6519 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.8102, allocations: 17.47 kB / 0.6519 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.8126, allocations: 0.6371 MB / 0.6525 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.8147, allocations: 488.8 kB / 0.653 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008889/0.8236, allocations: 8.811 MB / 0.6616 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.8253, allocations: 125.4 kB / 0.6617 GB, free: 7.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/0.8257, allocations: 160.3 kB / 0.6619 GB, free: 7.516 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.8267, allocations: 430.6 kB / 0.6623 GB, free: 7.223 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.8271, allocations: 149.7 kB / 0.6624 GB, free: 7.145 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006626/0.8338, allocations: 2.75 MB / 0.6651 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.8338, allocations: 17.91 kB / 0.6651 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.8338, allocations: 6.438 kB / 0.6651 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.8339, allocations: 7.969 kB / 0.6651 GB, free: 5.727 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008147/0.842, allocations: 4.271 MB / 0.6693 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.842, allocations: 2.906 kB / 0.6693 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.844, allocations: 362.1 kB / 0.6697 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.8466, allocations: 0.5947 MB / 0.6702 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000196/0.8468, allocations: 78.61 kB / 0.6703 GB, free: 1.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008242/0.855, allocations: 8.115 MB / 0.6782 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.8551, allocations: 4.031 kB / 0.6782 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006743/0.8618, allocations: 3.286 MB / 0.6815 GB, free: 5.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.8623, allocations: 211.1 kB / 0.6817 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.8627, allocations: 38.67 kB / 0.6817 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8638, allocations: 70.47 kB / 0.6818 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.8642, allocations: 172.8 kB / 0.6819 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/0.8644, allocations: 126.6 kB / 0.682 GB, free: 4.984 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009369/0.8654, allocations: 0.6244 MB / 0.6827 GB, free: 4.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8654, allocations: 0 / 0.6827 GB, free: 4.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002913/0.8683, allocations: 0.8355 MB / 0.6835 GB, free: 3.52 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.008583/0.8769, allocations: 4.542 MB / 0.6879 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004273/0.8812, allocations: 2.463 MB / 0.6903 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.8812, allocations: 6.688 kB / 0.6903 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.8838, allocations: 1.58 MB / 0.6919 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.8858, allocations: 282.8 kB / 0.6921 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/0.9143, allocations: 16.11 MB / 0.7079 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.9156, allocations: 1.399 MB / 0.7092 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0022/0.9178, allocations: 445.8 kB / 0.7097 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/0.9193, allocations: 0.8858 MB / 0.7105 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.9193, allocations: 0 / 0.7105 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.377/2.296, allocations: 48.49 MB / 0.7579 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/2.297, allocations: 217.9 kB / 0.7581 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/5.619, allocations: 0 / 0.7581 GB, free: 6.832 MB / 0.5606 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)