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.001321/0.001321, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001486/0.001486, allocations: 217.3 kB / 22.26 MB, free: 5.078 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 8.012 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.135/0.135, allocations: 23.88 MB / 336.3 MB, free: 11.16 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.001911/0.001911, allocations: 67.89 kB / 471.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3329, allocations: 59.87 MB / 0.5187 GB, free: 9.613 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.04215/0.375, allocations: 29.58 MB / 0.5475 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1905/0.5656, allocations: 156.6 MB / 0.7004 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.5677, allocations: 31.81 kB / 0.7005 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.5698, allocations: 0.5155 MB / 0.701 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006361/0.5761, allocations: 1.672 MB / 0.7026 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009705/0.5858, allocations: 3.011 MB / 0.7056 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004868/0.5907, allocations: 2.605 MB / 0.7081 GB, free: 7.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.5931, allocations: 1.221 MB / 0.7093 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002133/0.5952, allocations: 1.274 MB / 0.7105 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/0.5978, allocations: 1.421 MB / 0.7119 GB, free: 3.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007187/0.5985, allocations: 228 kB / 0.7121 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007171/0.6057, allocations: 2.395 MB / 0.7145 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009181/0.6066, allocations: 0.5608 MB / 0.715 GB, free: 376 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002164/0.6088, allocations: 1.19 MB / 0.7162 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.6215, allocations: 5.126 MB / 0.7212 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6216, allocations: 3.938 kB / 0.7212 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6216, allocations: 0 / 0.7212 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001142/0.6217, allocations: 0 / 0.7212 GB, free: 10.02 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.006987/0.6287, allocations: 2.827 MB / 0.724 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6287, allocations: 8.031 kB / 0.724 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005395/0.6292, allocations: 278.6 kB / 0.7242 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.6336, allocations: 0.8698 MB / 0.7251 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.6355, allocations: 0.9133 MB / 0.726 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.6358, allocations: 255.2 kB / 0.7262 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/0.6362, allocations: 204.3 kB / 0.7264 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.6402, allocations: 2.148 MB / 0.7285 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.6402, allocations: 3.938 kB / 0.7285 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/0.6404, allocations: 76 kB / 0.7286 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.6405, allocations: 48 kB / 0.7286 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2077/0.8481, allocations: 2.305 MB / 0.7309 GB, free: 186.8 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.01145/0.8596, allocations: 7.538 MB / 0.7382 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003931/0.8635, allocations: 1.574 MB / 0.7398 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.8647, allocations: 0.7386 MB / 0.7405 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007386/0.872, allocations: 4.126 MB / 0.7445 GB, free: 180 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8721, allocations: 49.34 kB / 0.7446 GB, free: 180 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 2.966e-06/0.8721, allocations: 3.312 kB / 0.7446 GB, free: 180 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01624/0.8883, allocations: 6.524 MB / 0.751 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.8884, allocations: 95.89 kB / 0.751 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.8894, allocations: 0.9615 MB / 0.752 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/0.8895, allocations: 50.98 kB / 0.752 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/0.8899, allocations: 0.9018 MB / 0.7529 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.8903, allocations: 0.6238 MB / 0.7535 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.8907, allocations: 412 kB / 0.7539 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.8908, allocations: 304.9 kB / 0.7542 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.8918, allocations: 0.6242 MB / 0.7548 GB, free: 175 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.893, allocations: 1.193 MB / 0.756 GB, free: 174 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.8954, allocations: 1.988 MB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.8954, allocations: 5.125 kB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004678/0.9001, allocations: 2.571 MB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.9001, allocations: 13.69 kB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/0.9001, allocations: 21.34 kB / 0.7605 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.9021, allocations: 0.6023 MB / 0.7611 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.9042, allocations: 485.5 kB / 0.7615 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007007/0.9112, allocations: 8.963 MB / 0.7703 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9125, allocations: 65.02 kB / 0.7703 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.9127, allocations: 169 kB / 0.7705 GB, free: 163 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.0007174/0.9134, allocations: 427.2 kB / 0.7709 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.9136, allocations: 157.9 kB / 0.7711 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004772/0.9184, allocations: 2.618 MB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.9184, allocations: 19.72 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.9184, allocations: 3.969 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.9184, allocations: 7.969 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005747/0.9242, allocations: 4.102 MB / 0.7776 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.9242, allocations: 10.91 kB / 0.7777 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.926, allocations: 373.7 kB / 0.778 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.9277, allocations: 0.5013 MB / 0.7785 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.9278, allocations: 74.47 kB / 0.7786 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/0.9321, allocations: 6.361 MB / 0.7848 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9321, allocations: 3.984 kB / 0.7848 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/0.9365, allocations: 3.148 MB / 0.7879 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.9367, allocations: 142.9 kB / 0.788 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.9369, allocations: 32.66 kB / 0.788 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007487/0.9376, allocations: 36 kB / 0.7881 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.9379, allocations: 180.3 kB / 0.7882 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/0.938, allocations: 120 kB / 0.7884 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005755/0.9386, allocations: 0.6218 MB / 0.789 GB, free: 148 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.9386, allocations: 0 / 0.789 GB, free: 148 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002073/0.9407, allocations: 0.8368 MB / 0.7898 GB, free: 147.2 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.005615/0.9463, allocations: 4.407 MB / 0.7941 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003178/0.9495, allocations: 2.332 MB / 0.7964 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9495, allocations: 2.656 kB / 0.7964 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.9511, allocations: 1.322 MB / 0.7977 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.9524, allocations: 309.3 kB / 0.7979 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.9689, allocations: 14.15 MB / 0.8118 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.9695, allocations: 1.406 MB / 0.8131 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001273/0.9708, allocations: 441.8 kB / 0.8136 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009919/0.9718, allocations: 0.8911 MB / 0.8144 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/0.9718, allocations: 0 / 0.8144 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08412/1.056, allocations: 52.53 MB / 0.8657 GB, free: 69.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.33/24.39, allocations: 6.797 kB / 0.8657 GB, free: 69.69 MB / 0.5606 GB " [Timeout remaining time 635] (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: 27.174043025122955] Failed to read output from testmodel.py, exit status != 0: 24.53700030199252 24.55544711 23.930293024 Calling exit ...