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.00145/0.00145, allocations: 104.2 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.00194/0.00194, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.668/1.668, allocations: 230.6 MB / 252.8 MB, free: 9.102 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.1956/0.1956, allocations: 23.88 MB / 332.7 MB, free: 12.32 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: translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion") translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002137/0.002137, allocations: 71.89 kB / 466.5 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4093, allocations: 59.83 MB / 0.514 GB, free: 9.09 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.04935/0.4587, allocations: 29.58 MB / 0.5429 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2039/0.6626, allocations: 156.5 MB / 0.6958 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.6651, allocations: 35.69 kB / 0.6958 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.667, allocations: 0.5117 MB / 0.6963 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.6728, allocations: 1.672 MB / 0.6979 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009282/0.682, allocations: 2.991 MB / 0.7008 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004914/0.687, allocations: 2.601 MB / 0.7034 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.689, allocations: 1.244 MB / 0.7046 GB, free: 7.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.6909, allocations: 1.274 MB / 0.7058 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/0.6932, allocations: 1.413 MB / 0.7072 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004351/0.6936, allocations: 228 kB / 0.7074 GB, free: 4.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008071/0.7017, allocations: 2.395 MB / 0.7098 GB, free: 2.113 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009172/0.7026, allocations: 0.5686 MB / 0.7103 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.7046, allocations: 1.182 MB / 0.7115 GB, free: 364 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.7182, allocations: 5.13 MB / 0.7165 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.7182, allocations: 0 / 0.7165 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.7182, allocations: 0 / 0.7165 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.15e-05/0.7183, allocations: 0 / 0.7165 GB, free: 11.21 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.006115/0.7244, allocations: 2.898 MB / 0.7193 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7245, allocations: 15.97 kB / 0.7193 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.729, allocations: 0.8776 MB / 0.7202 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.7306, allocations: 0.9751 MB / 0.7212 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/0.7308, allocations: 207.8 kB / 0.7213 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.7312, allocations: 196.3 kB / 0.7215 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.735, allocations: 2.16 MB / 0.7236 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.7351, allocations: 0 / 0.7236 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.7353, allocations: 76 kB / 0.7237 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.246e-05/0.7353, allocations: 48 kB / 0.7238 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.7396, allocations: 2.315 MB / 0.726 GB, free: 1.281 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.2504/0.99, allocations: 7.639 MB / 0.7335 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.9944, allocations: 2.237 MB / 0.7357 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.9957, allocations: 0.7374 MB / 0.7364 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009039/1.005, allocations: 6.656 MB / 0.7429 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/1.005, allocations: 48.09 kB / 0.7429 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.326e-06/1.005, allocations: 0 / 0.7429 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01888/1.024, allocations: 6.824 MB / 0.7496 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.024, allocations: 109.4 kB / 0.7497 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/1.025, allocations: 0.9506 MB / 0.7506 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/1.025, allocations: 58.8 kB / 0.7507 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/1.026, allocations: 0.906 MB / 0.7516 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004871/1.026, allocations: 0.6158 MB / 0.7522 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005963/1.027, allocations: 413.4 kB / 0.7526 GB, free: 172 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.594e-05/1.027, allocations: 304.6 kB / 0.7529 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/1.028, allocations: 0.6234 MB / 0.7535 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/1.03, allocations: 1.195 MB / 0.7546 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002826/1.033, allocations: 1.989 MB / 0.7566 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/1.033, allocations: 5.438 kB / 0.7566 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005438/1.038, allocations: 2.568 MB / 0.7591 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/1.038, allocations: 18.81 kB / 0.7591 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.038, allocations: 16.97 kB / 0.7591 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/1.04, allocations: 0.5924 MB / 0.7597 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.043, allocations: 490.8 kB / 0.7602 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/1.051, allocations: 9.372 MB / 0.7693 GB, free: 159.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.053, allocations: 70.08 kB / 0.7694 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/1.053, allocations: 165.3 kB / 0.7695 GB, free: 159.6 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.001021/1.054, allocations: 425.7 kB / 0.77 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004608/1.054, allocations: 156.2 kB / 0.7701 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/1.06, allocations: 2.622 MB / 0.7727 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/1.06, allocations: 19.38 kB / 0.7727 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.06, allocations: 3.969 kB / 0.7727 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/1.06, allocations: 9.656 kB / 0.7727 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006783/1.067, allocations: 4.128 MB / 0.7767 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.067, allocations: 0 / 0.7767 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.069, allocations: 379.6 kB / 0.7771 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/1.07, allocations: 0.5041 MB / 0.7776 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.071, allocations: 79.64 kB / 0.7777 GB, free: 155 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/1.076, allocations: 6.667 MB / 0.7842 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.076, allocations: 3.938 kB / 0.7842 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005159/1.081, allocations: 3.151 MB / 0.7872 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/1.081, allocations: 222.2 kB / 0.7875 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.082, allocations: 36 kB / 0.7875 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008683/1.082, allocations: 42.67 kB / 0.7875 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/1.083, allocations: 165.7 kB / 0.7877 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/1.083, allocations: 124 kB / 0.7878 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007579/1.084, allocations: 0.6218 MB / 0.7884 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.084, allocations: 2.656 kB / 0.7884 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002903/1.087, allocations: 0.837 MB / 0.7892 GB, free: 143.7 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.001559/1.088, allocations: 0.8058 MB / 0.79 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003931/1.092, allocations: 2.324 MB / 0.7923 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.092, allocations: 3.938 kB / 0.7923 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.094, allocations: 1.324 MB / 0.7936 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.096, allocations: 306.2 kB / 0.7939 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/1.101, allocations: 3.586 MB / 0.7974 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006508/1.102, allocations: 1.402 MB / 0.7988 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001355/1.103, allocations: 440.6 kB / 0.7992 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006568/1.104, allocations: 281.8 kB / 0.7994 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/1.104, allocations: 0 / 0.7994 GB, free: 133.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04512/1.149, allocations: 36.45 MB / 0.835 GB, free: 97.71 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.368554859887809] Failed to read output from testmodel.py, exit status != 0: 1.1568795763887465 1.16415583 0.44378407 Calling exit ...