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.001021/0.001021, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001797/0.001797, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9786/0.9786, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.08856/0.08856, allocations: 19.74 MB / 281.5 MB, free: 9.086 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.803e-06/1.803e-06, allocations: 0 / 358.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.701e-05, allocations: 10.25 kB / 358.4 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3065/0.3066, allocations: 149.5 MB / 0.4961 GB, free: 8.148 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00849/0.315, allocations: 9.656 MB / 0.5055 GB, free: 14.5 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002953/0.3153, allocations: 11.88 kB / 0.5055 GB, free: 14.49 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.3157, allocations: 103.2 kB / 0.5056 GB, free: 14.39 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.3196, allocations: 2.117 MB / 0.5077 GB, free: 12.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005901/0.3255, allocations: 2.606 MB / 0.5102 GB, free: 9.652 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001824/0.3273, allocations: 2.044 MB / 0.5122 GB, free: 7.605 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.3284, allocations: 0.5512 MB / 0.5127 GB, free: 7.051 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.3294, allocations: 0.8151 MB / 0.5135 GB, free: 6.234 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.3319, allocations: 1.457 MB / 0.515 GB, free: 4.766 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.3321, allocations: 100 kB / 0.5151 GB, free: 4.668 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008455/0.3405, allocations: 5.716 MB / 0.5206 GB, free: 14.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006575/0.3412, allocations: 0.5964 MB / 0.5212 GB, free: 14.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009034/0.3421, allocations: 0.4952 MB / 0.5217 GB, free: 13.85 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008402/0.3505, allocations: 5.164 MB / 0.5267 GB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3505, allocations: 0 / 0.5267 GB, free: 8.676 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3505, allocations: 0 / 0.5267 GB, free: 8.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.45e-05/0.3505, allocations: 0 / 0.5267 GB, free: 8.676 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.003293/0.3538, allocations: 1.818 MB / 0.5285 GB, free: 6.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.3539, allocations: 12.03 kB / 0.5285 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.3556, allocations: 478.4 kB / 0.529 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.3562, allocations: 0.5306 MB / 0.5295 GB, free: 5.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.3563, allocations: 74.38 kB / 0.5296 GB, free: 5.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-05/0.3564, allocations: 88.38 kB / 0.5297 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.3579, allocations: 1.163 MB / 0.5308 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.3579, allocations: 4.375 kB / 0.5308 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.358, allocations: 43.94 kB / 0.5308 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.358, allocations: 24 kB / 0.5309 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.3592, allocations: 0.7898 MB / 0.5316 GB, free: 3.516 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.00395/0.3631, allocations: 4.045 MB / 0.5356 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.3646, allocations: 1.005 MB / 0.5366 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.3649, allocations: 359.8 kB / 0.5369 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01737/0.3823, allocations: 10.33 MB / 0.547 GB, free: 3.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.3823, allocations: 59.39 kB / 0.5471 GB, free: 3.621 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 2.895e-06/0.3823, allocations: 0 / 0.5471 GB, free: 3.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.03318/0.4155, allocations: 13.6 MB / 0.5603 GB, free: 5.988 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.4156, allocations: 73.41 kB / 0.5604 GB, free: 5.906 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.4158, allocations: 414.4 kB / 0.5608 GB, free: 5.484 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.4159, allocations: 53.7 kB / 0.5608 GB, free: 5.426 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4161, allocations: 333 kB / 0.5612 GB, free: 5.094 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003746/0.4164, allocations: 0.6467 MB / 0.5618 GB, free: 4.441 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.4167, allocations: 313.1 kB / 0.5621 GB, free: 4.125 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4169, allocations: 0.5158 MB / 0.5626 GB, free: 3.602 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.4172, allocations: 219.8 kB / 0.5628 GB, free: 3.387 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.4176, allocations: 0.5075 MB / 0.5633 GB, free: 2.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.4187, allocations: 0.8491 MB / 0.5641 GB, free: 1.875 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.4188, allocations: 4 kB / 0.5641 GB, free: 1.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00178/0.4205, allocations: 1.407 MB / 0.5655 GB, free: 464 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4206, allocations: 8 kB / 0.5655 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.4206, allocations: 4 kB / 0.5655 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2021/0.6227, allocations: 1.741 MB / 0.5672 GB, free: 60.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.6232, allocations: 142.9 kB / 0.5674 GB, free: 60.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.6261, allocations: 2.217 MB / 0.5695 GB, free: 59.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.6266, allocations: 126.9 kB / 0.5696 GB, free: 59.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.6267, allocations: 59.39 kB / 0.5697 GB, free: 59.59 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.0002979/0.627, allocations: 232.8 kB / 0.5699 GB, free: 59.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.6272, allocations: 158.3 kB / 0.5701 GB, free: 59.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00604/0.6333, allocations: 5.469 MB / 0.5754 GB, free: 58.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/0.6334, allocations: 115.1 kB / 0.5755 GB, free: 58.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.6334, allocations: 1.062 kB / 0.5755 GB, free: 58.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.6334, allocations: 13.73 kB / 0.5755 GB, free: 58.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/0.6381, allocations: 5.545 MB / 0.581 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.6381, allocations: 1.031 kB / 0.581 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.6384, allocations: 93.33 kB / 0.581 GB, free: 57.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00592/0.6443, allocations: 4.186 MB / 0.5851 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.877e-05/0.6444, allocations: 50.64 kB / 0.5852 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.6482, allocations: 4.577 MB / 0.5896 GB, free: 56.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6482, allocations: 0 / 0.5896 GB, free: 56.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.652, allocations: 4.203 MB / 0.5938 GB, free: 55.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.6525, allocations: 0.4944 MB / 0.5942 GB, free: 55.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.6526, allocations: 56.72 kB / 0.5943 GB, free: 55.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.653, allocations: 72.86 kB / 0.5944 GB, free: 55.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.6531, allocations: 138.1 kB / 0.5945 GB, free: 55.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.6532, allocations: 58.88 kB / 0.5945 GB, free: 55.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001601/0.6533, allocations: 323.5 kB / 0.5949 GB, free: 55.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6533, allocations: 0 / 0.5949 GB, free: 55.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002319/0.6557, allocations: 1.21 MB / 0.596 GB, free: 55.11 MB / 442.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.002719/0.6584, allocations: 1.175 MB / 0.5972 GB, free: 54.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.661, allocations: 1.747 MB / 0.5989 GB, free: 54.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.661, allocations: 0 / 0.5989 GB, free: 54.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.6626, allocations: 1.5 MB / 0.6004 GB, free: 52.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.6643, allocations: 0.7126 MB / 0.6011 GB, free: 52.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.6681, allocations: 4.23 MB / 0.6052 GB, free: 49.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.6684, allocations: 0.5098 MB / 0.6057 GB, free: 48.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.6688, allocations: 138.6 kB / 0.6058 GB, free: 48.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/0.6695, allocations: 416.6 kB / 0.6062 GB, free: 48.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6695, allocations: 0 / 0.6062 GB, free: 48.39 MB / 442.7 MB Notification: Performance of Templates: time 0.08208/0.7516, allocations: 77.71 MB / 0.6821 GB, free: 7.766 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.669707347173244]