Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001507/0.001507, allocations: 105.8 kB / 16.45 MB, free: 6.453 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.001667/0.001667, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 8.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1655/0.1655, allocations: 23.88 MB / 332.7 MB, free: 12.3 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_master_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.001949/0.001949, allocations: 67.89 kB / 466 MB, free: 10.01 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3328/0.3347, allocations: 59.84 MB / 0.5136 GB, free: 8.844 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.04176/0.3765, allocations: 29.55 MB / 0.5424 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1913/0.5678, allocations: 156.5 MB / 0.6952 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.5703, allocations: 35.75 kB / 0.6953 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.5721, allocations: 0.5078 MB / 0.6958 GB, free: 88 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006319/0.5784, allocations: 1.672 MB / 0.6974 GB, free: 14.4 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01005/0.5885, allocations: 2.991 MB / 0.7003 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00492/0.5934, allocations: 2.609 MB / 0.7029 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002537/0.5959, allocations: 1.241 MB / 0.7041 GB, free: 7.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.5983, allocations: 1.274 MB / 0.7053 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.6011, allocations: 1.413 MB / 0.7067 GB, free: 4.789 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009943/0.6021, allocations: 228 kB / 0.7069 GB, free: 4.566 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.6126, allocations: 2.387 MB / 0.7093 GB, free: 2.176 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.6137, allocations: 0.5764 MB / 0.7098 GB, free: 1.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002458/0.6162, allocations: 1.182 MB / 0.711 GB, free: 420 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.6292, allocations: 5.126 MB / 0.716 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6292, allocations: 0 / 0.716 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6292, allocations: 0 / 0.716 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001318/0.6293, allocations: 0 / 0.716 GB, free: 11.27 MB / 0.5606 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.007228/0.6366, allocations: 2.908 MB / 0.7188 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6366, allocations: 8.031 kB / 0.7188 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005719/0.6372, allocations: 278.6 kB / 0.7191 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004619/0.6418, allocations: 0.8698 MB / 0.7199 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.6438, allocations: 0.9751 MB / 0.7209 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002357/0.644, allocations: 207.8 kB / 0.7211 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004371/0.6445, allocations: 200.3 kB / 0.7213 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004265/0.6487, allocations: 2.156 MB / 0.7234 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.6488, allocations: 0 / 0.7234 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.649, allocations: 76 kB / 0.7235 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.649, allocations: 48 kB / 0.7235 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/0.6534, allocations: 2.315 MB / 0.7258 GB, free: 1.066 MB / 0.5606 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.2601/0.9135, allocations: 7.645 MB / 0.7332 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.9176, allocations: 2.242 MB / 0.7354 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.9187, allocations: 0.734 MB / 0.7361 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007653/0.9264, allocations: 6.661 MB / 0.7426 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.9264, allocations: 48.33 kB / 0.7427 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 2.876e-06/0.9264, allocations: 0.5625 kB / 0.7427 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.0169/0.9433, allocations: 6.809 MB / 0.7493 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.9434, allocations: 108.6 kB / 0.7494 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.9445, allocations: 0.9529 MB / 0.7504 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.9446, allocations: 57.23 kB / 0.7504 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/0.945, allocations: 0.9035 MB / 0.7513 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.9454, allocations: 0.6222 MB / 0.7519 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005436/0.946, allocations: 410 kB / 0.7523 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.785e-05/0.946, allocations: 305.1 kB / 0.7526 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.9471, allocations: 0.6231 MB / 0.7532 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.9485, allocations: 1.193 MB / 0.7544 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.9514, allocations: 1.986 MB / 0.7563 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/0.9514, allocations: 6 kB / 0.7563 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004891/0.9563, allocations: 2.574 MB / 0.7588 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.9564, allocations: 16.25 kB / 0.7589 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.9564, allocations: 18 kB / 0.7589 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.9584, allocations: 0.6011 MB / 0.7595 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.9605, allocations: 484.1 kB / 0.7599 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007126/0.9677, allocations: 9.367 MB / 0.7691 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.969, allocations: 69.19 kB / 0.7691 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.9692, allocations: 164.5 kB / 0.7693 GB, free: 159.7 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.0008063/0.97, allocations: 428.6 kB / 0.7697 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/0.9704, allocations: 151.7 kB / 0.7698 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004888/0.9752, allocations: 2.624 MB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.9753, allocations: 21.5 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.9753, allocations: 4.781 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.9753, allocations: 9.281 kB / 0.7724 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005802/0.9811, allocations: 4.133 MB / 0.7765 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.9811, allocations: 6.156 kB / 0.7765 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.9829, allocations: 381.4 kB / 0.7768 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.9846, allocations: 0.5027 MB / 0.7773 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.9848, allocations: 80.27 kB / 0.7774 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004497/0.9893, allocations: 6.661 MB / 0.7839 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.9893, allocations: 0 / 0.7839 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004668/0.9939, allocations: 3.149 MB / 0.787 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003164/0.9942, allocations: 218.1 kB / 0.7872 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.9944, allocations: 42.66 kB / 0.7872 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/0.9952, allocations: 39.98 kB / 0.7873 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002998/0.9955, allocations: 165.7 kB / 0.7874 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.9956, allocations: 128 kB / 0.7876 GB, free: 145 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006227/0.9963, allocations: 0.6166 MB / 0.7882 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9963, allocations: 0 / 0.7882 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002461/0.9987, allocations: 0.8342 MB / 0.789 GB, free: 143.6 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.006295/1.005, allocations: 4.418 MB / 0.7933 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003986/1.009, allocations: 2.334 MB / 0.7956 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.009, allocations: 0 / 0.7956 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/1.011, allocations: 1.322 MB / 0.7969 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/1.013, allocations: 299.6 kB / 0.7971 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.031, allocations: 14.13 MB / 0.8109 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006933/1.032, allocations: 1.399 MB / 0.8123 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001317/1.033, allocations: 445.5 kB / 0.8127 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.034, allocations: 0.8924 MB / 0.8136 GB, free: 118 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.034, allocations: 0 / 0.8136 GB, free: 118 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0897/1.124, allocations: 50.83 MB / 0.8632 GB, free: 67.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.25/23.37, allocations: 13.73 kB / 0.8633 GB, free: 67.87 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --stepSize=0.000156 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.3561658419203] Failed to read output from testmodel.py, exit status != 0: 23.49263429781422 23.502169337 22.870666002 Calling exit ...