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.00134/0.00134, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001879/0.001879, allocations: 215.9 kB / 23.03 MB, free: 4.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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.1363/0.1363, allocations: 23.88 MB / 337.1 MB, free: 11 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="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.001946/0.001946, allocations: 67.91 kB / 471.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3692, allocations: 59.86 MB / 0.5193 GB, free: 9.582 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.0786/0.4478, allocations: 28.25 MB / 0.5469 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1851/0.6329, allocations: 134.3 MB / 0.678 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.6348, allocations: 27.81 kB / 0.6781 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.6368, allocations: 492.1 kB / 0.6785 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.6423, allocations: 1.648 MB / 0.6801 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008844/0.6511, allocations: 3.011 MB / 0.6831 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004579/0.6557, allocations: 2.609 MB / 0.6856 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.6576, allocations: 1.229 MB / 0.6868 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.6596, allocations: 1.274 MB / 0.6881 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.662, allocations: 1.413 MB / 0.6894 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004436/0.6624, allocations: 228 kB / 0.6897 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006379/0.6688, allocations: 2.258 MB / 0.6919 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006684/0.6695, allocations: 0.5724 MB / 0.6924 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.6708, allocations: 0.988 MB / 0.6934 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.6814, allocations: 5.122 MB / 0.6984 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6814, allocations: 0 / 0.6984 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6814, allocations: 0 / 0.6984 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.895e-05/0.6815, allocations: 0 / 0.6984 GB, free: 1.988 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.005749/0.6872, allocations: 2.834 MB / 0.7012 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.6873, allocations: 8.031 kB / 0.7012 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.008e-05/0.6873, allocations: 52.05 kB / 0.7012 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003679/0.6877, allocations: 270.7 kB / 0.7015 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.6923, allocations: 0.8698 MB / 0.7023 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/0.6943, allocations: 0.9095 MB / 0.7032 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.6945, allocations: 255.2 kB / 0.7035 GB, free: 12.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003638/0.6949, allocations: 208.1 kB / 0.7037 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.6988, allocations: 2.144 MB / 0.7057 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.6988, allocations: 3.938 kB / 0.7058 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.699, allocations: 83.88 kB / 0.7058 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.6991, allocations: 48 kB / 0.7059 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004093/0.7032, allocations: 2.311 MB / 0.7081 GB, free: 7.855 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.01176/0.7149, allocations: 6.052 MB / 0.714 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004484/0.7194, allocations: 1.557 MB / 0.7156 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.7208, allocations: 0.7395 MB / 0.7163 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008551/0.7294, allocations: 3.929 MB / 0.7201 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.7294, allocations: 47.88 kB / 0.7202 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 5.84e-06/0.7294, allocations: 4 kB / 0.7202 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01892/0.7484, allocations: 6.511 MB / 0.7265 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.7484, allocations: 99.11 kB / 0.7266 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.7497, allocations: 0.9536 MB / 0.7276 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.7498, allocations: 53.7 kB / 0.7276 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006642/0.7505, allocations: 0.9103 MB / 0.7285 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/0.7511, allocations: 0.6197 MB / 0.7291 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000607/0.7517, allocations: 407.5 kB / 0.7295 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7518, allocations: 301.1 kB / 0.7298 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.7531, allocations: 0.6287 MB / 0.7304 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2577/1.011, allocations: 1.183 MB / 0.7315 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/1.014, allocations: 1.988 MB / 0.7335 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/1.014, allocations: 6.031 kB / 0.7335 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005255/1.019, allocations: 2.575 MB / 0.736 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/1.019, allocations: 19.55 kB / 0.736 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.019, allocations: 17.5 kB / 0.736 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002283/1.022, allocations: 0.5886 MB / 0.7366 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002584/1.024, allocations: 486.5 kB / 0.7371 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009175/1.033, allocations: 8.904 MB / 0.7458 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.035, allocations: 66.28 kB / 0.7458 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/1.035, allocations: 163.3 kB / 0.746 GB, free: 174.9 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.0008389/1.036, allocations: 433.4 kB / 0.7464 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/1.036, allocations: 153 kB / 0.7466 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/1.042, allocations: 2.62 MB / 0.7491 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/1.042, allocations: 18.31 kB / 0.7491 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.042, allocations: 3.875 kB / 0.7491 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.426e-05/1.042, allocations: 10.39 kB / 0.7491 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00709/1.049, allocations: 3.891 MB / 0.7529 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.049, allocations: 6.062 kB / 0.753 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002077/1.051, allocations: 378.6 kB / 0.7533 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/1.053, allocations: 0.4981 MB / 0.7538 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001614/1.053, allocations: 75.02 kB / 0.7539 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005046/1.058, allocations: 6.328 MB / 0.7601 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.058, allocations: 1.906 kB / 0.7601 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005496/1.064, allocations: 3.148 MB / 0.7631 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/1.064, allocations: 136.9 kB / 0.7633 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/1.064, allocations: 40.75 kB / 0.7633 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/1.065, allocations: 39.36 kB / 0.7633 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003765/1.066, allocations: 173.8 kB / 0.7635 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.066, allocations: 126.2 kB / 0.7636 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008861/1.067, allocations: 0.6209 MB / 0.7642 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.067, allocations: 1.25 kB / 0.7642 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002618/1.069, allocations: 0.832 MB / 0.765 GB, free: 164.3 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.007104/1.076, allocations: 4.417 MB / 0.7694 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003804/1.08, allocations: 2.329 MB / 0.7716 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.08, allocations: 0 / 0.7716 GB, free: 161.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/1.082, allocations: 1.316 MB / 0.7729 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.084, allocations: 309.8 kB / 0.7732 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.102, allocations: 14.15 MB / 0.787 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/1.103, allocations: 0.8251 MB / 0.7878 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001567/1.104, allocations: 439.8 kB / 0.7883 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.105, allocations: 0.8948 MB / 0.7891 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.422e-06/1.105, allocations: 0 / 0.7891 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0866/1.192, allocations: 52.16 MB / 0.8401 GB, free: 95.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.75/25.94, allocations: 12.05 kB / 0.8401 GB, free: 95.51 MB / 0.5606 GB " [Timeout remaining time 634] (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.87709377997089] Failed to read output from testmodel.py, exit status != 0: 26.15169023803901 26.161870912 25.47810768 Calling exit ...