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.0009584/0.0009584, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001046/0.001046, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 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 0.8687/0.8687, allocations: 158.6 MB / 187.5 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.171/0.171, allocations: 36.34 MB / 276.2 MB, free: 14.37 MB / 266.7 MB " [Timeout remaining time 180] 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.623e-06/1.623e-06, allocations: 0 / 355.1 MB, free: 62.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.308e-05, allocations: 3.438 kB / 355.1 MB, free: 62.58 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1156/0.1156, allocations: 146.6 MB / 0.4899 GB, free: 3.723 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008237/0.1239, allocations: 9.644 MB / 0.4993 GB, free: 10.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002491/0.1241, allocations: 11.88 kB / 0.4994 GB, free: 10.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.1245, allocations: 111.2 kB / 0.4995 GB, free: 9.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005178/0.1296, allocations: 2.106 MB / 0.5015 GB, free: 7.816 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004442/0.1341, allocations: 2.604 MB / 0.5041 GB, free: 5.203 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1354, allocations: 2.035 MB / 0.5061 GB, free: 3.164 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.1358, allocations: 0.559 MB / 0.5066 GB, free: 2.609 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.1365, allocations: 0.8112 MB / 0.5074 GB, free: 1.797 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.1382, allocations: 1.457 MB / 0.5088 GB, free: 336 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1383, allocations: 100 kB / 0.5089 GB, free: 236 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1855/0.3239, allocations: 5.697 MB / 0.5145 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004323/0.3243, allocations: 0.6069 MB / 0.5151 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005231/0.3248, allocations: 0.4899 MB / 0.5155 GB, free: 9.227 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.3307, allocations: 5.143 MB / 0.5206 GB, free: 9.121 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3307, allocations: 0 / 0.5206 GB, free: 9.121 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3307, allocations: 0.9375 kB / 0.5206 GB, free: 9.121 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.3307, allocations: 1.031 kB / 0.5206 GB, free: 9.121 MB / 426.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.002841/0.3335, allocations: 1.822 MB / 0.5223 GB, free: 8.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3336, allocations: 9.219 kB / 0.5224 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/0.335, allocations: 474.2 kB / 0.5228 GB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.3355, allocations: 0.5418 MB / 0.5233 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.3355, allocations: 71.31 kB / 0.5234 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.3356, allocations: 91.62 kB / 0.5235 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.3372, allocations: 1.161 MB / 0.5246 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3372, allocations: 2.062 kB / 0.5246 GB, free: 7.668 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.36e-05/0.3373, allocations: 43.78 kB / 0.5247 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.3373, allocations: 24.94 kB / 0.5247 GB, free: 7.664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.3387, allocations: 0.7907 MB / 0.5255 GB, free: 7.652 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.003334/0.342, allocations: 4.049 MB / 0.5294 GB, free: 21.47 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.3436, allocations: 0.9968 MB / 0.5304 GB, free: 21.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.344, allocations: 361.1 kB / 0.5307 GB, free: 21.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01808/0.3621, allocations: 9.776 MB / 0.5403 GB, free: 21.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.3621, allocations: 55.89 kB / 0.5403 GB, free: 21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=180): time 3.477e-06/0.3621, allocations: 0 / 0.5403 GB, free: 21 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.03474/0.3969, allocations: 13.6 MB / 0.5536 GB, free: 17.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.3969, allocations: 71.66 kB / 0.5537 GB, free: 17.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.3972, allocations: 419.4 kB / 0.5541 GB, free: 17.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.3972, allocations: 56.22 kB / 0.5541 GB, free: 17.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.3974, allocations: 328.2 kB / 0.5545 GB, free: 17.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.3976, allocations: 0.6546 MB / 0.5551 GB, free: 16.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.3979, allocations: 308.4 kB / 0.5554 GB, free: 16.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.398, allocations: 0.5021 MB / 0.5559 GB, free: 16.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.3983, allocations: 224.9 kB / 0.5561 GB, free: 16.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.3987, allocations: 0.5079 MB / 0.5566 GB, free: 15.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/0.3995, allocations: 0.8525 MB / 0.5574 GB, free: 15.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3995, allocations: 0 / 0.5574 GB, free: 15.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001702/0.4012, allocations: 1.395 MB / 0.5588 GB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.4012, allocations: 12.41 kB / 0.5588 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4012, allocations: 7.625 kB / 0.5588 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004606/0.4058, allocations: 1.75 MB / 0.5605 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.4061, allocations: 143.5 kB / 0.5606 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.4083, allocations: 2.223 MB / 0.5628 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004423/0.4087, allocations: 119.2 kB / 0.5629 GB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.4088, allocations: 56.75 kB / 0.563 GB, free: 13.26 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.0002584/0.4091, allocations: 235.4 kB / 0.5632 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.4093, allocations: 163.8 kB / 0.5634 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005024/0.4143, allocations: 5.448 MB / 0.5687 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.507e-05/0.4144, allocations: 116 kB / 0.5688 GB, free: 9.391 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4144, allocations: 7.984 kB / 0.5688 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.4144, allocations: 11.95 kB / 0.5688 GB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.4192, allocations: 5.541 MB / 0.5742 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.4192, allocations: 7.984 kB / 0.5742 GB, free: 4.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.4195, allocations: 93.61 kB / 0.5743 GB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006142/0.4256, allocations: 4.181 MB / 0.5784 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.033e-05/0.4257, allocations: 54.91 kB / 0.5785 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003917/0.4296, allocations: 4.574 MB / 0.5829 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4296, allocations: 1.203 kB / 0.5829 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003821/0.4334, allocations: 4.208 MB / 0.587 GB, free: 8.711 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.434, allocations: 0.4954 MB / 0.5875 GB, free: 8.293 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.4342, allocations: 50.89 kB / 0.5876 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.4346, allocations: 69.47 kB / 0.5876 GB, free: 8.242 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.4347, allocations: 139.3 kB / 0.5878 GB, free: 8.117 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.4348, allocations: 57.22 kB / 0.5878 GB, free: 8.078 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.435, allocations: 326.6 kB / 0.5881 GB, free: 7.793 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.435, allocations: 0 / 0.5881 GB, free: 7.793 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003825/0.4388, allocations: 1.207 MB / 0.5893 GB, free: 6.672 MB / 458.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.002495/0.4413, allocations: 1.159 MB / 0.5904 GB, free: 5.648 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.444, allocations: 1.755 MB / 0.5922 GB, free: 3.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.444, allocations: 1.203 kB / 0.5922 GB, free: 3.941 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.4458, allocations: 1.501 MB / 0.5936 GB, free: 2.566 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.4474, allocations: 0.6981 MB / 0.5943 GB, free: 1.984 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.4514, allocations: 4.243 MB / 0.5985 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.4518, allocations: 0.5097 MB / 0.5989 GB, free: 13.63 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.4521, allocations: 125.7 kB / 0.5991 GB, free: 13.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.4528, allocations: 426.9 kB / 0.5995 GB, free: 13.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4528, allocations: 1.203 kB / 0.5995 GB, free: 13.11 MB / 474.7 MB Notification: Performance of Templates: time 0.07319/0.526, allocations: 78.49 MB / 0.6761 GB, free: 15.33 MB / 0.5417 GB " [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: 6.3975164368748665]