Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0021/0.0021, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002042/0.002042, allocations: 165.3 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 158.6 MB / 186.1 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2803/0.2803, allocations: 36.34 MB / 274.7 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.609e-05, allocations: 6.312 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3738/0.3738, allocations: 153.7 MB / 0.4949 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01567/0.3895, allocations: 9.797 MB / 0.5045 GB, free: 7.473 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.3899, allocations: 11.88 kB / 0.5045 GB, free: 7.461 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.3905, allocations: 99.31 kB / 0.5046 GB, free: 7.363 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006283/0.3968, allocations: 2.115 MB / 0.5067 GB, free: 5.242 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008283/0.4051, allocations: 2.598 MB / 0.5092 GB, free: 2.637 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.4077, allocations: 2.042 MB / 0.5112 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.4087, allocations: 0.5435 MB / 0.5117 GB, free: 44 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001546/0.4103, allocations: 0.8228 MB / 0.5125 GB, free: 15.22 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.4141, allocations: 1.449 MB / 0.5139 GB, free: 13.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004534/0.4145, allocations: 104 kB / 0.514 GB, free: 13.66 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.4274, allocations: 5.705 MB / 0.5196 GB, free: 7.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009796/0.4283, allocations: 0.6003 MB / 0.5202 GB, free: 7.344 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.4296, allocations: 0.4913 MB / 0.5207 GB, free: 6.852 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.4426, allocations: 5.398 MB / 0.5259 GB, free: 1.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4426, allocations: 0 / 0.5259 GB, free: 1.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4426, allocations: 0 / 0.5259 GB, free: 1.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.007e-05/0.4427, allocations: 4 kB / 0.526 GB, free: 1.438 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005918/0.4486, allocations: 1.935 MB / 0.5278 GB, free: 15.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4486, allocations: 12.02 kB / 0.5279 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/0.4516, allocations: 474.5 kB / 0.5283 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.453, allocations: 0.5852 MB / 0.5289 GB, free: 14.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.4531, allocations: 70.38 kB / 0.5289 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.4533, allocations: 92.38 kB / 0.529 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.4565, allocations: 1.295 MB / 0.5303 GB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.4565, allocations: 8.312 kB / 0.5303 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.4567, allocations: 43.94 kB / 0.5303 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.4567, allocations: 24 kB / 0.5304 GB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/0.4596, allocations: 1.046 MB / 0.5314 GB, free: 11.73 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.007874/0.4675, allocations: 4.547 MB / 0.5358 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.4708, allocations: 1.219 MB / 0.537 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.4719, allocations: 481.5 kB / 0.5375 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04445/0.5164, allocations: 11.32 MB / 0.5485 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.995e-05/0.5164, allocations: 55.33 kB / 0.5486 GB, free: 9.941 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 6.041e-06/0.5164, allocations: 4 kB / 0.5486 GB, free: 9.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.07635/0.5928, allocations: 14.37 MB / 0.5626 GB, free: 11.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.5929, allocations: 73.41 kB / 0.5627 GB, free: 11.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/0.5936, allocations: 474.6 kB / 0.5632 GB, free: 10.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.5938, allocations: 61.7 kB / 0.5632 GB, free: 10.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.5943, allocations: 337.1 kB / 0.5635 GB, free: 10.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008569/0.5952, allocations: 0.6818 MB / 0.5642 GB, free: 9.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006403/0.5958, allocations: 317.2 kB / 0.5645 GB, free: 9.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003121/0.5962, allocations: 0.5159 MB / 0.565 GB, free: 9.039 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009192/0.5971, allocations: 335.8 kB / 0.5653 GB, free: 8.711 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.5983, allocations: 0.6481 MB / 0.566 GB, free: 7.984 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.6007, allocations: 1.115 MB / 0.567 GB, free: 6.793 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.6007, allocations: 0 / 0.567 GB, free: 6.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004499/0.6052, allocations: 1.722 MB / 0.5687 GB, free: 5.055 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.6052, allocations: 8 kB / 0.5687 GB, free: 5.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6053, allocations: 4 kB / 0.5687 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/0.6161, allocations: 1.992 MB / 0.5707 GB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.6168, allocations: 147.7 kB / 0.5708 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.6227, allocations: 2.536 MB / 0.5733 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6238, allocations: 131.1 kB / 0.5734 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.624, allocations: 71.97 kB / 0.5735 GB, free: 148 kB / 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.000614/0.6246, allocations: 244.4 kB / 0.5737 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.6251, allocations: 159.4 kB / 0.5739 GB, free: 15.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.637, allocations: 6.064 MB / 0.5798 GB, free: 9.578 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001377/0.6371, allocations: 111.8 kB / 0.5799 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.6372, allocations: 4 kB / 0.5799 GB, free: 9.465 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-05/0.6372, allocations: 11.95 kB / 0.5799 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.6483, allocations: 6.235 MB / 0.586 GB, free: 3.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.6484, allocations: 7.969 kB / 0.586 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.6489, allocations: 99.81 kB / 0.5861 GB, free: 2.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01379/0.6627, allocations: 4.468 MB / 0.5905 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003683/0.663, allocations: 55.97 kB / 0.5905 GB, free: 14.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009967/0.673, allocations: 5.191 MB / 0.5956 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.673, allocations: 0 / 0.5956 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009514/0.6825, allocations: 4.786 MB / 0.6003 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.6839, allocations: 0.5163 MB / 0.6008 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.6842, allocations: 63.83 kB / 0.6008 GB, free: 3.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.6853, allocations: 67.95 kB / 0.6009 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.6856, allocations: 137.7 kB / 0.601 GB, free: 3.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/0.6858, allocations: 75.97 kB / 0.6011 GB, free: 3.355 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006396/0.6865, allocations: 390.8 kB / 0.6015 GB, free: 2.973 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.6865, allocations: 0 / 0.6015 GB, free: 2.973 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004078/0.6905, allocations: 1.213 MB / 0.6027 GB, free: 1.758 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.005438/0.696, allocations: 1.137 MB / 0.6038 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1597/0.8556, allocations: 2.153 MB / 0.6059 GB, free: 199.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8556, allocations: 1.156 kB / 0.6059 GB, free: 199.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004133/0.8598, allocations: 1.72 MB / 0.6076 GB, free: 198.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/0.8634, allocations: 0.7014 MB / 0.6082 GB, free: 198.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/0.8698, allocations: 4.387 MB / 0.6125 GB, free: 197.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.8704, allocations: 0.9865 MB / 0.6135 GB, free: 197 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007534/0.8712, allocations: 201.4 kB / 0.6137 GB, free: 197 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.8714, allocations: 63.95 kB / 0.6137 GB, free: 197 MB / 474.7 MB Notification: Performance of SimCode: time 3.406e-06/0.8714, allocations: 0 / 0.6137 GB, free: 197 MB / 474.7 MB Notification: Performance of Templates: time 0.0755/0.9469, allocations: 68.05 MB / 0.6802 GB, free: 130.6 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.612469646031968]