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.001489/0.001489, allocations: 108 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.002328/0.002328, allocations: 216.2 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.516/1.516, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.148/0.148, allocations: 23.86 MB / 332.7 MB, free: 12.34 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.002018/0.002018, allocations: 67.91 kB / 466 MB, free: 10.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3483, allocations: 59.82 MB / 0.5135 GB, free: 8.84 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.04341/0.3917, allocations: 29.53 MB / 0.5423 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1883/0.58, allocations: 156.5 MB / 0.6952 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.5821, allocations: 31.81 kB / 0.6952 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.584, allocations: 0.5195 MB / 0.6957 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.5895, allocations: 1.66 MB / 0.6973 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009046/0.5986, allocations: 2.991 MB / 0.7002 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005123/0.6037, allocations: 2.613 MB / 0.7028 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.6057, allocations: 1.248 MB / 0.704 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.6075, allocations: 1.27 MB / 0.7053 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.6097, allocations: 1.417 MB / 0.7066 GB, free: 4.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005384/0.6102, allocations: 232 kB / 0.7069 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007919/0.6182, allocations: 2.391 MB / 0.7092 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.6192, allocations: 0.5647 MB / 0.7097 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001914/0.6211, allocations: 1.182 MB / 0.7109 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.6341, allocations: 5.126 MB / 0.7159 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6341, allocations: 0 / 0.7159 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6341, allocations: 0 / 0.7159 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.966e-05/0.6342, allocations: 4 kB / 0.7159 GB, free: 11.36 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.006505/0.6407, allocations: 2.904 MB / 0.7187 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.6407, allocations: 12.03 kB / 0.7188 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003893/0.6411, allocations: 270.6 kB / 0.719 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.6459, allocations: 0.8659 MB / 0.7199 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.6485, allocations: 0.979 MB / 0.7208 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.6488, allocations: 203.8 kB / 0.721 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007834/0.6496, allocations: 204.3 kB / 0.7212 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/0.6544, allocations: 2.156 MB / 0.7233 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.6544, allocations: 4 kB / 0.7233 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002017/0.6546, allocations: 79.94 kB / 0.7234 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-05/0.6547, allocations: 48 kB / 0.7234 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.6593, allocations: 2.307 MB / 0.7257 GB, free: 1.168 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.2634/0.9227, allocations: 7.646 MB / 0.7332 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.9273, allocations: 2.241 MB / 0.7353 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.9289, allocations: 0.7377 MB / 0.7361 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.9391, allocations: 6.659 MB / 0.7426 GB, free: 177 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.9391, allocations: 53.25 kB / 0.7426 GB, free: 177 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.526e-06/0.9392, allocations: 0 / 0.7426 GB, free: 177 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01998/0.9591, allocations: 6.81 MB / 0.7493 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.9592, allocations: 102 kB / 0.7494 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.9605, allocations: 0.9562 MB / 0.7503 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.9607, allocations: 55.2 kB / 0.7504 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.9612, allocations: 0.9028 MB / 0.7512 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004606/0.9616, allocations: 0.6235 MB / 0.7518 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005812/0.9622, allocations: 409.4 kB / 0.7522 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.9623, allocations: 301.1 kB / 0.7525 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.9635, allocations: 0.6248 MB / 0.7531 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.965, allocations: 1.192 MB / 0.7543 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/0.9677, allocations: 1.991 MB / 0.7562 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.9677, allocations: 5.5 kB / 0.7562 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005479/0.9732, allocations: 2.57 MB / 0.7588 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.9732, allocations: 12.34 kB / 0.7588 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.9732, allocations: 19.97 kB / 0.7588 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002328/0.9756, allocations: 0.6019 MB / 0.7594 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.978, allocations: 486 kB / 0.7598 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008187/0.9862, allocations: 9.372 MB / 0.769 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.9879, allocations: 69.5 kB / 0.7691 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003231/0.9883, allocations: 162.9 kB / 0.7692 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.001057/0.9893, allocations: 423.4 kB / 0.7696 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/0.9898, allocations: 154.8 kB / 0.7698 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005561/0.9953, allocations: 2.631 MB / 0.7723 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.9953, allocations: 18.22 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.9954, allocations: 9.094 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/0.9954, allocations: 7.969 kB / 0.7724 GB, free: 158 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007082/1.002, allocations: 4.136 MB / 0.7764 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.002, allocations: 0 / 0.7764 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/1.004, allocations: 379.5 kB / 0.7768 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/1.006, allocations: 0.499 MB / 0.7773 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/1.007, allocations: 79.61 kB / 0.7773 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005113/1.012, allocations: 6.667 MB / 0.7838 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.012, allocations: 0 / 0.7838 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/1.017, allocations: 3.145 MB / 0.7869 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/1.018, allocations: 212.6 kB / 0.7871 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002252/1.018, allocations: 36 kB / 0.7871 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009023/1.019, allocations: 44.64 kB / 0.7872 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/1.019, allocations: 172.3 kB / 0.7874 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.019, allocations: 124 kB / 0.7875 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000673/1.02, allocations: 0.6179 MB / 0.7881 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.02, allocations: 0 / 0.7881 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00282/1.023, allocations: 0.8382 MB / 0.7889 GB, free: 143.7 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.006727/1.029, allocations: 4.426 MB / 0.7932 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004107/1.034, allocations: 2.331 MB / 0.7955 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.034, allocations: 0 / 0.7955 GB, free: 137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/1.036, allocations: 1.316 MB / 0.7968 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.038, allocations: 299 kB / 0.7971 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/1.06, allocations: 14.14 MB / 0.8109 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/1.061, allocations: 1.398 MB / 0.8122 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001562/1.063, allocations: 444.5 kB / 0.8127 GB, free: 119 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/1.064, allocations: 0.895 MB / 0.8135 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.064, allocations: 0 / 0.8135 GB, free: 118.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.164, allocations: 50.81 MB / 0.8632 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.74/24.91, allocations: 14.41 kB / 0.8632 GB, free: 67.97 MB / 0.5606 GB " [Timeout remaining time 635] (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 sys.exit(0), Time elapsed: 27.89884813199751] Failed to read output from testmodel.py, exit status != 0: 25.036870107986033 25.052550209 24.415133832 Calling exit ...