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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.157/1.157, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1589/0.1589, allocations: 15.32 MB / 305.7 MB, free: 15.31 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.91 kB / 370.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08003/0.08114, allocations: 53.61 MB / 424.1 MB, free: 14.23 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.2659/0.3471, allocations: 28.31 MB / 452.4 MB, free: 38.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1261/0.4732, allocations: 153.2 MB / 0.5914 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008664/0.4741, allocations: 23.94 kB / 0.5914 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.4752, allocations: 0.5155 MB / 0.5919 GB, free: 9.574 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003182/0.4784, allocations: 1.629 MB / 0.5935 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005762/0.4842, allocations: 2.952 MB / 0.5964 GB, free: 4.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.4862, allocations: 2.577 MB / 0.5989 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001274/0.4875, allocations: 1.525 MB / 0.6004 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.174/0.6615, allocations: 1.239 MB / 0.6016 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.663, allocations: 1.378 MB / 0.6029 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.6633, allocations: 227.2 kB / 0.6032 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.6683, allocations: 2.322 MB / 0.6054 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.6686, allocations: 0.5718 MB / 0.606 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008071/0.6694, allocations: 1.179 MB / 0.6071 GB, free: 7.059 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.6742, allocations: 4.922 MB / 0.6119 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6742, allocations: 0 / 0.6119 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6742, allocations: 0.5625 kB / 0.6119 GB, free: 6.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.6742, allocations: 2.656 kB / 0.6119 GB, free: 6.809 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.003432/0.6777, allocations: 2.83 MB / 0.6147 GB, free: 5.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.6777, allocations: 9.125 kB / 0.6147 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002375/0.6779, allocations: 273.3 kB / 0.615 GB, free: 5.504 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.6813, allocations: 0.8528 MB / 0.6158 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009563/0.6823, allocations: 0.9313 MB / 0.6167 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.6824, allocations: 209.6 kB / 0.6169 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.6826, allocations: 198.9 kB / 0.6171 GB, free: 4.914 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.6852, allocations: 2.147 MB / 0.6192 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.6853, allocations: 1.25 kB / 0.6192 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.6854, allocations: 82.02 kB / 0.6193 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.6854, allocations: 47.09 kB / 0.6193 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.6885, allocations: 2.312 MB / 0.6216 GB, free: 4.719 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.009019/0.6975, allocations: 7.682 MB / 0.6291 GB, free: 17.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/0.7014, allocations: 2.206 MB / 0.6312 GB, free: 16.92 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7025, allocations: 0.8351 MB / 0.6321 GB, free: 16.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007166/0.7097, allocations: 6.632 MB / 0.6385 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.7097, allocations: 49.84 kB / 0.6386 GB, free: 13.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 2.465e-06/0.7097, allocations: 0.9375 kB / 0.6386 GB, free: 13.11 MB / 478.1 MB Notification: Performance of matching and sorting (n=176): time 0.01502/0.7248, allocations: 6.957 MB / 0.6454 GB, free: 11.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.7248, allocations: 97.92 kB / 0.6455 GB, free: 11.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008634/0.7257, allocations: 0.9614 MB / 0.6464 GB, free: 11.29 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/0.7258, allocations: 56.77 kB / 0.6465 GB, free: 11.26 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003281/0.7261, allocations: 0.873 MB / 0.6473 GB, free: 10.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.7264, allocations: 0.6005 MB / 0.6479 GB, free: 10.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.7268, allocations: 408.8 kB / 0.6483 GB, free: 10.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.7269, allocations: 304.4 kB / 0.6486 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009295/0.7279, allocations: 0.6267 MB / 0.6492 GB, free: 10.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.7291, allocations: 1.204 MB / 0.6504 GB, free: 9.422 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/0.7315, allocations: 2.003 MB / 0.6523 GB, free: 8.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.7315, allocations: 8.406 kB / 0.6523 GB, free: 8.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004218/0.7357, allocations: 2.626 MB / 0.6549 GB, free: 8.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.7357, allocations: 12.38 kB / 0.6549 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.7358, allocations: 17.09 kB / 0.6549 GB, free: 8.359 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.7378, allocations: 0.6351 MB / 0.6555 GB, free: 8.203 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.7396, allocations: 493.6 kB / 0.656 GB, free: 8.184 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007924/0.7476, allocations: 9.514 MB / 0.6653 GB, free: 0 / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.7486, allocations: 73.52 kB / 0.6654 GB, free: 16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.7488, allocations: 166.6 kB / 0.6655 GB, free: 15.97 MB / 494.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.0006191/0.7495, allocations: 435 kB / 0.666 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.7497, allocations: 148.8 kB / 0.6661 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005481/0.7552, allocations: 2.736 MB / 0.6688 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7552, allocations: 21.25 kB / 0.6688 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7552, allocations: 2.781 kB / 0.6688 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.7552, allocations: 12.72 kB / 0.6688 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006408/0.7616, allocations: 4.268 MB / 0.673 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.7617, allocations: 6.219 kB / 0.673 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.7633, allocations: 369.8 kB / 0.6733 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/0.7654, allocations: 0.5938 MB / 0.6739 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.7655, allocations: 74.19 kB / 0.674 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007011/0.7725, allocations: 8.653 MB / 0.6824 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7726, allocations: 4.656 kB / 0.6824 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/0.7778, allocations: 3.281 MB / 0.6856 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.778, allocations: 207.1 kB / 0.6858 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.7782, allocations: 35.94 kB / 0.6859 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/0.779, allocations: 39.98 kB / 0.6859 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/0.7792, allocations: 170.1 kB / 0.6861 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.7794, allocations: 124 kB / 0.6862 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006668/0.7801, allocations: 0.6218 MB / 0.6868 GB, free: 0 / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7801, allocations: 3.094 kB / 0.6868 GB, free: 0 / 494.1 MB Notification: Performance of remove unused functions: time 0.002135/0.7822, allocations: 0.842 MB / 0.6876 GB, free: 15.16 MB / 0.4982 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.00669/0.7889, allocations: 4.516 MB / 0.692 GB, free: 10.77 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.004172/0.7931, allocations: 2.572 MB / 0.6945 GB, free: 8.234 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7931, allocations: 0 / 0.6945 GB, free: 8.234 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002046/0.7952, allocations: 1.57 MB / 0.6961 GB, free: 6.652 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.7964, allocations: 311.8 kB / 0.6964 GB, free: 6.379 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/0.8153, allocations: 15.14 MB / 0.7112 GB, free: 6.523 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008428/0.8162, allocations: 1.402 MB / 0.7125 GB, free: 5.105 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001747/0.8179, allocations: 437.5 kB / 0.7129 GB, free: 4.797 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.8191, allocations: 0.8946 MB / 0.7138 GB, free: 3.918 MB / 0.5138 GB Notification: Performance of SimCode: time 3.91e-07/0.8191, allocations: 0 / 0.7138 GB, free: 3.918 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/0.8957, allocations: 50.33 MB / 0.763 GB, free: 2.348 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/12.11, allocations: 7.719 kB / 0.763 GB, free: 2.344 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)