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.001144/0.001144, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001539/0.001539, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9298/0.9298, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.09165/0.09165, allocations: 19.74 MB / 281.5 MB, free: 9.359 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.472e-06/1.472e-06, allocations: 0 / 357.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.84e-05, allocations: 2.312 kB / 357.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2736/0.2736, allocations: 156.7 MB / 0.5026 GB, free: 32.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008217/0.2818, allocations: 9.783 MB / 0.5122 GB, free: 26.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000322/0.2821, allocations: 10.53 kB / 0.5122 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.2825, allocations: 106.6 kB / 0.5123 GB, free: 26.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003648/0.2861, allocations: 2.118 MB / 0.5144 GB, free: 25.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005908/0.292, allocations: 2.599 MB / 0.5169 GB, free: 24.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.2934, allocations: 2.043 MB / 0.5189 GB, free: 23.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.2941, allocations: 0.5582 MB / 0.5194 GB, free: 23.27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/0.2949, allocations: 0.8125 MB / 0.5202 GB, free: 22.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.2968, allocations: 1.462 MB / 0.5217 GB, free: 22.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.297, allocations: 99.53 kB / 0.5218 GB, free: 22.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00749/0.3045, allocations: 5.715 MB / 0.5273 GB, free: 21.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004693/0.3049, allocations: 0.6027 MB / 0.5279 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005699/0.3055, allocations: 0.4933 MB / 0.5284 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00722/0.3127, allocations: 5.153 MB / 0.5334 GB, free: 17.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3127, allocations: 0 / 0.5334 GB, free: 17.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3127, allocations: 4 kB / 0.5334 GB, free: 17.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.3128, allocations: 0 / 0.5334 GB, free: 17.16 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.003178/0.3159, allocations: 1.893 MB / 0.5353 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.316, allocations: 12.06 kB / 0.5353 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001588/0.3176, allocations: 488.3 kB / 0.5358 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008339/0.3184, allocations: 0.5685 MB / 0.5363 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.3185, allocations: 73.78 kB / 0.5364 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.3186, allocations: 92.62 kB / 0.5365 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.3203, allocations: 1.233 MB / 0.5377 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.3204, allocations: 3.812 kB / 0.5377 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/0.3204, allocations: 51.95 kB / 0.5377 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.3204, allocations: 22.91 kB / 0.5378 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.3219, allocations: 0.9214 MB / 0.5387 GB, free: 13.87 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.003102/0.325, allocations: 4.202 MB / 0.5428 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3268, allocations: 1.109 MB / 0.5438 GB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.3273, allocations: 438.5 kB / 0.5443 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01918/0.3465, allocations: 11.75 MB / 0.5557 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.3465, allocations: 59.33 kB / 0.5558 GB, free: 15.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 3.596e-06/0.3465, allocations: 0 / 0.5558 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.03781/0.3843, allocations: 14.21 MB / 0.5697 GB, free: 1.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3844, allocations: 69.41 kB / 0.5697 GB, free: 1.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.3847, allocations: 422.6 kB / 0.5701 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.3848, allocations: 53.7 kB / 0.5702 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.385, allocations: 329.1 kB / 0.5705 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.3854, allocations: 0.6468 MB / 0.5711 GB, free: 15.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00044/0.3858, allocations: 301.2 kB / 0.5714 GB, free: 15.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.3859, allocations: 0.5042 MB / 0.5719 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004924/0.3864, allocations: 295.8 kB / 0.5722 GB, free: 14.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/0.387, allocations: 0.5739 MB / 0.5728 GB, free: 14.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.3882, allocations: 0.982 MB / 0.5737 GB, free: 13.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.3882, allocations: 4 kB / 0.5737 GB, free: 13.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002493/0.3907, allocations: 1.587 MB / 0.5753 GB, free: 11.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.3908, allocations: 12.06 kB / 0.5753 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3908, allocations: 4 kB / 0.5753 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005182/0.396, allocations: 1.901 MB / 0.5771 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.3964, allocations: 151.7 kB / 0.5773 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.3994, allocations: 2.381 MB / 0.5796 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.3999, allocations: 131 kB / 0.5797 GB, free: 6.863 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/0.4, allocations: 71.97 kB / 0.5798 GB, free: 6.793 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.0003426/0.4004, allocations: 228.5 kB / 0.58 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.4006, allocations: 159.3 kB / 0.5802 GB, free: 6.402 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006305/0.4069, allocations: 6.089 MB / 0.5861 GB, free: 228 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/0.407, allocations: 111.8 kB / 0.5862 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.407, allocations: 0 / 0.5862 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.407, allocations: 11.95 kB / 0.5862 GB, free: 104 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006249/0.4132, allocations: 6.237 MB / 0.5923 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.4132, allocations: 2.938 kB / 0.5923 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.4135, allocations: 103.8 kB / 0.5924 GB, free: 9.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006747/0.4203, allocations: 4.465 MB / 0.5968 GB, free: 5.121 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.4204, allocations: 55.97 kB / 0.5968 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.4257, allocations: 5.141 MB / 0.6019 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4257, allocations: 0 / 0.6019 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005198/0.4309, allocations: 4.817 MB / 0.6066 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006001/0.4315, allocations: 0.528 MB / 0.6071 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.4316, allocations: 51.89 kB / 0.6071 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.432, allocations: 75.89 kB / 0.6072 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.4322, allocations: 141.7 kB / 0.6073 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-05/0.4323, allocations: 67.98 kB / 0.6074 GB, free: 10.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002667/0.4326, allocations: 342.8 kB / 0.6077 GB, free: 9.691 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4326, allocations: 0 / 0.6077 GB, free: 9.691 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002544/0.4351, allocations: 1.217 MB / 0.6089 GB, free: 8.473 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.002814/0.4379, allocations: 1.145 MB / 0.61 GB, free: 7.316 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003178/0.4411, allocations: 2.061 MB / 0.612 GB, free: 5.215 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4411, allocations: 0 / 0.612 GB, free: 5.215 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.4434, allocations: 1.688 MB / 0.6137 GB, free: 3.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.4453, allocations: 0.6988 MB / 0.6144 GB, free: 2.809 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.122/0.5672, allocations: 4.319 MB / 0.6186 GB, free: 182.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.5675, allocations: 0.5116 MB / 0.6191 GB, free: 182.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004822/0.568, allocations: 195.9 kB / 0.6193 GB, free: 182.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.5681, allocations: 58.62 kB / 0.6193 GB, free: 182.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5681, allocations: 1.5 kB / 0.6193 GB, free: 182.2 MB / 474.7 MB Notification: Performance of Templates: time 0.05458/0.6227, allocations: 68.16 MB / 0.6859 GB, free: 143.8 MB / 474.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: 5.843422091798857]