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.001726/0.001726, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.002159/0.002159, allocations: 214.8 kB / 22.3 MB, free: 5.305 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.618/1.618, allocations: 230.6 MB / 256.1 MB, free: 7.734 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.1525/0.1525, allocations: 23.89 MB / 336.4 MB, free: 10.91 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: translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HydrogenCombustion") translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HydrogenCombustion") [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.002126/0.002126, allocations: 71.88 kB / 471.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 59.85 MB / 0.5191 GB, free: 9.738 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.07888/0.4112, allocations: 28.61 MB / 0.5471 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1842/0.5954, allocations: 134.4 MB / 0.6783 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.5972, allocations: 35.75 kB / 0.6783 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.5987, allocations: 488.1 kB / 0.6788 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005543/0.6043, allocations: 1.648 MB / 0.6804 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009242/0.6135, allocations: 3.011 MB / 0.6833 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004518/0.618, allocations: 2.605 MB / 0.6859 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.6198, allocations: 1.206 MB / 0.6871 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.6216, allocations: 1.27 MB / 0.6883 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.6236, allocations: 1.269 MB / 0.6895 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004308/0.624, allocations: 228 kB / 0.6898 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/0.6298, allocations: 2.219 MB / 0.6919 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000706/0.6305, allocations: 0.5685 MB / 0.6925 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.632, allocations: 0.9842 MB / 0.6934 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.6437, allocations: 5.122 MB / 0.6985 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6437, allocations: 3.938 kB / 0.6985 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6437, allocations: 4 kB / 0.6985 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.495e-05/0.6438, allocations: 0 / 0.6985 GB, free: 1.625 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.005884/0.6496, allocations: 2.823 MB / 0.7012 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.6497, allocations: 8.031 kB / 0.7012 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004485/0.6542, allocations: 0.8737 MB / 0.7021 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.656, allocations: 0.9095 MB / 0.703 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.6563, allocations: 259.2 kB / 0.7032 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/0.6566, allocations: 204.3 kB / 0.7034 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/0.6606, allocations: 2.144 MB / 0.7055 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.534e-05/0.6607, allocations: 7.938 kB / 0.7055 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/0.6609, allocations: 83.94 kB / 0.7056 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.6609, allocations: 48 kB / 0.7056 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004149/0.6651, allocations: 2.28 MB / 0.7079 GB, free: 7.852 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.01157/0.6766, allocations: 5.848 MB / 0.7136 GB, free: 1.855 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.6811, allocations: 1.56 MB / 0.7151 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.6824, allocations: 0.7316 MB / 0.7158 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008102/0.6906, allocations: 3.921 MB / 0.7196 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.6906, allocations: 43.88 kB / 0.7197 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.456e-06/0.6906, allocations: 0 / 0.7197 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01877/0.7094, allocations: 6.525 MB / 0.7261 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.7095, allocations: 103.1 kB / 0.7261 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.7107, allocations: 0.9351 MB / 0.7271 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.7108, allocations: 57.7 kB / 0.7271 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007153/0.7115, allocations: 0.9103 MB / 0.728 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000581/0.7121, allocations: 0.6197 MB / 0.7286 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006166/0.7127, allocations: 415.5 kB / 0.729 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.7129, allocations: 305.1 kB / 0.7293 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.7142, allocations: 0.6248 MB / 0.7299 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2441/0.9583, allocations: 1.187 MB / 0.7311 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003217/0.9615, allocations: 1.988 MB / 0.733 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.9615, allocations: 5.906 kB / 0.733 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005594/0.9671, allocations: 2.562 MB / 0.7355 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.9671, allocations: 12.56 kB / 0.7355 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/0.9672, allocations: 18.19 kB / 0.7355 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/0.9694, allocations: 0.5981 MB / 0.7361 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.9718, allocations: 484.6 kB / 0.7366 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008064/0.9799, allocations: 8.805 MB / 0.7452 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.9814, allocations: 67.42 kB / 0.7453 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/0.9817, allocations: 164 kB / 0.7454 GB, free: 174.8 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.0007912/0.9825, allocations: 431.1 kB / 0.7458 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.9828, allocations: 152.9 kB / 0.746 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005535/0.9883, allocations: 2.614 MB / 0.7485 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.9883, allocations: 18.66 kB / 0.7485 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.9883, allocations: 11.67 kB / 0.7485 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.9884, allocations: 8.766 kB / 0.7486 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/0.9951, allocations: 3.667 MB / 0.7521 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.9951, allocations: 1.438 kB / 0.7521 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/0.9973, allocations: 378.8 kB / 0.7525 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/0.9993, allocations: 0.5019 MB / 0.753 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.9996, allocations: 77.42 kB / 0.7531 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005534/1.005, allocations: 6.252 MB / 0.7592 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/1.005, allocations: 4.391 kB / 0.7592 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006262/1.011, allocations: 3.146 MB / 0.7622 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004448/1.012, allocations: 138 kB / 0.7624 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/1.012, allocations: 36.78 kB / 0.7624 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/1.013, allocations: 38.84 kB / 0.7624 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004216/1.013, allocations: 175.3 kB / 0.7626 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/1.013, allocations: 122.7 kB / 0.7627 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008675/1.014, allocations: 0.5966 MB / 0.7633 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.014, allocations: 2.656 kB / 0.7633 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002657/1.017, allocations: 0.8321 MB / 0.7641 GB, free: 164.5 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.001657/1.019, allocations: 0.808 MB / 0.7649 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004089/1.023, allocations: 2.334 MB / 0.7672 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.023, allocations: 0 / 0.7672 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.025, allocations: 1.326 MB / 0.7685 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.026, allocations: 297 kB / 0.7688 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005247/1.031, allocations: 3.568 MB / 0.7723 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/1.032, allocations: 0.8238 MB / 0.7731 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00139/1.033, allocations: 440.7 kB / 0.7735 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006324/1.034, allocations: 277.6 kB / 0.7738 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.31e-07/1.034, allocations: 0 / 0.7738 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04254/1.077, allocations: 34.78 MB / 0.8077 GB, free: 128.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5420447289943695] Failed to read output from testmodel.py, exit status != 0: 1.0864637363702059 1.096605371 0.45045611500000005 Calling exit ...