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.001934/0.001934, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002498/0.002498, allocations: 165.7 kB / 24.27 MB, free: 172 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.412/1.412, allocations: 158.6 MB / 186.1 MB, free: 2.887 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.3068/0.3068, allocations: 36.34 MB / 274.7 MB, free: 10.71 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.322e-06/1.322e-06, allocations: 0 / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.442e-05, allocations: 5.688 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3315/0.3315, allocations: 139.2 MB / 492.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009341/0.3408, allocations: 8.832 MB / 0.4894 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.3412, allocations: 12.75 kB / 0.4894 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.3416, allocations: 98.25 kB / 0.4895 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006115/0.3477, allocations: 2.12 MB / 0.4915 GB, free: 15.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009002/0.3567, allocations: 2.604 MB / 0.4941 GB, free: 13.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002492/0.3592, allocations: 2.038 MB / 0.4961 GB, free: 12.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008225/0.36, allocations: 0.5552 MB / 0.4966 GB, free: 11.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.3612, allocations: 0.8112 MB / 0.4974 GB, free: 10.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.3645, allocations: 1.445 MB / 0.4988 GB, free: 9.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.3647, allocations: 104 kB / 0.4989 GB, free: 9.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.3772, allocations: 5.708 MB / 0.5045 GB, free: 3.715 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008683/0.378, allocations: 0.5925 MB / 0.5051 GB, free: 3.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008612/0.3789, allocations: 0.4913 MB / 0.5055 GB, free: 2.629 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.3914, allocations: 5.402 MB / 0.5108 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3914, allocations: 0 / 0.5108 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3914, allocations: 4 kB / 0.5108 GB, free: 13.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.3914, allocations: 0 / 0.5108 GB, free: 13.21 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.005563/0.397, allocations: 1.781 MB / 0.5126 GB, free: 11.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.397, allocations: 16.02 kB / 0.5126 GB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.3998, allocations: 482.5 kB / 0.513 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.4013, allocations: 0.5942 MB / 0.5136 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.302e-05/0.4014, allocations: 70.38 kB / 0.5137 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.4016, allocations: 92.38 kB / 0.5138 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003959/0.4056, allocations: 1.663 MB / 0.5154 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.4056, allocations: 384 / 0.5154 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.4057, allocations: 43.94 kB / 0.5154 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.4058, allocations: 24 kB / 0.5155 GB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003818/0.4096, allocations: 1.662 MB / 0.5171 GB, free: 6.684 MB / 394.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.008105/0.4177, allocations: 4.308 MB / 0.5213 GB, free: 2.285 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/0.4222, allocations: 1.976 MB / 0.5232 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/0.4238, allocations: 0.8616 MB / 0.5241 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04227/0.4661, allocations: 11.32 MB / 0.5351 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.87e-05/0.4661, allocations: 56.56 kB / 0.5352 GB, free: 4.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 4.258e-06/0.4661, allocations: 0 / 0.5352 GB, free: 4.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.07621/0.5424, allocations: 15.78 MB / 0.5506 GB, free: 4.242 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.5424, allocations: 69.41 kB / 0.5506 GB, free: 4.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.543, allocations: 389.5 kB / 0.551 GB, free: 3.773 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.5431, allocations: 57.7 kB / 0.5511 GB, free: 3.711 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.5434, allocations: 282.3 kB / 0.5513 GB, free: 3.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007251/0.5441, allocations: 0.6351 MB / 0.552 GB, free: 2.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.5446, allocations: 291.5 kB / 0.5522 GB, free: 2.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.5449, allocations: 337.9 kB / 0.5526 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.5463, allocations: 0.7416 MB / 0.5533 GB, free: 1.422 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.5479, allocations: 0.9509 MB / 0.5542 GB, free: 420 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003572/0.5515, allocations: 1.874 MB / 0.556 GB, free: 14.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.5515, allocations: 0 / 0.556 GB, free: 14.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005946/0.5574, allocations: 2.808 MB / 0.5588 GB, free: 11.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.5575, allocations: 11.98 kB / 0.5588 GB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.5575, allocations: 4 kB / 0.5588 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/0.5693, allocations: 2.344 MB / 0.5611 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007747/0.5701, allocations: 151.7 kB / 0.5612 GB, free: 9.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007357/0.5774, allocations: 3.709 MB / 0.5649 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.5784, allocations: 135 kB / 0.565 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.5786, allocations: 75.97 kB / 0.5651 GB, free: 5.207 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.0006029/0.5792, allocations: 321.6 kB / 0.5654 GB, free: 4.883 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.5796, allocations: 159.4 kB / 0.5655 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/0.5948, allocations: 9.78 MB / 0.5751 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001341/0.5949, allocations: 115.8 kB / 0.5752 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5949, allocations: 0 / 0.5752 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/0.5949, allocations: 11.95 kB / 0.5752 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.6113, allocations: 10.81 MB / 0.5857 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.6113, allocations: 0 / 0.5857 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005618/0.6119, allocations: 107.8 kB / 0.5858 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01562/0.6275, allocations: 6.027 MB / 0.5917 GB, free: 9.605 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003522/0.6279, allocations: 59.97 kB / 0.5918 GB, free: 9.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1544/0.7823, allocations: 10.05 MB / 0.6016 GB, free: 197.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.7823, allocations: 0 / 0.6016 GB, free: 197.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.7932, allocations: 8.434 MB / 0.6098 GB, free: 194.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009328/0.7941, allocations: 0.5374 MB / 0.6104 GB, free: 194.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/0.7943, allocations: 60.42 kB / 0.6104 GB, free: 194.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.7951, allocations: 75.5 kB / 0.6105 GB, free: 194.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.7954, allocations: 147 kB / 0.6106 GB, free: 194.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/0.7955, allocations: 71.52 kB / 0.6107 GB, free: 194.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003842/0.7959, allocations: 370.9 kB / 0.6111 GB, free: 193.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7959, allocations: 0 / 0.6111 GB, free: 193.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002802/0.7987, allocations: 1.209 MB / 0.6122 GB, free: 193.9 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.003619/0.8023, allocations: 1.133 MB / 0.6133 GB, free: 193.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006051/0.8084, allocations: 3.418 MB / 0.6167 GB, free: 192.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8084, allocations: 0 / 0.6167 GB, free: 192.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003733/0.8121, allocations: 2.362 MB / 0.619 GB, free: 189.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002926/0.8151, allocations: 0.7209 MB / 0.6197 GB, free: 189.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/0.8209, allocations: 5.381 MB / 0.625 GB, free: 183.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.8215, allocations: 1.007 MB / 0.6259 GB, free: 182.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006152/0.8221, allocations: 223.1 kB / 0.6261 GB, free: 182.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.8223, allocations: 60.48 kB / 0.6262 GB, free: 182.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.042e-06/0.8223, allocations: 0 / 0.6262 GB, free: 182.6 MB / 474.7 MB Notification: Performance of Templates: time 0.06914/0.8914, allocations: 67.55 MB / 0.6922 GB, free: 115 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.788956571021117]