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.001096/0.001096, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009563/0.0009563, allocations: 165 kB / 24.56 MB, free: 16 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 0.9279/0.9279, allocations: 158.6 MB / 186.4 MB, free: 2.551 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.1895/0.1895, allocations: 36.33 MB / 275.1 MB, free: 10.63 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.824e-06/1.824e-06, allocations: 0 / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.339e-05, allocations: 2.312 kB / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3054/0.3054, allocations: 149.5 MB / 0.4915 GB, free: 2.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008362/0.3138, allocations: 9.798 MB / 0.501 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/0.3141, allocations: 7.938 kB / 0.5011 GB, free: 11.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.3144, allocations: 111.1 kB / 0.5012 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004083/0.3185, allocations: 2.11 MB / 0.5032 GB, free: 9.312 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00606/0.3246, allocations: 2.602 MB / 0.5058 GB, free: 6.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.3262, allocations: 2.05 MB / 0.5078 GB, free: 4.648 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005326/0.3267, allocations: 0.5512 MB / 0.5083 GB, free: 4.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007124/0.3275, allocations: 0.815 MB / 0.5091 GB, free: 3.285 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/0.3296, allocations: 1.454 MB / 0.5105 GB, free: 1.82 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.3298, allocations: 107.9 kB / 0.5106 GB, free: 1.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008364/0.3382, allocations: 5.705 MB / 0.5162 GB, free: 12 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.3386, allocations: 0.5925 MB / 0.5168 GB, free: 11.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.3391, allocations: 0.4952 MB / 0.5173 GB, free: 10.91 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008054/0.3472, allocations: 5.141 MB / 0.5223 GB, free: 5.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3472, allocations: 0 / 0.5223 GB, free: 5.762 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3472, allocations: 8 kB / 0.5223 GB, free: 5.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.261e-05/0.3472, allocations: 0 / 0.5223 GB, free: 5.754 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.003882/0.3511, allocations: 1.889 MB / 0.5241 GB, free: 3.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.3512, allocations: 12.03 kB / 0.5241 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.3528, allocations: 478.5 kB / 0.5246 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.3536, allocations: 0.5736 MB / 0.5252 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.3536, allocations: 70.38 kB / 0.5252 GB, free: 2.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.3538, allocations: 92.38 kB / 0.5253 GB, free: 2.578 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.3558, allocations: 1.239 MB / 0.5265 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.3559, allocations: 4.375 kB / 0.5265 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.3559, allocations: 43.88 kB / 0.5266 GB, free: 1.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.356, allocations: 24 kB / 0.5266 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.3576, allocations: 0.9168 MB / 0.5275 GB, free: 288 kB / 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.004044/0.3616, allocations: 4.228 MB / 0.5316 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3635, allocations: 1.105 MB / 0.5327 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.364, allocations: 432.3 kB / 0.5331 GB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/0.3841, allocations: 11.32 MB / 0.5442 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.3842, allocations: 59.39 kB / 0.5442 GB, free: 15.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 3.617e-06/0.3842, allocations: 0 / 0.5442 GB, free: 15.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.03735/0.4215, allocations: 14.2 MB / 0.5581 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4216, allocations: 73.41 kB / 0.5582 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.4219, allocations: 426.5 kB / 0.5586 GB, free: 272 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-05/0.422, allocations: 53.69 kB / 0.5586 GB, free: 212 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.4222, allocations: 337.2 kB / 0.5589 GB, free: 15.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004686/0.4227, allocations: 0.6467 MB / 0.5596 GB, free: 15.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/0.423, allocations: 301.2 kB / 0.5599 GB, free: 14.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4232, allocations: 0.4965 MB / 0.5603 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.4237, allocations: 295.8 kB / 0.5606 GB, free: 14.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.4243, allocations: 0.5662 MB / 0.5612 GB, free: 13.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.4256, allocations: 0.982 MB / 0.5621 GB, free: 12.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.4256, allocations: 0 / 0.5621 GB, free: 12.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002428/0.428, allocations: 1.594 MB / 0.5637 GB, free: 10.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.4281, allocations: 8 kB / 0.5637 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.4281, allocations: 15.17 kB / 0.5637 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005063/0.4332, allocations: 1.911 MB / 0.5656 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.4336, allocations: 147.8 kB / 0.5657 GB, free: 8.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.4364, allocations: 2.388 MB / 0.568 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/0.4369, allocations: 131 kB / 0.5682 GB, free: 6.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.437, allocations: 67.97 kB / 0.5682 GB, free: 6.113 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.000306/0.4373, allocations: 236.4 kB / 0.5685 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.4375, allocations: 151.4 kB / 0.5686 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/0.4437, allocations: 6.09 MB / 0.5746 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-05/0.4438, allocations: 115.8 kB / 0.5747 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4438, allocations: 4 kB / 0.5747 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.4438, allocations: 11.95 kB / 0.5747 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/0.4504, allocations: 6.221 MB / 0.5808 GB, free: 9.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.4504, allocations: 3.938 kB / 0.5808 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.4507, allocations: 95.88 kB / 0.5809 GB, free: 8.969 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007327/0.4581, allocations: 4.472 MB / 0.5852 GB, free: 4.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.4582, allocations: 55.97 kB / 0.5853 GB, free: 4.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005527/0.4637, allocations: 5.148 MB / 0.5903 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4637, allocations: 0 / 0.5903 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.4684, allocations: 4.809 MB / 0.595 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009543/0.4694, allocations: 0.5279 MB / 0.5955 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.4695, allocations: 59.88 kB / 0.5956 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/0.47, allocations: 75.84 kB / 0.5956 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.4702, allocations: 137.7 kB / 0.5958 GB, free: 9.402 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/0.4703, allocations: 75.97 kB / 0.5958 GB, free: 9.328 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.4705, allocations: 342.8 kB / 0.5962 GB, free: 8.992 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4705, allocations: 0 / 0.5962 GB, free: 8.992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002793/0.4733, allocations: 1.209 MB / 0.5974 GB, free: 7.781 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.003244/0.4766, allocations: 1.134 MB / 0.5985 GB, free: 6.637 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003651/0.4802, allocations: 2.057 MB / 0.6005 GB, free: 4.543 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4802, allocations: 0 / 0.6005 GB, free: 4.543 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002251/0.4825, allocations: 1.68 MB / 0.6021 GB, free: 2.832 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.4844, allocations: 0.6993 MB / 0.6028 GB, free: 2.129 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1818/0.6661, allocations: 4.324 MB / 0.607 GB, free: 98.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.6667, allocations: 0.5096 MB / 0.6075 GB, free: 97.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006313/0.6673, allocations: 198 kB / 0.6077 GB, free: 97.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.6675, allocations: 59.64 kB / 0.6078 GB, free: 97.88 MB / 474.7 MB Notification: Performance of SimCode: time 2.585e-06/0.6675, allocations: 0 / 0.6078 GB, free: 97.88 MB / 474.7 MB Notification: Performance of Templates: time 0.05713/0.7246, allocations: 68.07 MB / 0.6742 GB, free: 55.05 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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.213065262883902]