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.0008508/0.0008508, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.000855/0.000855, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.96/0.96, allocations: 177.1 MB / 205 MB, free: 5.629 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.09222/0.09222, allocations: 19.74 MB / 281.2 MB, free: 9.25 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.503e-06/1.503e-06, allocations: 0 / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.643e-05, allocations: 6.25 kB / 358 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2681/0.2681, allocations: 152.4 MB / 0.4984 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007949/0.276, allocations: 9.821 MB / 0.508 GB, free: 12.2 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.2762, allocations: 7.938 kB / 0.508 GB, free: 12.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.2765, allocations: 103.2 kB / 0.5081 GB, free: 12.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.2802, allocations: 2.114 MB / 0.5101 GB, free: 9.973 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.2848, allocations: 2.613 MB / 0.5127 GB, free: 7.352 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001555/0.2863, allocations: 2.04 MB / 0.5147 GB, free: 5.309 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005697/0.2869, allocations: 0.5474 MB / 0.5152 GB, free: 4.758 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006433/0.2875, allocations: 0.8189 MB / 0.516 GB, free: 3.938 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.2893, allocations: 1.457 MB / 0.5174 GB, free: 2.469 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.2894, allocations: 104 kB / 0.5175 GB, free: 2.367 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006481/0.2959, allocations: 5.72 MB / 0.5231 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.2962, allocations: 0.5965 MB / 0.5237 GB, free: 12.04 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003786/0.2966, allocations: 499.1 kB / 0.5242 GB, free: 11.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005769/0.3024, allocations: 5.16 MB / 0.5292 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3024, allocations: 3.938 kB / 0.5292 GB, free: 6.379 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3024, allocations: 4 kB / 0.5292 GB, free: 6.375 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3024, allocations: 0 / 0.5292 GB, free: 6.375 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.002686/0.3051, allocations: 1.889 MB / 0.5311 GB, free: 4.445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3051, allocations: 12.03 kB / 0.5311 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.3065, allocations: 482.4 kB / 0.5315 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.3071, allocations: 0.5697 MB / 0.5321 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.3071, allocations: 74.38 kB / 0.5322 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.3072, allocations: 92.38 kB / 0.5323 GB, free: 3.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.3087, allocations: 1.229 MB / 0.5335 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3088, allocations: 4.312 kB / 0.5335 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.109e-05/0.3088, allocations: 43.94 kB / 0.5335 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3089, allocations: 24 kB / 0.5335 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.3103, allocations: 0.9168 MB / 0.5344 GB, free: 0.9023 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.003727/0.314, allocations: 4.212 MB / 0.5385 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/0.3159, allocations: 1.119 MB / 0.5396 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.3165, allocations: 433.5 kB / 0.54 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02056/0.337, allocations: 11.76 MB / 0.5515 GB, free: 15.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.337, allocations: 51.39 kB / 0.5516 GB, free: 15.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=180): time 2.845e-06/0.337, allocations: 0 / 0.5516 GB, free: 15.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.03587/0.3729, allocations: 14.2 MB / 0.5654 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.373, allocations: 73.41 kB / 0.5655 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.3733, allocations: 418.6 kB / 0.5659 GB, free: 464 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.3733, allocations: 53.7 kB / 0.566 GB, free: 404 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.3735, allocations: 333.1 kB / 0.5663 GB, free: 64 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1663/0.5398, allocations: 0.6451 MB / 0.5669 GB, free: 50.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003833/0.5402, allocations: 301.2 kB / 0.5672 GB, free: 50.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.648e-05/0.5403, allocations: 0.5041 MB / 0.5677 GB, free: 49.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.5408, allocations: 293.4 kB / 0.568 GB, free: 49.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.5413, allocations: 0.5703 MB / 0.5685 GB, free: 49.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.5426, allocations: 0.9784 MB / 0.5695 GB, free: 49.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.5426, allocations: 2.938 kB / 0.5695 GB, free: 49.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002663/0.5452, allocations: 1.597 MB / 0.571 GB, free: 49.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5452, allocations: 7.375 kB / 0.571 GB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5453, allocations: 3.688 kB / 0.571 GB, free: 49.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005412/0.5507, allocations: 1.902 MB / 0.5729 GB, free: 48.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.551, allocations: 144.9 kB / 0.573 GB, free: 48.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.5538, allocations: 2.39 MB / 0.5754 GB, free: 48.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000441/0.5542, allocations: 135.5 kB / 0.5755 GB, free: 48.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.5543, allocations: 69.73 kB / 0.5756 GB, free: 48.03 MB / 442.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.0002632/0.5546, allocations: 235.2 kB / 0.5758 GB, free: 47.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.5547, allocations: 158.3 kB / 0.576 GB, free: 47.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005649/0.5604, allocations: 6.079 MB / 0.5819 GB, free: 47.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.569e-05/0.5605, allocations: 110.5 kB / 0.582 GB, free: 47.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.5605, allocations: 0 / 0.582 GB, free: 47.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.5605, allocations: 20.47 kB / 0.582 GB, free: 47.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/0.566, allocations: 6.229 MB / 0.5881 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.566, allocations: 1.031 kB / 0.5881 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.5662, allocations: 101.9 kB / 0.5882 GB, free: 46.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005741/0.572, allocations: 4.468 MB / 0.5926 GB, free: 45.73 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-05/0.5721, allocations: 54.2 kB / 0.5926 GB, free: 45.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004165/0.5762, allocations: 5.148 MB / 0.5976 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5762, allocations: 5.406 kB / 0.5976 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/0.5801, allocations: 4.805 MB / 0.6023 GB, free: 43.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.5805, allocations: 0.5214 MB / 0.6028 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.5806, allocations: 61.98 kB / 0.6029 GB, free: 43.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.581, allocations: 73.14 kB / 0.603 GB, free: 43.65 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.5811, allocations: 143.6 kB / 0.6031 GB, free: 43.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/0.5812, allocations: 71.39 kB / 0.6032 GB, free: 43.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001848/0.5814, allocations: 347.1 kB / 0.6035 GB, free: 43.51 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5814, allocations: 0 / 0.6035 GB, free: 43.51 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001808/0.5832, allocations: 1.212 MB / 0.6047 GB, free: 42.62 MB / 442.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.002196/0.5854, allocations: 1.146 MB / 0.6058 GB, free: 41.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.5879, allocations: 2.055 MB / 0.6078 GB, free: 40.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5879, allocations: 0 / 0.6078 GB, free: 40.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.5897, allocations: 1.682 MB / 0.6095 GB, free: 38.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.5917, allocations: 0.7076 MB / 0.6102 GB, free: 38.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.5964, allocations: 4.333 MB / 0.6144 GB, free: 35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5967, allocations: 0.5158 MB / 0.6149 GB, free: 34.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.5971, allocations: 201.3 kB / 0.6151 GB, free: 34.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.5973, allocations: 60.38 kB / 0.6151 GB, free: 34.41 MB / 442.7 MB Notification: Performance of SimCode: time 7.91e-07/0.5973, allocations: 0 / 0.6151 GB, free: 34.41 MB / 442.7 MB Notification: Performance of Templates: time 0.07783/0.6751, allocations: 79.8 MB / 0.6931 GB, free: 6.676 MB / 490.7 MB " [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: 6.5016410308890045]