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.0009226/0.0009226, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009625/0.0009625, allocations: 173.6 kB / 24.92 MB, free: 8.762 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.8836/0.8836, allocations: 158.6 MB / 186.8 MB, free: 2.336 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.1912/0.1912, allocations: 36.33 MB / 275.4 MB, free: 10.52 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.232e-06/1.232e-06, allocations: 3.938 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.81e-05, allocations: 2.859 kB / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.1399/0.14, allocations: 148.8 MB / 454 MB, free: 14.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01141/0.1514, allocations: 9.775 MB / 463.8 MB, free: 4.961 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.1517, allocations: 7.938 kB / 463.8 MB, free: 4.953 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.1522, allocations: 103.2 kB / 463.9 MB, free: 4.852 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.1589, allocations: 2.113 MB / 466 MB, free: 2.734 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00696/0.1659, allocations: 2.623 MB / 468.6 MB, free: 104 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1823/0.3481, allocations: 2.029 MB / 470.6 MB, free: 7.148 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008998/0.349, allocations: 0.5513 MB / 471.2 MB, free: 7.148 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.3503, allocations: 0.8122 MB / 472 MB, free: 7.148 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.3533, allocations: 1.44 MB / 473.4 MB, free: 6.934 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.3537, allocations: 100.6 kB / 473.5 MB, free: 6.934 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009883/0.3635, allocations: 5.707 MB / 479.2 MB, free: 6.934 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006688/0.3642, allocations: 0.5969 MB / 479.8 MB, free: 6.934 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009027/0.3651, allocations: 0.4933 MB / 480.3 MB, free: 6.934 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008405/0.3735, allocations: 5.147 MB / 485.5 MB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3735, allocations: 0 / 485.5 MB, free: 6.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3735, allocations: 1.203 kB / 485.5 MB, free: 6.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.183e-05/0.3736, allocations: 0.9375 kB / 485.5 MB, free: 6.82 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.003495/0.3771, allocations: 1.649 MB / 487.1 MB, free: 6.113 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.3771, allocations: 11.25 kB / 487.1 MB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3785, allocations: 0.5018 MB / 487.6 MB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005763/0.3791, allocations: 0.5066 MB / 488.2 MB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.3792, allocations: 74.02 kB / 488.2 MB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.3793, allocations: 88.22 kB / 488.3 MB, free: 5.801 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.3806, allocations: 1.126 MB / 489.4 MB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.3807, allocations: 6.594 kB / 489.4 MB, free: 5.613 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.3807, allocations: 43.34 kB / 489.5 MB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.3807, allocations: 26.83 kB / 489.5 MB, free: 5.609 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.3819, allocations: 0.7266 MB / 490.2 MB, free: 5.598 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.003166/0.385, allocations: 3.172 MB / 493.4 MB, free: 20.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.3863, allocations: 0.9786 MB / 494.4 MB, free: 20.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003363/0.3867, allocations: 321.5 kB / 494.7 MB, free: 20.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05584/0.4425, allocations: 31.76 MB / 0.5141 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.4426, allocations: 58.91 kB / 0.5142 GB, free: 10.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=180): time 3.507e-06/0.4426, allocations: 0 / 0.5142 GB, free: 10.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.03328/0.4759, allocations: 13.02 MB / 0.5269 GB, free: 14.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.4759, allocations: 73.34 kB / 0.527 GB, free: 14.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.4761, allocations: 345.3 kB / 0.5273 GB, free: 13.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.4762, allocations: 57.77 kB / 0.5274 GB, free: 13.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.4767, allocations: 244.4 kB / 0.5276 GB, free: 13.48 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/0.477, allocations: 0.6302 MB / 0.5282 GB, free: 12.94 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.4772, allocations: 269.5 kB / 0.5285 GB, free: 12.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.4773, allocations: 337.3 kB / 0.5288 GB, free: 12.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.4776, allocations: 175.9 kB / 0.529 GB, free: 12.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.4779, allocations: 404.9 kB / 0.5293 GB, free: 11.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/0.4786, allocations: 0.7416 MB / 0.5301 GB, free: 11.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.4786, allocations: 4 kB / 0.5301 GB, free: 11.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001402/0.4801, allocations: 1.08 MB / 0.5311 GB, free: 10.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4801, allocations: 8 kB / 0.5311 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4801, allocations: 7.938 kB / 0.5311 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004216/0.4843, allocations: 1.743 MB / 0.5328 GB, free: 8.555 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.4846, allocations: 138.2 kB / 0.533 GB, free: 8.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.4865, allocations: 1.755 MB / 0.5347 GB, free: 6.812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.487, allocations: 115.1 kB / 0.5348 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.823e-05/0.4871, allocations: 57.09 kB / 0.5348 GB, free: 6.684 MB / 458.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.0002867/0.4874, allocations: 192.7 kB / 0.535 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.4875, allocations: 124.3 kB / 0.5352 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.4923, allocations: 5.097 MB / 0.5401 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.759e-05/0.4924, allocations: 107.2 kB / 0.5402 GB, free: 1.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4924, allocations: 4 kB / 0.5402 GB, free: 1.914 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.4924, allocations: 14.23 kB / 0.5402 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004906/0.4973, allocations: 5.068 MB / 0.5452 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.4973, allocations: 3.938 kB / 0.5452 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.4976, allocations: 98.03 kB / 0.5453 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005973/0.5035, allocations: 4.041 MB / 0.5492 GB, free: 9.559 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.5036, allocations: 50.09 kB / 0.5493 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.5075, allocations: 3.872 MB / 0.5531 GB, free: 5.941 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5075, allocations: 5.188 kB / 0.5531 GB, free: 5.938 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/0.511, allocations: 3.708 MB / 0.5567 GB, free: 2.512 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.5115, allocations: 473 kB / 0.5571 GB, free: 2.117 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.5116, allocations: 58.28 kB / 0.5572 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.512, allocations: 62.39 kB / 0.5573 GB, free: 2.066 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5122, allocations: 138.7 kB / 0.5574 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.5123, allocations: 45.98 kB / 0.5574 GB, free: 1.914 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.5124, allocations: 190.9 kB / 0.5576 GB, free: 1.758 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5124, allocations: 4 kB / 0.5576 GB, free: 1.754 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002941/0.5154, allocations: 1.207 MB / 0.5588 GB, free: 0.6289 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.004078/0.5194, allocations: 1.21 MB / 0.56 GB, free: 15.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002495/0.5219, allocations: 1.641 MB / 0.5616 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.5219, allocations: 9.203 kB / 0.5616 GB, free: 13.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001663/0.5236, allocations: 1.371 MB / 0.5629 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.5254, allocations: 0.7021 MB / 0.5636 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.5309, allocations: 4.224 MB / 0.5677 GB, free: 8.266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.5313, allocations: 0.5132 MB / 0.5682 GB, free: 7.738 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004549/0.5318, allocations: 136.8 kB / 0.5684 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008016/0.5326, allocations: 354.1 kB / 0.5687 GB, free: 7.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/0.5326, allocations: 1.203 kB / 0.5687 GB, free: 7.27 MB / 490.7 MB Notification: Performance of Templates: time 0.09055/0.6231, allocations: 76.68 MB / 0.6436 GB, free: 11.27 MB / 0.5573 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: 5.793467075098306]