Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.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.0008684/0.0008684, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0008899/0.0008899, allocations: 177.2 kB / 24.92 MB, free: 8.766 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 0.9527/0.9527, allocations: 177.1 MB / 205.3 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09033/0.09033, allocations: 19.74 MB / 281.6 MB, free: 9.117 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 305.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.366e-05, allocations: 3.188 kB / 305.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3566/0.3566, allocations: 151.7 MB / 456.9 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008599/0.3652, allocations: 9.785 MB / 466.6 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003457/0.3655, allocations: 10.06 kB / 466.6 MB, free: 9.953 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003791/0.3659, allocations: 101.9 kB / 466.7 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004202/0.3701, allocations: 2.127 MB / 468.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00652/0.3766, allocations: 2.623 MB / 471.5 MB, free: 9.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.3783, allocations: 2.033 MB / 473.5 MB, free: 9.816 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.3789, allocations: 0.5559 MB / 474.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000838/0.3798, allocations: 0.8157 MB / 474.9 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.3817, allocations: 1.449 MB / 476.3 MB, free: 9.523 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.3819, allocations: 101.7 kB / 476.4 MB, free: 9.523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007494/0.3894, allocations: 5.71 MB / 482.2 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.3898, allocations: 0.5933 MB / 482.8 MB, free: 9.426 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.3904, allocations: 0.4913 MB / 483.2 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007891/0.3983, allocations: 5.165 MB / 488.4 MB, free: 9.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3983, allocations: 5.688 kB / 488.4 MB, free: 9.172 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3983, allocations: 0 / 488.4 MB, free: 9.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.3984, allocations: 0 / 488.4 MB, free: 9.172 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.003893/0.4023, allocations: 1.654 MB / 490.1 MB, free: 8.434 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4023, allocations: 11.56 kB / 490.1 MB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.4038, allocations: 0.4955 MB / 490.6 MB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.4045, allocations: 0.5081 MB / 491.1 MB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.4045, allocations: 70.19 kB / 491.1 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4046, allocations: 91.72 kB / 491.2 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.406, allocations: 1.12 MB / 492.4 MB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.406, allocations: 3.406 kB / 492.4 MB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.353e-05/0.4061, allocations: 43.62 kB / 492.4 MB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.4061, allocations: 23.25 kB / 492.4 MB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.4072, allocations: 0.7294 MB / 493.2 MB, free: 7.434 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.002921/0.4101, allocations: 3.163 MB / 496.3 MB, free: 5.582 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.4115, allocations: 0.9812 MB / 497.3 MB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.4118, allocations: 316.7 kB / 497.6 MB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05473/0.4666, allocations: 31.81 MB / 0.517 GB, free: 2.176 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.4666, allocations: 61.98 kB / 0.5171 GB, free: 2.117 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 4.458e-06/0.4666, allocations: 3.938 kB / 0.5171 GB, free: 2.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.03324/0.4998, allocations: 13.03 MB / 0.5298 GB, free: 5.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.4999, allocations: 80.44 kB / 0.5299 GB, free: 5.484 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.5001, allocations: 339 kB / 0.5302 GB, free: 5.195 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.5002, allocations: 53.7 kB / 0.5303 GB, free: 5.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5003, allocations: 243 kB / 0.5305 GB, free: 4.945 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.5006, allocations: 0.6322 MB / 0.5311 GB, free: 4.406 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.5009, allocations: 272.1 kB / 0.5314 GB, free: 4.242 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.501, allocations: 335.5 kB / 0.5317 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.5012, allocations: 183.1 kB / 0.5319 GB, free: 3.746 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.5016, allocations: 404 kB / 0.5322 GB, free: 3.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.5023, allocations: 0.737 MB / 0.533 GB, free: 2.605 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5023, allocations: 3.688 kB / 0.533 GB, free: 2.605 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00145/0.5038, allocations: 1.087 MB / 0.534 GB, free: 1.645 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.5038, allocations: 8 kB / 0.534 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.5038, allocations: 7.938 kB / 0.534 GB, free: 1.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004406/0.5082, allocations: 1.735 MB / 0.5357 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.5086, allocations: 148 kB / 0.5359 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.5106, allocations: 1.744 MB / 0.5376 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.5111, allocations: 122.1 kB / 0.5377 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/0.5112, allocations: 49.53 kB / 0.5377 GB, free: 14.15 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,108)} Notification: Performance of prepare postOptimizeDAE: time 0.000311/0.5115, allocations: 189 kB / 0.5379 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.5117, allocations: 127.5 kB / 0.538 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.5166, allocations: 5.088 MB / 0.543 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-05/0.5166, allocations: 110.9 kB / 0.5431 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.5166, allocations: 0 / 0.5431 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.5167, allocations: 11.95 kB / 0.5431 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00521/0.5219, allocations: 5.067 MB / 0.5481 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.5219, allocations: 7.969 kB / 0.5481 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.5222, allocations: 99.22 kB / 0.5482 GB, free: 4.926 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006381/0.5285, allocations: 4.048 MB / 0.5521 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.5287, allocations: 51.84 kB / 0.5522 GB, free: 1.008 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004273/0.533, allocations: 3.867 MB / 0.556 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.533, allocations: 0 / 0.556 GB, free: 13.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.5367, allocations: 3.71 MB / 0.5596 GB, free: 9.984 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.5373, allocations: 474.5 kB / 0.56 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.5374, allocations: 59.84 kB / 0.5601 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.5378, allocations: 66.7 kB / 0.5602 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.538, allocations: 137.7 kB / 0.5603 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.127e-05/0.538, allocations: 51.17 kB / 0.5603 GB, free: 9.328 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001778/0.5382, allocations: 190.9 kB / 0.5605 GB, free: 9.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5382, allocations: 4 kB / 0.5605 GB, free: 9.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003345/0.5416, allocations: 1.209 MB / 0.5617 GB, free: 7.945 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,171)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00441/0.546, allocations: 1.207 MB / 0.5629 GB, free: 6.809 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003279/0.5493, allocations: 1.648 MB / 0.5645 GB, free: 5.156 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.076e-05/0.5493, allocations: 7.938 kB / 0.5645 GB, free: 5.148 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.5516, allocations: 1.373 MB / 0.5658 GB, free: 3.809 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.5541, allocations: 0.6939 MB / 0.5665 GB, free: 3.117 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005972/0.56, allocations: 4.238 MB / 0.5707 GB, free: 14.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.5605, allocations: 0.5119 MB / 0.5712 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004757/0.561, allocations: 129.7 kB / 0.5713 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007816/0.5618, allocations: 347.1 kB / 0.5716 GB, free: 13.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.804e-06/0.5618, allocations: 0 / 0.5716 GB, free: 13.93 MB / 490.7 MB Notification: Performance of Templates: time 0.2618/0.8236, allocations: 76.78 MB / 0.6466 GB, free: 113.6 MB / 0.5105 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.789539410267025]