Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.0008675/0.0008675, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001885, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007776/0.0007776, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009836/0.001761, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9532/0.9532, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08406/1.037, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1006/0.1006, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01367/0.1143, allocations: 7.557 MB / 271.3 MB, free: 3.48 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.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 272.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.256e-05/1.39e-05, allocations: 6.312 kB / 272.6 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2501/0.2501, allocations: 152.2 MB / 424.8 MB, free: 5.109 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1532/0.4033, allocations: 9.817 MB / 434.6 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.4035, allocations: 10.84 kB / 434.6 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.4037, allocations: 101.9 kB / 434.7 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00407/0.4078, allocations: 1.898 MB / 436.6 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.4124, allocations: 2.402 MB / 439 MB, free: 3.145 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.4142, allocations: 2.329 MB / 441.3 MB, free: 3.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.4148, allocations: 0.6567 MB / 442 MB, free: 3.133 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008571/0.4157, allocations: 0.977 MB / 443 MB, free: 3.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.4177, allocations: 1.341 MB / 444.3 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.4179, allocations: 119.3 kB / 444.4 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006877/0.4248, allocations: 6.146 MB / 450.6 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.4251, allocations: 0.5372 MB / 451.1 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.4256, allocations: 426.1 kB / 451.5 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004395/0.43, allocations: 4.067 MB / 455.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.43, allocations: 0 / 455.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.43, allocations: 1.031 kB / 455.6 MB, free: 2.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.349e-05/0.43, allocations: 1.203 kB / 455.6 MB, free: 2.824 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.003008/0.4331, allocations: 2.272 MB / 457.9 MB, free: 18.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.4331, allocations: 13.2 kB / 457.9 MB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.4345, allocations: 0.5798 MB / 458.4 MB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.435, allocations: 0.5349 MB / 459 MB, free: 17.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.435, allocations: 80.31 kB / 459.1 MB, free: 17.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.4352, allocations: 133.3 kB / 459.2 MB, free: 17.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.4364, allocations: 1.135 MB / 460.3 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4364, allocations: 384 / 460.3 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.368e-05/0.4365, allocations: 41.28 kB / 460.4 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4365, allocations: 25.22 kB / 460.4 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.4376, allocations: 0.7539 MB / 461.1 MB, free: 17.55 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.002682/0.4403, allocations: 2.509 MB / 463.7 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.4423, allocations: 1.235 MB / 464.9 MB, free: 16.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.4426, allocations: 336.6 kB / 465.2 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05007/0.4927, allocations: 31.81 MB / 497 MB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4927, allocations: 58.34 kB / 497.1 MB, free: 12.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=207): time 4.107e-06/0.4927, allocations: 0 / 497.1 MB, free: 12.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=207): time 0.005002/0.4977, allocations: 2.718 MB / 499.8 MB, free: 10.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.4978, allocations: 77.34 kB / 499.9 MB, free: 10.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.4979, allocations: 307.1 kB / 0.4885 GB, free: 9.82 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/0.498, allocations: 61.39 kB / 0.4885 GB, free: 9.781 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.4981, allocations: 172.4 kB / 0.4887 GB, free: 9.629 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.4985, allocations: 0.7686 MB / 0.4894 GB, free: 8.973 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.4988, allocations: 313 kB / 0.4897 GB, free: 8.797 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.4988, allocations: 333.8 kB / 0.49 GB, free: 8.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.4992, allocations: 227.1 kB / 0.4903 GB, free: 8.262 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.4996, allocations: 482.5 kB / 0.4907 GB, free: 7.793 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008086/0.5004, allocations: 0.7926 MB / 0.4915 GB, free: 7.043 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5004, allocations: 0 / 0.4915 GB, free: 7.043 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.001378/0.5018, allocations: 1.136 MB / 0.4926 GB, free: 6.004 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.5018, allocations: 4 kB / 0.4926 GB, free: 6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.5018, allocations: 0 / 0.4926 GB, free: 6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004679/0.5065, allocations: 1.941 MB / 0.4945 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.5072, allocations: 320.7 kB / 0.4948 GB, free: 3.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.5091, allocations: 1.812 MB / 0.4966 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.5096, allocations: 134 kB / 0.4967 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.105e-05/0.5096, allocations: 48.97 kB / 0.4968 GB, free: 2.102 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (84): * Single equations (assignments): 83 * 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,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/0.5099, allocations: 194 kB / 0.4969 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.51, allocations: 139.2 kB / 0.4971 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.5143, allocations: 5 MB / 0.502 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.253e-05/0.5143, allocations: 111.6 kB / 0.5021 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5143, allocations: 4 kB / 0.5021 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.5144, allocations: 15.94 kB / 0.5021 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.5189, allocations: 5.11 MB / 0.5071 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.5189, allocations: 0 / 0.5071 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.5207, allocations: 0.7442 MB / 0.5078 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/0.5211, allocations: 0.4958 MB / 0.5083 GB, free: 7.695 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/0.523, allocations: 1.511 MB / 0.5098 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.5231, allocations: 77 kB / 0.5098 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006484/0.5296, allocations: 16.42 MB / 0.5259 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5296, allocations: 4.25 kB / 0.5259 GB, free: 5.059 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.5339, allocations: 4.123 MB / 0.5299 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.534, allocations: 77.67 kB / 0.53 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.5345, allocations: 69.23 kB / 0.53 GB, free: 1.074 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.5347, allocations: 177 kB / 0.5302 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.444e-05/0.5348, allocations: 65.39 kB / 0.5303 GB, free: 0.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.5349, allocations: 160.8 kB / 0.5304 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5349, allocations: 4 kB / 0.5304 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002672/0.5376, allocations: 1.287 MB / 0.5317 GB, free: 15.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * 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 (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002246/0.5398, allocations: 1.274 MB / 0.5329 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003205/0.543, allocations: 1.992 MB / 0.5349 GB, free: 12.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-05/0.543, allocations: 20.7 kB / 0.5349 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.5448, allocations: 2.294 MB / 0.5371 GB, free: 10.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.5464, allocations: 0.9161 MB / 0.538 GB, free: 9.395 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.5588, allocations: 4.828 MB / 0.5427 GB, free: 5.055 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.5592, allocations: 0.55 MB / 0.5433 GB, free: 4.488 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005217/0.5597, allocations: 202.4 kB / 0.5435 GB, free: 4.285 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009562/0.5607, allocations: 0.4999 MB / 0.544 GB, free: 3.797 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5607, allocations: 0 / 0.544 GB, free: 3.797 MB / 490.7 MB Notification: Performance of Templates: time 0.2263/0.787, allocations: 86.46 MB / 0.6284 GB, free: 143.7 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.018323632888496]