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.0009034/0.0009034, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009338/0.0009338, 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.8116/0.8116, allocations: 158.6 MB / 186.4 MB, free: 2.547 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.1749/0.1749, allocations: 36.35 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.603e-06/1.603e-06, allocations: 0 / 353.8 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.668e-05, allocations: 2.312 kB / 353.8 MB, free: 3.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2892/0.2892, allocations: 149.5 MB / 0.4915 GB, free: 2.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.2959, allocations: 9.803 MB / 0.5011 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.2961, allocations: 7.938 kB / 0.5011 GB, free: 11.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.2964, allocations: 115.1 kB / 0.5012 GB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.2997, allocations: 2.097 MB / 0.5032 GB, free: 9.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.3036, allocations: 2.606 MB / 0.5058 GB, free: 6.727 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.3049, allocations: 2.05 MB / 0.5078 GB, free: 4.672 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.3052, allocations: 0.5512 MB / 0.5083 GB, free: 4.125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005544/0.3058, allocations: 0.8151 MB / 0.5091 GB, free: 3.309 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.3075, allocations: 1.465 MB / 0.5105 GB, free: 1.832 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.3076, allocations: 100 kB / 0.5106 GB, free: 1.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006635/0.3142, allocations: 5.693 MB / 0.5162 GB, free: 12.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.3146, allocations: 0.6081 MB / 0.5168 GB, free: 11.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.3149, allocations: 0.4913 MB / 0.5173 GB, free: 10.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.3196, allocations: 5.148 MB / 0.5223 GB, free: 5.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3196, allocations: 0 / 0.5223 GB, free: 5.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3196, allocations: 0 / 0.5223 GB, free: 5.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3196, allocations: 0 / 0.5223 GB, free: 5.773 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.002447/0.3221, allocations: 1.889 MB / 0.5241 GB, free: 3.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3221, allocations: 12.03 kB / 0.5241 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.3235, allocations: 478.5 kB / 0.5246 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005618/0.3241, allocations: 0.5735 MB / 0.5252 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.3241, allocations: 74.38 kB / 0.5252 GB, free: 2.684 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.3242, allocations: 88.38 kB / 0.5253 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.3258, allocations: 1.233 MB / 0.5265 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3258, allocations: 384 / 0.5265 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.3259, allocations: 47.94 kB / 0.5266 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.3259, allocations: 27.94 kB / 0.5266 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.3273, allocations: 0.9168 MB / 0.5275 GB, free: 308 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.003588/0.3309, allocations: 4.22 MB / 0.5316 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.3326, allocations: 1.101 MB / 0.5327 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.3333, allocations: 440.3 kB / 0.5331 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02459/0.3579, allocations: 11.33 MB / 0.5442 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.3579, allocations: 55.39 kB / 0.5442 GB, free: 15.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 3.927e-06/0.3579, allocations: 0 / 0.5442 GB, free: 15.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=180): time 0.04653/0.4044, allocations: 14.2 MB / 0.5581 GB, free: 0.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.4045, allocations: 73.41 kB / 0.5582 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.4048, allocations: 422.5 kB / 0.5586 GB, free: 292 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.405, allocations: 53.7 kB / 0.5586 GB, free: 232 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.4051, allocations: 333.2 kB / 0.5589 GB, free: 15.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.4054, allocations: 0.6468 MB / 0.5596 GB, free: 15.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.4057, allocations: 301.2 kB / 0.5599 GB, free: 14.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4058, allocations: 0.5041 MB / 0.5603 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.4063, allocations: 291.8 kB / 0.5606 GB, free: 14.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.4068, allocations: 0.5662 MB / 0.5612 GB, free: 13.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.4079, allocations: 0.9859 MB / 0.5621 GB, free: 12.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.4079, allocations: 4 kB / 0.5621 GB, free: 12.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002192/0.4101, allocations: 1.59 MB / 0.5637 GB, free: 10.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4102, allocations: 8 kB / 0.5637 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4102, allocations: 7.562 kB / 0.5637 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005241/0.4154, allocations: 1.915 MB / 0.5656 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.4158, allocations: 143.8 kB / 0.5657 GB, free: 8.758 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.4184, allocations: 2.392 MB / 0.5681 GB, free: 6.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.4188, allocations: 127.1 kB / 0.5682 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.4189, allocations: 71.97 kB / 0.5682 GB, free: 6.137 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.0002484/0.4192, allocations: 236.4 kB / 0.5685 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.4194, allocations: 159.4 kB / 0.5686 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00567/0.425, allocations: 6.085 MB / 0.5746 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.024e-05/0.4251, allocations: 107.8 kB / 0.5747 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4251, allocations: 0 / 0.5747 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.4251, allocations: 11.95 kB / 0.5747 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005504/0.4306, allocations: 6.225 MB / 0.5808 GB, free: 9.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.4306, allocations: 3.938 kB / 0.5808 GB, free: 9.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.4309, allocations: 103.9 kB / 0.5809 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006023/0.4369, allocations: 4.472 MB / 0.5852 GB, free: 4.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.8e-05/0.437, allocations: 51.98 kB / 0.5853 GB, free: 4.398 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004673/0.4417, allocations: 5.145 MB / 0.5903 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.4417, allocations: 0 / 0.5903 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/0.4461, allocations: 4.821 MB / 0.595 GB, free: 10.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.4466, allocations: 0.5202 MB / 0.5955 GB, free: 9.691 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4467, allocations: 55.83 kB / 0.5956 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.4471, allocations: 75.89 kB / 0.5956 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001706/0.4473, allocations: 145.7 kB / 0.5958 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/0.4473, allocations: 67.98 kB / 0.5958 GB, free: 9.355 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002313/0.4476, allocations: 342.8 kB / 0.5962 GB, free: 9.02 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4476, allocations: 0 / 0.5962 GB, free: 9.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002049/0.4496, allocations: 1.205 MB / 0.5973 GB, free: 7.812 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.002297/0.4519, allocations: 1.145 MB / 0.5985 GB, free: 6.656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002854/0.4548, allocations: 2.057 MB / 0.6005 GB, free: 4.562 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4548, allocations: 0 / 0.6005 GB, free: 4.562 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002178/0.457, allocations: 1.676 MB / 0.6021 GB, free: 2.855 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.4586, allocations: 0.7109 MB / 0.6028 GB, free: 2.141 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1434/0.602, allocations: 4.321 MB / 0.607 GB, free: 97.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.6024, allocations: 0.5126 MB / 0.6075 GB, free: 97.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.6029, allocations: 193.3 kB / 0.6077 GB, free: 97.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.603, allocations: 58.55 kB / 0.6078 GB, free: 97.82 MB / 474.7 MB Notification: Performance of SimCode: time 8.92e-07/0.603, allocations: 2.688 kB / 0.6078 GB, free: 97.82 MB / 474.7 MB Notification: Performance of Templates: time 0.05834/0.6614, allocations: 79.68 MB / 0.6856 GB, free: 43.34 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.347004177980125]