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.001104/0.001104, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001023/0.001023, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.03/1.03, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.08393/0.08393, allocations: 17.46 MB / 277.4 MB, free: 11.55 MB / 266.7 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.453e-06/1.453e-06, allocations: 3.938 kB / 353.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.552e-05, allocations: 2.312 kB / 353.6 MB, free: 9.836 MB / 282.7 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.02544/0.02545, allocations: 32.12 MB / 385.7 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2828/0.3082, allocations: 136.9 MB / 0.5104 GB, free: 424 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.3094, allocations: 31.75 kB / 0.5104 GB, free: 392 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.3102, allocations: 374.7 kB / 0.5107 GB, free: 20 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.3123, allocations: 1.15 MB / 0.5119 GB, free: 14.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.3156, allocations: 1.575 MB / 0.5134 GB, free: 13.28 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002555/0.3181, allocations: 2.69 MB / 0.516 GB, free: 10.58 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3194, allocations: 1.254 MB / 0.5173 GB, free: 9.277 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.3214, allocations: 1.77 MB / 0.519 GB, free: 7.504 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.3227, allocations: 1.165 MB / 0.5201 GB, free: 6.336 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003676/0.3231, allocations: 228 kB / 0.5203 GB, free: 6.113 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.3249, allocations: 1.033 MB / 0.5213 GB, free: 5.078 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.3253, allocations: 0.5919 MB / 0.5219 GB, free: 4.484 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.326, allocations: 0.8458 MB / 0.5228 GB, free: 3.637 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003198/0.3292, allocations: 2.959 MB / 0.5256 GB, free: 0.668 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3292, allocations: 0 / 0.5256 GB, free: 0.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3292, allocations: 0 / 0.5256 GB, free: 0.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.749e-05/0.3292, allocations: 0 / 0.5256 GB, free: 0.668 MB / 394.7 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.002857/0.3321, allocations: 2.683 MB / 0.5283 GB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3321, allocations: 8.031 kB / 0.5283 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.3345, allocations: 1.23 MB / 0.5295 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009898/0.3355, allocations: 0.931 MB / 0.5304 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.3357, allocations: 255.2 kB / 0.5306 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.3359, allocations: 200.3 kB / 0.5308 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.3381, allocations: 1.73 MB / 0.5325 GB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.3382, allocations: 8.125 kB / 0.5325 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.3383, allocations: 84.36 kB / 0.5326 GB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/0.3383, allocations: 47.94 kB / 0.5326 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.3402, allocations: 1.514 MB / 0.5341 GB, free: 7.82 MB / 410.7 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.00618/0.3464, allocations: 6.064 MB / 0.54 GB, free: 1.609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.3484, allocations: 1.39 MB / 0.5414 GB, free: 200 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005851/0.349, allocations: 0.5303 MB / 0.5419 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003048/0.352, allocations: 2.901 MB / 0.5447 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3521, allocations: 50.7 kB / 0.5448 GB, free: 12.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 3.707e-06/0.3521, allocations: 0 / 0.5448 GB, free: 12.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.008843/0.3609, allocations: 5.529 MB / 0.5502 GB, free: 7.039 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.361, allocations: 103 kB / 0.5503 GB, free: 6.918 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007324/0.3617, allocations: 0.9695 MB / 0.5512 GB, free: 5.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.3618, allocations: 57.7 kB / 0.5513 GB, free: 5.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004222/0.3622, allocations: 0.9872 MB / 0.5523 GB, free: 4.867 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005706/0.3628, allocations: 0.6158 MB / 0.5529 GB, free: 4.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.3631, allocations: 409.2 kB / 0.5532 GB, free: 3.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3632, allocations: 484.8 kB / 0.5537 GB, free: 3.355 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.3637, allocations: 391.9 kB / 0.5541 GB, free: 2.969 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008619/0.3646, allocations: 1.179 MB / 0.5552 GB, free: 1.445 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2036/0.5682, allocations: 1.757 MB / 0.557 GB, free: 37.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-05/0.5682, allocations: 6.031 kB / 0.557 GB, free: 37.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003784/0.572, allocations: 2.145 MB / 0.5591 GB, free: 37.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.572, allocations: 13.62 kB / 0.5591 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.5721, allocations: 18.34 kB / 0.5591 GB, free: 37.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.5736, allocations: 0.5591 MB / 0.5596 GB, free: 37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.575, allocations: 483.1 kB / 0.5601 GB, free: 37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.5807, allocations: 10.77 MB / 0.5706 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007704/0.5815, allocations: 63.98 kB / 0.5707 GB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.5817, allocations: 157.2 kB / 0.5708 GB, free: 27.87 MB / 426.7 MB 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.0004906/0.5822, allocations: 282.5 kB / 0.5711 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/0.5825, allocations: 210.4 kB / 0.5713 GB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.586, allocations: 2.136 MB / 0.5734 GB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.586, allocations: 17.72 kB / 0.5734 GB, free: 27.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.586, allocations: 9.375 kB / 0.5734 GB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.5861, allocations: 11.61 kB / 0.5734 GB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.5899, allocations: 3.254 MB / 0.5766 GB, free: 26.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.5899, allocations: 0.5156 kB / 0.5766 GB, free: 26.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/0.5909, allocations: 372.8 kB / 0.5769 GB, free: 26.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.5919, allocations: 485.1 kB / 0.5774 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.592, allocations: 69.95 kB / 0.5775 GB, free: 26.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.5949, allocations: 7.707 MB / 0.585 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5949, allocations: 3.906 kB / 0.585 GB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.5976, allocations: 2.446 MB / 0.5874 GB, free: 19.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.5977, allocations: 135.2 kB / 0.5875 GB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5978, allocations: 37.53 kB / 0.5876 GB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.5982, allocations: 36.33 kB / 0.5876 GB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.5984, allocations: 177 kB / 0.5878 GB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.5985, allocations: 119.4 kB / 0.5879 GB, free: 19.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003882/0.5989, allocations: 0.535 MB / 0.5884 GB, free: 19.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5989, allocations: 0 / 0.5884 GB, free: 19.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001557/0.6005, allocations: 0.6328 MB / 0.589 GB, free: 19.38 MB / 426.7 MB 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 (153): * Single equations (assignments): 148 * 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.0006856/0.6012, allocations: 435.3 kB / 0.5894 GB, free: 19.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.6037, allocations: 2.192 MB / 0.5916 GB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6037, allocations: 0 / 0.5916 GB, free: 18.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6048, allocations: 1.348 MB / 0.5929 GB, free: 17.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008687/0.6057, allocations: 337.4 kB / 0.5932 GB, free: 17.93 MB / 426.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.6098, allocations: 3.227 MB / 0.5964 GB, free: 16.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.6102, allocations: 369.7 kB / 0.5967 GB, free: 16.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001001/0.6112, allocations: 414 kB / 0.5971 GB, free: 16.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.6116, allocations: 265.2 kB / 0.5974 GB, free: 16.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6116, allocations: 2.688 kB / 0.5974 GB, free: 16.38 MB / 426.7 MB Notification: Performance of Templates: time 0.03607/0.6477, allocations: 33.06 MB / 0.6296 GB, free: 14.61 MB / 442.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.480478085111827]