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.001608/0.001608, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001862/0.001862, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.478/1.478, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.1326/0.1326, allocations: 17.44 MB / 276.6 MB, free: 15.21 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 412.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.292e-05/4.445e-05, allocations: 2.281 kB / 412.1 MB, free: 4.285 MB / 334.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.03981/0.03985, allocations: 28.93 MB / 441 MB, free: 7.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3631/0.403, allocations: 134.4 MB / 0.562 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.4047, allocations: 35.75 kB / 0.562 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4064, allocations: 492 kB / 0.5625 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005926/0.4123, allocations: 1.706 MB / 0.5641 GB, free: 3.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009044/0.4213, allocations: 3.088 MB / 0.5671 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.4256, allocations: 2.689 MB / 0.5698 GB, free: 13.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.4275, allocations: 1.202 MB / 0.5709 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.43, allocations: 1.766 MB / 0.5727 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.432, allocations: 1.138 MB / 0.5738 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004331/0.4324, allocations: 228 kB / 0.574 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.4389, allocations: 2.23 MB / 0.5762 GB, free: 7.258 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008129/0.4397, allocations: 0.5802 MB / 0.5767 GB, free: 6.676 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.4413, allocations: 0.8457 MB / 0.5776 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.4555, allocations: 5.354 MB / 0.5828 GB, free: 468 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4555, allocations: 0 / 0.5828 GB, free: 468 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4555, allocations: 0 / 0.5828 GB, free: 468 kB / 462.1 MB Notification: Performance of Transformations before backend: time 9.536e-05/0.4556, allocations: 4 kB / 0.5828 GB, free: 464 kB / 462.1 MB 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.00706/0.4627, allocations: 2.807 MB / 0.5855 GB, free: 13.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.4628, allocations: 8.031 kB / 0.5855 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.4673, allocations: 0.8692 MB / 0.5864 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.4693, allocations: 0.9165 MB / 0.5873 GB, free: 11.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002501/0.4695, allocations: 255.2 kB / 0.5875 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004418/0.47, allocations: 204.3 kB / 0.5877 GB, free: 11.31 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/0.4741, allocations: 2.152 MB / 0.5898 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.4741, allocations: 4.188 kB / 0.5898 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/0.4744, allocations: 76.38 kB / 0.5899 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.4744, allocations: 47.94 kB / 0.5899 GB, free: 8.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004396/0.4788, allocations: 2.284 MB / 0.5922 GB, free: 6.703 MB / 478.1 MB 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.01196/0.4908, allocations: 5.824 MB / 0.5979 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.4953, allocations: 1.575 MB / 0.5994 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/0.4968, allocations: 0.7402 MB / 0.6001 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008236/0.505, allocations: 3.91 MB / 0.6039 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.5051, allocations: 47.88 kB / 0.604 GB, free: 10.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=132): time 2.855e-06/0.5051, allocations: 0 / 0.604 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=174): time 0.01924/0.5243, allocations: 6.504 MB / 0.6103 GB, free: 3.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.5244, allocations: 107 kB / 0.6104 GB, free: 3.691 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.5257, allocations: 0.939 MB / 0.6114 GB, free: 2.734 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001702/0.5258, allocations: 57.7 kB / 0.6114 GB, free: 2.672 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007883/0.5266, allocations: 0.918 MB / 0.6123 GB, free: 1.742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006161/0.5273, allocations: 0.6106 MB / 0.6129 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000645/0.5279, allocations: 403.5 kB / 0.6133 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.5281, allocations: 305.1 kB / 0.6136 GB, free: 436 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.5294, allocations: 0.6288 MB / 0.6142 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.5314, allocations: 1.204 MB / 0.6154 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.535, allocations: 1.984 MB / 0.6173 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.535, allocations: 4 kB / 0.6173 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006197/0.5412, allocations: 2.567 MB / 0.6198 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.5413, allocations: 14.97 kB / 0.6198 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.5413, allocations: 20 kB / 0.6199 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.5438, allocations: 0.6024 MB / 0.6204 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.5462, allocations: 487.3 kB / 0.6209 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2018/0.7481, allocations: 8.78 MB / 0.6295 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.7496, allocations: 67.09 kB / 0.6295 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002802/0.7499, allocations: 170 kB / 0.6297 GB, free: 173.5 MB / 0.4981 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.0008976/0.7508, allocations: 426.5 kB / 0.6301 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.7511, allocations: 150.7 kB / 0.6303 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/0.7569, allocations: 2.619 MB / 0.6328 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.757, allocations: 21 kB / 0.6328 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.757, allocations: 5.125 kB / 0.6328 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.757, allocations: 10.02 kB / 0.6328 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007112/0.7641, allocations: 3.668 MB / 0.6364 GB, free: 171.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.7641, allocations: 2.312 kB / 0.6364 GB, free: 171.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.7663, allocations: 379.7 kB / 0.6368 GB, free: 171.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/0.7684, allocations: 0.4935 MB / 0.6373 GB, free: 171.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.7687, allocations: 76.17 kB / 0.6374 GB, free: 171.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005934/0.7746, allocations: 6.252 MB / 0.6435 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.7746, allocations: 2.219 kB / 0.6435 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/0.7812, allocations: 3.135 MB / 0.6465 GB, free: 164.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.7817, allocations: 138.3 kB / 0.6467 GB, free: 164.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/0.7819, allocations: 34.42 kB / 0.6467 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008316/0.7827, allocations: 37.34 kB / 0.6467 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004546/0.7832, allocations: 180 kB / 0.6469 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/0.7834, allocations: 128.7 kB / 0.647 GB, free: 164.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008536/0.7843, allocations: 0.5943 MB / 0.6476 GB, free: 164.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7843, allocations: 0 / 0.6476 GB, free: 164.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002573/0.7868, allocations: 0.8319 MB / 0.6484 GB, free: 164.3 MB / 0.4981 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.001747/0.7886, allocations: 0.8357 MB / 0.6492 GB, free: 164.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004303/0.7929, allocations: 2.326 MB / 0.6515 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7929, allocations: 0 / 0.6515 GB, free: 163.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00222/0.7951, allocations: 1.318 MB / 0.6528 GB, free: 162.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.7967, allocations: 295.8 kB / 0.6531 GB, free: 162.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.8019, allocations: 3.453 MB / 0.6564 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006727/0.8025, allocations: 0.8262 MB / 0.6572 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00149/0.804, allocations: 437 kB / 0.6577 GB, free: 160.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007096/0.8047, allocations: 277.5 kB / 0.6579 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of SimCode: time 9.31e-07/0.8047, allocations: 2.688 kB / 0.6579 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.04613/0.8509, allocations: 34.69 MB / 0.6918 GB, free: 129.5 MB / 0.4981 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: 6.755604222416878] Failed to read output from testmodel.py, exit status != 0: 0.860286220908165 0.8695063230000001 0.41160848 Calling exit ...