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.001628/0.001628, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.00201/0.00201, allocations: 212 kB / 20.13 MB, free: 2.949 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.576/1.576, 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 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.1439/0.1439, allocations: 23.87 MB / 333.4 MB, free: 1.199 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_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.002006/0.002006, allocations: 68.19 kB / 466.7 MB, free: 30.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1234, allocations: 59.83 MB / 0.5142 GB, free: 12.85 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.04801/0.1714, allocations: 29.34 MB / 0.5428 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4898/0.6612, allocations: 156.5 MB / 0.6957 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.6628, allocations: 31.75 kB / 0.6957 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.6644, allocations: 0.5114 MB / 0.6962 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00555/0.6699, allocations: 1.667 MB / 0.6978 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0113/0.6812, allocations: 2.992 MB / 0.7008 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005899/0.6871, allocations: 2.598 MB / 0.7033 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.6893, allocations: 1.245 MB / 0.7045 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.6913, allocations: 1.273 MB / 0.7058 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.6936, allocations: 1.425 MB / 0.7072 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005347/0.6942, allocations: 228 kB / 0.7074 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008696/0.7029, allocations: 2.383 MB / 0.7097 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.7039, allocations: 0.5647 MB / 0.7102 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.7057, allocations: 1.186 MB / 0.7114 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.7188, allocations: 5.126 MB / 0.7164 GB, free: 1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.7188, allocations: 0 / 0.7164 GB, free: 1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.7188, allocations: 0 / 0.7164 GB, free: 1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.488e-05/0.7189, allocations: 0 / 0.7164 GB, free: 1 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.006835/0.7258, allocations: 2.906 MB / 0.7193 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.7258, allocations: 12.03 kB / 0.7193 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.757e-05/0.7259, allocations: 52.05 kB / 0.7193 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000376/0.7263, allocations: 270.6 kB / 0.7196 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/0.7308, allocations: 0.8664 MB / 0.7204 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.7329, allocations: 0.9867 MB / 0.7214 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.7331, allocations: 207.8 kB / 0.7216 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/0.7335, allocations: 200.3 kB / 0.7218 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004014/0.7375, allocations: 2.152 MB / 0.7239 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.7375, allocations: 3.938 kB / 0.7239 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.7377, allocations: 76 kB / 0.7239 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.7378, allocations: 48 kB / 0.724 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/0.7421, allocations: 2.307 MB / 0.7262 GB, free: 6.758 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.01247/0.7546, allocations: 7.657 MB / 0.7337 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/0.7595, allocations: 2.254 MB / 0.7359 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001447/0.7609, allocations: 0.7273 MB / 0.7366 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00988/0.7708, allocations: 6.649 MB / 0.7431 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/0.7708, allocations: 55.69 kB / 0.7432 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=132): time 2.975e-06/0.7708, allocations: 0 / 0.7432 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=174): time 0.02116/0.792, allocations: 6.817 MB / 0.7498 GB, free: 13.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/0.7921, allocations: 99.05 kB / 0.7499 GB, free: 13.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.7937, allocations: 0.9574 MB / 0.7509 GB, free: 12.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/0.7939, allocations: 53.7 kB / 0.7509 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007745/0.7947, allocations: 0.9103 MB / 0.7518 GB, free: 11.11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007549/0.7955, allocations: 0.6197 MB / 0.7524 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008351/0.7963, allocations: 411.5 kB / 0.7528 GB, free: 10.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7964, allocations: 301.1 kB / 0.7531 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.7979, allocations: 0.6209 MB / 0.7537 GB, free: 9.156 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/0.7999, allocations: 1.193 MB / 0.7549 GB, free: 7.711 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.8035, allocations: 1.995 MB / 0.7568 GB, free: 5.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.8035, allocations: 4 kB / 0.7568 GB, free: 5.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006224/0.8097, allocations: 2.578 MB / 0.7593 GB, free: 2.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.8098, allocations: 12 kB / 0.7593 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.966e-05/0.8098, allocations: 20 kB / 0.7594 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002449/0.8123, allocations: 0.601 MB / 0.76 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/0.8147, allocations: 487.3 kB / 0.7604 GB, free: 1.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/0.8262, allocations: 9.374 MB / 0.7696 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.8279, allocations: 67.92 kB / 0.7696 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004929/0.8284, allocations: 160 kB / 0.7698 GB, free: 7.551 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.001317/0.8297, allocations: 425.2 kB / 0.7702 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/0.8303, allocations: 163 kB / 0.7704 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006884/0.8371, allocations: 2.617 MB / 0.7729 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.8372, allocations: 16 kB / 0.7729 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.8372, allocations: 11.94 kB / 0.7729 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.8372, allocations: 11.95 kB / 0.7729 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008989/0.8462, allocations: 4.12 MB / 0.777 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/0.8462, allocations: 0 / 0.777 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/0.8485, allocations: 383.6 kB / 0.7773 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/0.8508, allocations: 0.4996 MB / 0.7778 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003274/0.8512, allocations: 71.97 kB / 0.7779 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00809/0.8593, allocations: 6.68 MB / 0.7844 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8593, allocations: 0 / 0.7844 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006931/0.8662, allocations: 3.149 MB / 0.7875 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.8668, allocations: 220 kB / 0.7877 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/0.8671, allocations: 43.88 kB / 0.7877 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.8682, allocations: 43.98 kB / 0.7878 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004529/0.8686, allocations: 161.8 kB / 0.7879 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00027/0.8689, allocations: 126.6 kB / 0.7881 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001205/0.8701, allocations: 0.6179 MB / 0.7887 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8701, allocations: 4 kB / 0.7887 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003169/0.8733, allocations: 0.8264 MB / 0.7895 GB, free: 2.754 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.009604/0.8829, allocations: 4.405 MB / 0.7938 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005048/0.8879, allocations: 2.324 MB / 0.796 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8879, allocations: 4.281 kB / 0.796 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002776/0.8907, allocations: 1.327 MB / 0.7973 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.8929, allocations: 301.6 kB / 0.7976 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/0.9222, allocations: 14.14 MB / 0.8114 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.9239, allocations: 1.402 MB / 0.8128 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001835/0.9257, allocations: 449.4 kB / 0.8132 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/0.9273, allocations: 0.8858 MB / 0.8141 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of SimCode: time 1.113e-06/0.9273, allocations: 0 / 0.8141 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3717/1.299, allocations: 50.84 MB / 0.8638 GB, free: 208.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.96/25.26, allocations: 7.859 kB / 0.8638 GB, free: 208.7 MB / 0.6075 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 os._exit(0), Time elapsed: 28.59591354697477] Failed to read output from testmodel.py, exit status != 0: 25.44384101202013 25.463823557 24.74093286 Calling exit ...