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.001086/0.001086, allocations: 92.22 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.001775/0.001775, allocations: 169 kB / 23.02 MB, free: 1.551 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.006/1.006, 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.08538/0.08538, 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 2.495e-06/2.495e-06, allocations: 0 / 353.5 MB, free: 9.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.683e-05/2.933e-05, allocations: 10.19 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.03295/0.03298, allocations: 32.11 MB / 385.7 MB, free: 9.848 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2644/0.2974, allocations: 136.9 MB / 0.5104 GB, free: 440 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.2987, allocations: 31.75 kB / 0.5104 GB, free: 408 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008818/0.2996, allocations: 372.4 kB / 0.5107 GB, free: 40 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.3021, allocations: 1.15 MB / 0.5119 GB, free: 14.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.3052, allocations: 1.567 MB / 0.5134 GB, free: 13.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.3081, allocations: 2.694 MB / 0.516 GB, free: 10.6 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.3096, allocations: 1.257 MB / 0.5173 GB, free: 9.293 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.3117, allocations: 1.763 MB / 0.519 GB, free: 7.527 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.3132, allocations: 1.177 MB / 0.5201 GB, free: 6.348 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005387/0.3138, allocations: 228 kB / 0.5203 GB, free: 6.125 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.3161, allocations: 1.029 MB / 0.5213 GB, free: 5.094 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.3165, allocations: 0.5841 MB / 0.5219 GB, free: 4.508 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.3177, allocations: 0.8458 MB / 0.5227 GB, free: 3.66 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.3218, allocations: 2.959 MB / 0.5256 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3218, allocations: 0 / 0.5256 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3218, allocations: 0 / 0.5256 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.128e-05/0.3219, allocations: 4 kB / 0.5256 GB, free: 0.6875 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.003394/0.3252, allocations: 2.686 MB / 0.5283 GB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3253, allocations: 8.031 kB / 0.5283 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/0.3279, allocations: 1.234 MB / 0.5295 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.3294, allocations: 0.9194 MB / 0.5304 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001633/0.3295, allocations: 263.1 kB / 0.5306 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.3298, allocations: 200.3 kB / 0.5308 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.3319, allocations: 1.734 MB / 0.5325 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3319, allocations: 192 / 0.5325 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.3321, allocations: 76.38 kB / 0.5326 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.3321, allocations: 51.94 kB / 0.5326 GB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.3341, allocations: 1.518 MB / 0.5341 GB, free: 7.844 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.007068/0.3412, allocations: 6.068 MB / 0.54 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.3434, allocations: 1.378 MB / 0.5414 GB, free: 232 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.344, allocations: 0.5349 MB / 0.5419 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004036/0.348, allocations: 2.904 MB / 0.5447 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.3481, allocations: 46.7 kB / 0.5448 GB, free: 12.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.3481, allocations: 4 kB / 0.5448 GB, free: 12.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.01006/0.3581, allocations: 5.525 MB / 0.5502 GB, free: 7.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.3582, allocations: 103 kB / 0.5503 GB, free: 6.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001368/0.3596, allocations: 0.9696 MB / 0.5512 GB, free: 5.957 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.929e-05/0.3596, allocations: 57.64 kB / 0.5513 GB, free: 5.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/0.3601, allocations: 0.991 MB / 0.5523 GB, free: 4.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003978/0.3605, allocations: 0.612 MB / 0.5529 GB, free: 4.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.3609, allocations: 409.2 kB / 0.5532 GB, free: 3.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.361, allocations: 476.8 kB / 0.5537 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/0.3616, allocations: 399.9 kB / 0.5541 GB, free: 2.996 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/0.3626, allocations: 1.179 MB / 0.5552 GB, free: 1.473 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.199/0.5616, allocations: 1.76 MB / 0.5569 GB, free: 37.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/0.5616, allocations: 5.812 kB / 0.557 GB, free: 37.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00391/0.5655, allocations: 2.145 MB / 0.559 GB, free: 36.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.5656, allocations: 12.69 kB / 0.5591 GB, free: 36.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/0.5656, allocations: 18.34 kB / 0.5591 GB, free: 36.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.5672, allocations: 0.565 MB / 0.5596 GB, free: 36.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5684, allocations: 482.2 kB / 0.5601 GB, free: 36.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005966/0.5744, allocations: 10.77 MB / 0.5706 GB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009269/0.5753, allocations: 65.69 kB / 0.5707 GB, free: 27.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.5755, allocations: 153.6 kB / 0.5708 GB, free: 27.77 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.0005337/0.5761, allocations: 277.6 kB / 0.5711 GB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003518/0.5764, allocations: 213.5 kB / 0.5713 GB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.5801, allocations: 2.135 MB / 0.5734 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5802, allocations: 20.88 kB / 0.5734 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/0.5802, allocations: 6.719 kB / 0.5734 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5802, allocations: 11.22 kB / 0.5734 GB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.5844, allocations: 3.259 MB / 0.5766 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.5844, allocations: 0 / 0.5766 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009626/0.5853, allocations: 371.7 kB / 0.5769 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/0.5864, allocations: 484.2 kB / 0.5774 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.5865, allocations: 74.48 kB / 0.5775 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/0.5897, allocations: 7.698 MB / 0.585 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5897, allocations: 0.6875 kB / 0.585 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/0.5927, allocations: 2.451 MB / 0.5874 GB, free: 19.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.593, allocations: 134.4 kB / 0.5875 GB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.5932, allocations: 38.47 kB / 0.5875 GB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.5936, allocations: 37.92 kB / 0.5876 GB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.5939, allocations: 174.1 kB / 0.5878 GB, free: 19.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.594, allocations: 115.3 kB / 0.5879 GB, free: 19.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.5945, allocations: 0.5359 MB / 0.5884 GB, free: 19.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5945, allocations: 0.7188 kB / 0.5884 GB, free: 19.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0017/0.5962, allocations: 0.6347 MB / 0.589 GB, free: 19.29 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.0007495/0.5969, allocations: 434.4 kB / 0.5894 GB, free: 19.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.5995, allocations: 2.194 MB / 0.5916 GB, free: 18.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5995, allocations: 0 / 0.5916 GB, free: 18.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.6008, allocations: 1.338 MB / 0.5929 GB, free: 17.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.6017, allocations: 342.2 kB / 0.5932 GB, free: 17.84 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.004517/0.6062, allocations: 3.233 MB / 0.5964 GB, free: 16.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.6066, allocations: 367.7 kB / 0.5967 GB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001014/0.6076, allocations: 413 kB / 0.5971 GB, free: 16.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/0.6081, allocations: 266.7 kB / 0.5973 GB, free: 16.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.6081, allocations: 3.188 kB / 0.5974 GB, free: 16.29 MB / 426.7 MB Notification: Performance of Templates: time 0.03223/0.6403, allocations: 29.94 MB / 0.6266 GB, free: 1.691 MB / 426.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.487088473979384]