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.001342/0.001342, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.001399/0.001399, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.519/1.519, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1487/0.1487, allocations: 23.89 MB / 333.4 MB, free: 1.184 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="cs",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.002013/0.002013, allocations: 68.56 kB / 466.7 MB, free: 30.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1228, allocations: 59.83 MB / 0.5142 GB, free: 12.91 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.04386/0.1666, allocations: 29.35 MB / 0.5429 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4554/0.6221, allocations: 156.5 MB / 0.6957 GB, free: 6.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.6235, allocations: 31.75 kB / 0.6958 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.6255, allocations: 0.5153 MB / 0.6963 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.6313, allocations: 1.668 MB / 0.6979 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008913/0.6402, allocations: 2.995 MB / 0.7008 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004125/0.6443, allocations: 2.602 MB / 0.7034 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002111/0.6464, allocations: 1.249 MB / 0.7046 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.6482, allocations: 1.27 MB / 0.7058 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/0.6505, allocations: 1.415 MB / 0.7072 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005724/0.651, allocations: 228 kB / 0.7074 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00732/0.6584, allocations: 2.387 MB / 0.7097 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009108/0.6593, allocations: 0.5725 MB / 0.7103 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.6609, allocations: 1.182 MB / 0.7115 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.6718, allocations: 5.126 MB / 0.7165 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6718, allocations: 0 / 0.7165 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6718, allocations: 3.938 kB / 0.7165 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.885e-05/0.6719, allocations: 0 / 0.7165 GB, free: 0.9922 MB / 0.4981 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.007006/0.6789, allocations: 2.901 MB / 0.7193 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.6789, allocations: 12.03 kB / 0.7193 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.493e-05/0.679, allocations: 52.05 kB / 0.7194 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003921/0.6794, allocations: 270.7 kB / 0.7196 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/0.6841, allocations: 0.8702 MB / 0.7205 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.6862, allocations: 0.9867 MB / 0.7214 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.6865, allocations: 199.8 kB / 0.7216 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.6869, allocations: 200.3 kB / 0.7218 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/0.6911, allocations: 2.16 MB / 0.7239 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.6911, allocations: 0 / 0.7239 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.6913, allocations: 79.84 kB / 0.724 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/0.6913, allocations: 52 kB / 0.7241 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004515/0.6959, allocations: 2.307 MB / 0.7263 GB, free: 6.75 MB / 0.5137 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.01289/0.7087, allocations: 7.658 MB / 0.7338 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004874/0.7136, allocations: 2.236 MB / 0.736 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.715, allocations: 0.7319 MB / 0.7367 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.7254, allocations: 6.664 MB / 0.7432 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.7254, allocations: 47.69 kB / 0.7432 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=132): time 3.526e-06/0.7254, allocations: 0 / 0.7432 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=174): time 0.02056/0.746, allocations: 6.827 MB / 0.7499 GB, free: 13.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.7461, allocations: 103 kB / 0.75 GB, free: 13.06 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.7474, allocations: 0.9536 MB / 0.7509 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001626/0.7476, allocations: 53.7 kB / 0.751 GB, free: 12.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000784/0.7484, allocations: 0.9025 MB / 0.7519 GB, free: 11.12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006183/0.749, allocations: 0.6197 MB / 0.7525 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006407/0.7496, allocations: 411.5 kB / 0.7529 GB, free: 10.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.7498, allocations: 305.1 kB / 0.7532 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.751, allocations: 0.6209 MB / 0.7538 GB, free: 9.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.7529, allocations: 1.193 MB / 0.7549 GB, free: 7.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.7563, allocations: 1.988 MB / 0.7569 GB, free: 5.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.7563, allocations: 8 kB / 0.7569 GB, free: 5.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006061/0.7624, allocations: 2.571 MB / 0.7594 GB, free: 2.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.412e-05/0.7624, allocations: 16.06 kB / 0.7594 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.7625, allocations: 20 kB / 0.7594 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.7649, allocations: 0.5981 MB / 0.76 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/0.7673, allocations: 491.3 kB / 0.7605 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.7782, allocations: 9.375 MB / 0.7696 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.7799, allocations: 60 kB / 0.7697 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/0.7803, allocations: 164 kB / 0.7698 GB, free: 7.555 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.0009143/0.7812, allocations: 429.2 kB / 0.7703 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/0.7816, allocations: 158.9 kB / 0.7704 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006635/0.7882, allocations: 2.618 MB / 0.773 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.7883, allocations: 16 kB / 0.773 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.7883, allocations: 11.94 kB / 0.773 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.7e-05/0.7883, allocations: 7.969 kB / 0.773 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008326/0.7966, allocations: 4.124 MB / 0.777 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.7966, allocations: 0 / 0.777 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002218/0.7989, allocations: 379.6 kB / 0.7774 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.8011, allocations: 0.5101 MB / 0.7779 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/0.8013, allocations: 75.95 kB / 0.778 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/0.809, allocations: 6.665 MB / 0.7845 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.809, allocations: 3.938 kB / 0.7845 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006813/0.8158, allocations: 3.15 MB / 0.7875 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/0.8163, allocations: 216 kB / 0.7877 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/0.8166, allocations: 43.94 kB / 0.7878 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/0.8174, allocations: 39.98 kB / 0.7878 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005581/0.818, allocations: 165.7 kB / 0.788 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/0.8183, allocations: 128 kB / 0.7881 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001046/0.8193, allocations: 0.6218 MB / 0.7887 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8193, allocations: 4 kB / 0.7887 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003239/0.8226, allocations: 0.8264 MB / 0.7895 GB, free: 2.75 MB / 0.5762 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.009027/0.8316, allocations: 4.406 MB / 0.7938 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005195/0.8368, allocations: 2.32 MB / 0.7961 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.8368, allocations: 0 / 0.7961 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003047/0.8398, allocations: 1.323 MB / 0.7974 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.8419, allocations: 304.9 kB / 0.7977 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/0.8703, allocations: 14.14 MB / 0.8115 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.8717, allocations: 1.402 MB / 0.8129 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001814/0.8735, allocations: 437.7 kB / 0.8133 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/0.8751, allocations: 0.8897 MB / 0.8141 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of SimCode: time 1.132e-06/0.8752, allocations: 0 / 0.8141 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3664/1.242, allocations: 50.86 MB / 0.8638 GB, free: 208.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.52/25.76, allocations: 6.656 kB / 0.8638 GB, free: 208.7 MB / 0.6075 GB " [Timeout remaining time 634] (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 os._exit(0), Time elapsed: 28.991668460017536] Failed to read output from testmodel.py, exit status != 0: 25.948039303999394 25.967940134 25.292365447 Calling exit ...