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.001141/0.001141, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001069/0.001069, allocations: 173 kB / 23.49 MB, free: 1.059 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.017/1.017, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.1095/0.1095, allocations: 17.46 MB / 277.7 MB, free: 11.62 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.694e-06/1.694e-06, allocations: 0 / 353.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.592e-05, allocations: 6.312 kB / 353.6 MB, free: 10.17 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.02983/0.02985, allocations: 32.37 MB / 385.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2795/0.3094, allocations: 148.5 MB / 0.5219 GB, free: 5.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.3106, allocations: 35.75 kB / 0.522 GB, free: 5.035 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.3118, allocations: 493.5 kB / 0.5224 GB, free: 4.555 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003679/0.3154, allocations: 1.713 MB / 0.5241 GB, free: 2.828 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006424/0.3219, allocations: 3.084 MB / 0.5271 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00284/0.3247, allocations: 2.686 MB / 0.5297 GB, free: 13.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.3261, allocations: 1.257 MB / 0.531 GB, free: 11.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.3281, allocations: 1.763 MB / 0.5327 GB, free: 9.957 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.3295, allocations: 1.185 MB / 0.5338 GB, free: 8.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004467/0.33, allocations: 224 kB / 0.5341 GB, free: 8.551 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005014/0.335, allocations: 2.23 MB / 0.5362 GB, free: 6.316 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004782/0.3355, allocations: 0.5841 MB / 0.5368 GB, free: 5.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009813/0.3365, allocations: 0.8457 MB / 0.5376 GB, free: 4.883 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008012/0.3445, allocations: 4.496 MB / 0.542 GB, free: 380 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3445, allocations: 0 / 0.542 GB, free: 380 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3445, allocations: 0 / 0.542 GB, free: 380 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.983e-05/0.3446, allocations: 0 / 0.542 GB, free: 380 kB / 410.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.003885/0.3484, allocations: 2.953 MB / 0.5449 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3485, allocations: 8.031 kB / 0.5449 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.3515, allocations: 1.234 MB / 0.5461 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.3529, allocations: 0.9193 MB / 0.547 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/0.353, allocations: 255.2 kB / 0.5473 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.3532, allocations: 200.3 kB / 0.5475 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.3554, allocations: 1.738 MB / 0.5491 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.3554, allocations: 192 / 0.5491 GB, free: 8.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.3555, allocations: 84.38 kB / 0.5492 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.3556, allocations: 47.94 kB / 0.5493 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.3576, allocations: 1.51 MB / 0.5507 GB, free: 7.266 MB / 426.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.006632/0.3643, allocations: 6.071 MB / 0.5567 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2155/0.5797, allocations: 1.384 MB / 0.558 GB, free: 27.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.5812, allocations: 0.5246 MB / 0.5585 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007338/0.5886, allocations: 3.877 MB / 0.5623 GB, free: 27.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.5886, allocations: 52.86 kB / 0.5624 GB, free: 27.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 6.192e-06/0.5886, allocations: 2.609 kB / 0.5624 GB, free: 27.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.01117/0.5998, allocations: 5.531 MB / 0.5678 GB, free: 26.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.5998, allocations: 100.6 kB / 0.5679 GB, free: 26.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009497/0.6008, allocations: 0.9716 MB / 0.5688 GB, free: 25.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-05/0.6009, allocations: 53.67 kB / 0.5689 GB, free: 25.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.6013, allocations: 0.9895 MB / 0.5698 GB, free: 25.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/0.6016, allocations: 0.614 MB / 0.5704 GB, free: 25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.602, allocations: 406.5 kB / 0.5708 GB, free: 24.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.6021, allocations: 479.8 kB / 0.5713 GB, free: 24.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/0.6031, allocations: 394.4 kB / 0.5717 GB, free: 24.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.6044, allocations: 1.182 MB / 0.5728 GB, free: 23.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.6066, allocations: 1.765 MB / 0.5745 GB, free: 22.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.6066, allocations: 4.859 kB / 0.5745 GB, free: 22.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003141/0.6097, allocations: 2.148 MB / 0.5766 GB, free: 22.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.6097, allocations: 15.84 kB / 0.5767 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.6097, allocations: 16.91 kB / 0.5767 GB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.6111, allocations: 0.5645 MB / 0.5772 GB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.6123, allocations: 485.5 kB / 0.5777 GB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/0.6176, allocations: 10.76 MB / 0.5882 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/0.6185, allocations: 64.38 kB / 0.5883 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.6186, allocations: 159.5 kB / 0.5884 GB, free: 12.98 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.0006787/0.6193, allocations: 280.8 kB / 0.5887 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.6196, allocations: 209.4 kB / 0.5889 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.6228, allocations: 2.141 MB / 0.591 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.6228, allocations: 20.81 kB / 0.591 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6228, allocations: 2.688 kB / 0.591 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.6228, allocations: 9.562 kB / 0.591 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.627, allocations: 3.266 MB / 0.5942 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.627, allocations: 0 / 0.5942 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.628, allocations: 370.8 kB / 0.5945 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/0.6292, allocations: 484.6 kB / 0.595 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.6293, allocations: 75.64 kB / 0.5951 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003062/0.6323, allocations: 7.704 MB / 0.6026 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.6323, allocations: 7.234 kB / 0.6026 GB, free: 5.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.6354, allocations: 2.443 MB / 0.605 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.6357, allocations: 130.5 kB / 0.6051 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.6358, allocations: 39.56 kB / 0.6052 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.6363, allocations: 38.69 kB / 0.6052 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/0.6365, allocations: 171.9 kB / 0.6054 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.6366, allocations: 119.3 kB / 0.6055 GB, free: 4.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005514/0.6372, allocations: 0.5333 MB / 0.606 GB, free: 4.258 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6372, allocations: 0 / 0.606 GB, free: 4.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002625/0.6398, allocations: 0.8309 MB / 0.6068 GB, free: 4.258 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.001673/0.6415, allocations: 0.84 MB / 0.6076 GB, free: 4.141 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.6443, allocations: 2.184 MB / 0.6098 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.6443, allocations: 1.125 kB / 0.6098 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.6456, allocations: 1.347 MB / 0.6111 GB, free: 2.801 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6467, allocations: 345.1 kB / 0.6114 GB, free: 2.77 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.004799/0.6515, allocations: 3.232 MB / 0.6146 GB, free: 1.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.6518, allocations: 370.5 kB / 0.6149 GB, free: 1.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001155/0.653, allocations: 412.5 kB / 0.6153 GB, free: 1.152 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.6535, allocations: 270.7 kB / 0.6156 GB, free: 1.125 MB / 426.7 MB Notification: Performance of SimCode: time 2.495e-06/0.6535, allocations: 0 / 0.6156 GB, free: 1.125 MB / 426.7 MB Notification: Performance of Templates: time 0.03921/0.6927, allocations: 34.86 MB / 0.6496 GB, free: 7.465 MB / 458.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.616249235114083]