Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002372/0.002372, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1482/0.1482, allocations: 23.88 MB / 336.3 MB, free: 10.94 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.91 kB / 471.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3901, allocations: 59.86 MB / 0.5185 GB, free: 9.52 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.Obsolete.Examples.HydrogenCombustion): time 0.07812/0.4682, allocations: 28.64 MB / 0.5465 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1976/0.6659, allocations: 134.4 MB / 0.6777 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.6677, allocations: 35.75 kB / 0.6778 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.6694, allocations: 488.1 kB / 0.6782 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006375/0.6758, allocations: 1.656 MB / 0.6798 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01034/0.6861, allocations: 3.011 MB / 0.6828 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005324/0.6914, allocations: 2.601 MB / 0.6853 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002134/0.6936, allocations: 1.198 MB / 0.6865 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.6953, allocations: 1.278 MB / 0.6877 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.6975, allocations: 1.261 MB / 0.689 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005064/0.698, allocations: 228 kB / 0.6892 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008154/0.7061, allocations: 2.219 MB / 0.6914 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001142/0.7073, allocations: 0.5763 MB / 0.6919 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.7089, allocations: 0.9842 MB / 0.6929 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.722, allocations: 5.118 MB / 0.6979 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.722, allocations: 0 / 0.6979 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.405e-06/0.722, allocations: 0 / 0.6979 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.887e-05/0.7221, allocations: 0 / 0.6979 GB, free: 1.691 MB / 0.5294 GB 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.006037/0.7281, allocations: 2.827 MB / 0.7006 GB, free: 14.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.7281, allocations: 8.031 kB / 0.7007 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003534/0.7285, allocations: 278.6 kB / 0.7009 GB, free: 14.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/0.733, allocations: 0.8698 MB / 0.7018 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.735, allocations: 0.9095 MB / 0.7027 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.7353, allocations: 259.2 kB / 0.7029 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003457/0.7356, allocations: 200.3 kB / 0.7031 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.7397, allocations: 2.148 MB / 0.7052 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.7397, allocations: 0 / 0.7052 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.7399, allocations: 76 kB / 0.7053 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/0.7399, allocations: 52 kB / 0.7053 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004348/0.7443, allocations: 2.288 MB / 0.7075 GB, free: 7.641 MB / 0.545 GB 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.01242/0.7567, allocations: 6.056 MB / 0.7135 GB, free: 1.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004493/0.7612, allocations: 1.553 MB / 0.715 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.7626, allocations: 0.7429 MB / 0.7157 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009015/0.7717, allocations: 3.914 MB / 0.7195 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.7717, allocations: 51.88 kB / 0.7196 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 4.498e-06/0.7717, allocations: 0 / 0.7196 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01956/0.7913, allocations: 6.522 MB / 0.7259 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.7913, allocations: 99.09 kB / 0.726 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.7927, allocations: 0.9922 MB / 0.727 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.7928, allocations: 53.7 kB / 0.7271 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007602/0.7936, allocations: 0.8987 MB / 0.7279 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000606/0.7942, allocations: 0.6235 MB / 0.7285 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006162/0.7948, allocations: 407.5 kB / 0.7289 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7949, allocations: 305.1 kB / 0.7292 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.7961, allocations: 0.6248 MB / 0.7298 GB, free: 448 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2389/1.035, allocations: 1.188 MB / 0.731 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/1.038, allocations: 1.992 MB / 0.7329 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/1.038, allocations: 7.5 kB / 0.7329 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005309/1.044, allocations: 2.571 MB / 0.7355 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/1.044, allocations: 13.69 kB / 0.7355 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/1.044, allocations: 19.72 kB / 0.7355 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/1.046, allocations: 0.601 MB / 0.7361 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002463/1.049, allocations: 485.7 kB / 0.7365 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008132/1.057, allocations: 8.9 MB / 0.7452 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.058, allocations: 63.06 kB / 0.7453 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/1.059, allocations: 163.4 kB / 0.7454 GB, free: 174.6 MB / 0.5606 GB 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,9,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,10), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007766/1.059, allocations: 433.3 kB / 0.7459 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/1.06, allocations: 154.2 kB / 0.746 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005537/1.065, allocations: 2.614 MB / 0.7486 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.065, allocations: 19.34 kB / 0.7486 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.065, allocations: 4.625 kB / 0.7486 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.065, allocations: 9 kB / 0.7486 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007346/1.073, allocations: 3.888 MB / 0.7524 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.073, allocations: 7.234 kB / 0.7524 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.075, allocations: 376.2 kB / 0.7528 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/1.077, allocations: 0.5061 MB / 0.7532 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/1.077, allocations: 74.33 kB / 0.7533 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005163/1.082, allocations: 6.325 MB / 0.7595 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.082, allocations: 3.516 kB / 0.7595 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005947/1.088, allocations: 3.147 MB / 0.7626 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/1.088, allocations: 136.7 kB / 0.7627 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/1.088, allocations: 35.78 kB / 0.7627 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008394/1.089, allocations: 39.95 kB / 0.7628 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004193/1.09, allocations: 177.6 kB / 0.7629 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.09, allocations: 121.6 kB / 0.7631 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009647/1.091, allocations: 0.6255 MB / 0.7637 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.091, allocations: 0 / 0.7637 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002805/1.094, allocations: 0.8295 MB / 0.7645 GB, free: 164 MB / 0.5606 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 (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007606/1.101, allocations: 4.416 MB / 0.7688 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004468/1.106, allocations: 2.333 MB / 0.7711 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.106, allocations: 0 / 0.7711 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/1.108, allocations: 1.317 MB / 0.7724 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.109, allocations: 302.1 kB / 0.7726 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/1.13, allocations: 14.15 MB / 0.7865 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/1.131, allocations: 0.832 MB / 0.7873 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001712/1.132, allocations: 432.1 kB / 0.7877 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.134, allocations: 0.8988 MB / 0.7886 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/1.134, allocations: 0 / 0.7886 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/1.247, allocations: 51.76 MB / 0.8391 GB, free: 95.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.51/16.76, allocations: 10.86 kB / 0.8391 GB, free: 95.63 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --stepSize=0.000156 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.67228929977864] Failed to read output from testmodel.py, exit status != 0: 16.919776251073927 16.930472474 16.205973466 Calling exit ...