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.0009045/0.0009045, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002212, allocations: 449.8 kB / 10.44 MB, free: 252 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.001028/0.001028, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001067/0.002095, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8928/0.8928, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0842/0.977, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.08288/0.08288, allocations: 19.78 MB / 264 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009763/0.09264, allocations: 7.557 MB / 271.5 MB, free: 3.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.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.292e-06/1.292e-06, allocations: 0 / 272.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.452e-05, allocations: 10.05 kB / 272.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2389/0.2389, allocations: 152.2 MB / 425 MB, free: 4.918 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1573/0.3962, allocations: 9.817 MB / 434.8 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.3964, allocations: 6.312 kB / 434.8 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.3967, allocations: 101.3 kB / 434.9 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.4005, allocations: 1.896 MB / 436.8 MB, free: 3.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.4052, allocations: 2.4 MB / 439.2 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001758/0.4069, allocations: 2.328 MB / 441.6 MB, free: 3.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.4074, allocations: 0.6613 MB / 442.2 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000753/0.4081, allocations: 0.974 MB / 443.2 MB, free: 3.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.4099, allocations: 1.345 MB / 444.5 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.4101, allocations: 119.1 kB / 444.7 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006905/0.417, allocations: 6.147 MB / 450.8 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003434/0.4173, allocations: 0.5353 MB / 451.3 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.4177, allocations: 424.3 kB / 451.8 MB, free: 2.988 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00356/0.4213, allocations: 4.056 MB / 455.8 MB, free: 2.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.4213, allocations: 0 / 455.8 MB, free: 2.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4213, allocations: 0 / 455.8 MB, free: 2.824 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.4213, allocations: 1.125 kB / 455.8 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.002698/0.424, allocations: 2.267 MB / 458.1 MB, free: 18.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.71e-05/0.424, allocations: 10.48 kB / 458.1 MB, free: 18.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.4256, allocations: 0.578 MB / 458.7 MB, free: 17.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.4261, allocations: 0.538 MB / 459.2 MB, free: 17.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.4262, allocations: 81.09 kB / 459.3 MB, free: 17.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.4263, allocations: 131.9 kB / 459.4 MB, free: 17.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.4277, allocations: 1.134 MB / 460.6 MB, free: 17.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.4277, allocations: 5.328 kB / 460.6 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.4278, allocations: 43.89 kB / 460.6 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.4278, allocations: 26.44 kB / 460.6 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.429, allocations: 0.7502 MB / 461.4 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.002685/0.4317, allocations: 2.514 MB / 463.9 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.4338, allocations: 1.227 MB / 465.1 MB, free: 16.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.4341, allocations: 337.8 kB / 465.4 MB, free: 16.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0513/0.4854, allocations: 31.82 MB / 497.3 MB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.4855, allocations: 57.12 kB / 497.3 MB, free: 12.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=207): time 3.997e-06/0.4855, allocations: 0 / 497.3 MB, free: 12.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=207): time 0.00521/0.4907, allocations: 2.725 MB / 0.4883 GB, free: 10.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.4907, allocations: 73.41 kB / 0.4884 GB, free: 9.953 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.4909, allocations: 294.5 kB / 0.4887 GB, free: 9.703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.491, allocations: 64.58 kB / 0.4887 GB, free: 9.664 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.4911, allocations: 180.7 kB / 0.4889 GB, free: 9.504 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.4915, allocations: 0.7635 MB / 0.4897 GB, free: 8.852 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003203/0.4918, allocations: 313.4 kB / 0.49 GB, free: 8.676 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.758e-05/0.4919, allocations: 335.2 kB / 0.4903 GB, free: 8.355 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/0.4922, allocations: 223.3 kB / 0.4905 GB, free: 8.141 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.4926, allocations: 490.8 kB / 0.491 GB, free: 7.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.4935, allocations: 0.7874 MB / 0.4917 GB, free: 6.918 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.4935, allocations: 0 / 0.4917 GB, free: 6.918 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.001442/0.4949, allocations: 1.138 MB / 0.4928 GB, free: 5.883 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4949, allocations: 4 kB / 0.4928 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4949, allocations: 4 kB / 0.4928 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005036/0.5, allocations: 1.958 MB / 0.4948 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/0.5007, allocations: 320.3 kB / 0.4951 GB, free: 3.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.5027, allocations: 1.806 MB / 0.4968 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004813/0.5031, allocations: 137.9 kB / 0.497 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.952e-05/0.5032, allocations: 49.03 kB / 0.497 GB, free: 1.957 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.0002518/0.5035, allocations: 201.9 kB / 0.4972 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.5037, allocations: 139.1 kB / 0.4973 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004238/0.5079, allocations: 4.998 MB / 0.5022 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.978e-05/0.508, allocations: 111.5 kB / 0.5023 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.508, allocations: 4 kB / 0.5023 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.508, allocations: 15.94 kB / 0.5023 GB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/0.5126, allocations: 5.114 MB / 0.5073 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.5126, allocations: 0 / 0.5073 GB, free: 8.676 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/0.5145, allocations: 0.74 MB / 0.5081 GB, free: 7.965 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.5149, allocations: 0.51 MB / 0.5086 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001965/0.5169, allocations: 1.514 MB / 0.51 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.517, allocations: 73.44 kB / 0.5101 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006322/0.5233, allocations: 16.44 MB / 0.5262 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5233, allocations: 0 / 0.5262 GB, free: 4.875 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/0.5274, allocations: 4.193 MB / 0.5303 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.5275, allocations: 69.56 kB / 0.5303 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.5279, allocations: 65.86 kB / 0.5304 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.5282, allocations: 184.8 kB / 0.5306 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/0.5283, allocations: 64.95 kB / 0.5306 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.5284, allocations: 168.8 kB / 0.5308 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5284, allocations: 0 / 0.5308 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002259/0.5306, allocations: 1.284 MB / 0.532 GB, free: 15.3 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.002317/0.5329, allocations: 1.262 MB / 0.5333 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003006/0.536, allocations: 2.013 MB / 0.5352 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.061e-05/0.536, allocations: 23.92 kB / 0.5353 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001955/0.5379, allocations: 2.5 MB / 0.5377 GB, free: 9.707 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.5399, allocations: 2.066 MB / 0.5397 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.5519, allocations: 4.819 MB / 0.5444 GB, free: 3.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.5522, allocations: 0.5471 MB / 0.545 GB, free: 2.617 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004915/0.5527, allocations: 213.5 kB / 0.5452 GB, free: 2.406 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009759/0.5537, allocations: 0.4992 MB / 0.5456 GB, free: 1.922 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5537, allocations: 0 / 0.5456 GB, free: 1.922 MB / 490.7 MB Notification: Performance of Templates: time 0.2143/0.768, allocations: 80.39 MB / 0.6242 GB, free: 144 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: 5.52874515671283]