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.001772/0.001772, allocations: 105.1 kB / 16.45 MB, free: 6.449 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.002137/0.002137, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.472/1.472, allocations: 230.5 MB / 252.8 MB, free: 8.992 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.1488/0.1488, allocations: 23.84 MB / 332.7 MB, free: 12.38 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.001996/0.001996, allocations: 63.91 kB / 466.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3816, allocations: 59.82 MB / 0.514 GB, free: 9.188 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.0452/0.4268, allocations: 29.31 MB / 0.5426 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/0.6312, allocations: 156.5 MB / 0.6954 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/0.6332, allocations: 31.75 kB / 0.6954 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.6353, allocations: 0.5195 MB / 0.696 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.6412, allocations: 1.668 MB / 0.6976 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009024/0.6502, allocations: 2.98 MB / 0.7005 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004496/0.6547, allocations: 2.613 MB / 0.703 GB, free: 9.098 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.6565, allocations: 1.252 MB / 0.7043 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.658, allocations: 1.27 MB / 0.7055 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/0.66, allocations: 1.417 MB / 0.7069 GB, free: 5.105 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003653/0.6604, allocations: 232 kB / 0.7071 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008646/0.669, allocations: 2.387 MB / 0.7094 GB, free: 2.488 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006364/0.6697, allocations: 0.5686 MB / 0.71 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.6711, allocations: 1.182 MB / 0.7112 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.6825, allocations: 5.119 MB / 0.7162 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6825, allocations: 0 / 0.7162 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6825, allocations: 4 kB / 0.7162 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.911e-05/0.6825, allocations: 3.938 kB / 0.7162 GB, free: 11.59 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.005834/0.6884, allocations: 2.916 MB / 0.719 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.6884, allocations: 12.03 kB / 0.719 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.6932, allocations: 0.8659 MB / 0.7199 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.6952, allocations: 0.9829 MB / 0.7208 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.6954, allocations: 195.8 kB / 0.721 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/0.6958, allocations: 200.3 kB / 0.7212 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.6997, allocations: 2.156 MB / 0.7233 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/0.6997, allocations: 7.938 kB / 0.7233 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.6999, allocations: 76 kB / 0.7234 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.7, allocations: 52 kB / 0.7234 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004255/0.7042, allocations: 2.307 MB / 0.7257 GB, free: 1.66 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.2958/1, allocations: 7.634 MB / 0.7331 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004358/1.004, allocations: 2.239 MB / 0.7353 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/1.006, allocations: 0.7292 MB / 0.736 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009899/1.016, allocations: 6.668 MB / 0.7426 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/1.016, allocations: 49.39 kB / 0.7426 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.016e-06/1.016, allocations: 0.75 kB / 0.7426 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.02096/1.037, allocations: 6.833 MB / 0.7493 GB, free: 174 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/1.037, allocations: 97.64 kB / 0.7494 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.039, allocations: 0.9569 MB / 0.7503 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002924/1.039, allocations: 59.23 kB / 0.7504 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006119/1.039, allocations: 0.8969 MB / 0.7512 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005601/1.04, allocations: 0.622 MB / 0.7518 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006402/1.041, allocations: 409.3 kB / 0.7522 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.358e-05/1.041, allocations: 305.1 kB / 0.7525 GB, free: 172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/1.042, allocations: 0.6278 MB / 0.7531 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/1.044, allocations: 1.193 MB / 0.7543 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/1.046, allocations: 1.986 MB / 0.7562 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.046, allocations: 7.562 kB / 0.7562 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005518/1.052, allocations: 2.568 MB / 0.7588 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/1.052, allocations: 12.47 kB / 0.7588 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-05/1.052, allocations: 17.59 kB / 0.7588 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/1.054, allocations: 0.6056 MB / 0.7594 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.057, allocations: 485.3 kB / 0.7598 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008617/1.065, allocations: 9.37 MB / 0.769 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/1.067, allocations: 71.95 kB / 0.7691 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/1.068, allocations: 159.9 kB / 0.7692 GB, free: 159.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.000963/1.069, allocations: 431.8 kB / 0.7696 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/1.069, allocations: 152.6 kB / 0.7698 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/1.075, allocations: 2.627 MB / 0.7723 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.696e-05/1.075, allocations: 18.12 kB / 0.7724 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.075, allocations: 5.5 kB / 0.7724 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.075, allocations: 7.969 kB / 0.7724 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/1.081, allocations: 4.124 MB / 0.7764 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/1.081, allocations: 9.609 kB / 0.7764 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.083, allocations: 382 kB / 0.7768 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/1.085, allocations: 0.4922 MB / 0.7772 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/1.085, allocations: 77.95 kB / 0.7773 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005004/1.09, allocations: 6.67 MB / 0.7838 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.09, allocations: 0 / 0.7838 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005033/1.095, allocations: 3.14 MB / 0.7869 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/1.096, allocations: 218.3 kB / 0.7871 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.096, allocations: 42.59 kB / 0.7871 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/1.097, allocations: 35.98 kB / 0.7872 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/1.097, allocations: 169.7 kB / 0.7873 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/1.097, allocations: 126.6 kB / 0.7875 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007527/1.098, allocations: 0.6244 MB / 0.7881 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.098, allocations: 0 / 0.7881 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00245/1.1, allocations: 0.8378 MB / 0.7889 GB, free: 144.1 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.001606/1.102, allocations: 0.8139 MB / 0.7897 GB, free: 143.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004067/1.106, allocations: 2.324 MB / 0.792 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.106, allocations: 0 / 0.792 GB, free: 141.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.108, allocations: 1.324 MB / 0.7933 GB, free: 139.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.11, allocations: 313.1 kB / 0.7935 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/1.115, allocations: 3.572 MB / 0.797 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007741/1.116, allocations: 1.407 MB / 0.7984 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001547/1.118, allocations: 441 kB / 0.7988 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/1.118, allocations: 274 kB / 0.7991 GB, free: 134 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/1.118, allocations: 0 / 0.7991 GB, free: 134 MB / 0.5606 GB Notification: Performance of Templates: time 0.05012/1.169, allocations: 36.46 MB / 0.8347 GB, free: 98.14 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.343516573309898] Failed to read output from testmodel.py, exit status != 0: 1.1777605153620243 1.191860604 0.5061159980000001 Calling exit ...