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.0007924/0.0007924, 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.0008855/0.0008855, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.896/0.896, allocations: 177.1 MB / 206 MB, free: 4.5 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.1007/0.1007, allocations: 19.73 MB / 282.3 MB, free: 12.25 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.273e-06/1.273e-06, allocations: 0 / 359.2 MB, free: 44.15 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.536e-05, allocations: 3.078 kB / 359.2 MB, free: 44.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.33/0.3301, allocations: 149.5 MB / 0.4968 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007589/0.3377, allocations: 9.656 MB / 0.5062 GB, free: 11.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003384/0.338, allocations: 9.031 kB / 0.5062 GB, free: 11.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.3383, allocations: 105.1 kB / 0.5063 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.3425, allocations: 2.121 MB / 0.5084 GB, free: 11.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005717/0.3482, allocations: 2.605 MB / 0.511 GB, free: 11.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.3496, allocations: 2.041 MB / 0.5129 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006372/0.3502, allocations: 0.5468 MB / 0.5135 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007455/0.351, allocations: 0.819 MB / 0.5143 GB, free: 11.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.3532, allocations: 1.465 MB / 0.5157 GB, free: 10.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002762/0.3535, allocations: 101.2 kB / 0.5158 GB, free: 10.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/0.3637, allocations: 5.718 MB / 0.5214 GB, free: 10.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004696/0.3642, allocations: 0.6018 MB / 0.522 GB, free: 10.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007076/0.3649, allocations: 0.4887 MB / 0.5225 GB, free: 10.65 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008241/0.3731, allocations: 5.159 MB / 0.5275 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3731, allocations: 0 / 0.5275 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3731, allocations: 0 / 0.5275 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.751e-05/0.3732, allocations: 0 / 0.5275 GB, free: 10.43 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.004099/0.3773, allocations: 1.823 MB / 0.5293 GB, free: 9.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.3773, allocations: 10.12 kB / 0.5293 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.379, allocations: 477.8 kB / 0.5297 GB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.3796, allocations: 0.5308 MB / 0.5303 GB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.104e-05/0.3796, allocations: 72.52 kB / 0.5303 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.3798, allocations: 88.78 kB / 0.5304 GB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.3814, allocations: 1.165 MB / 0.5316 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.3814, allocations: 3.469 kB / 0.5316 GB, free: 8.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.3815, allocations: 43.72 kB / 0.5316 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.3815, allocations: 25.69 kB / 0.5316 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3827, allocations: 0.7919 MB / 0.5324 GB, free: 8.656 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.003187/0.3859, allocations: 4.05 MB / 0.5363 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.3874, allocations: 1.002 MB / 0.5373 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/0.3878, allocations: 362 kB / 0.5377 GB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/0.4065, allocations: 10.21 MB / 0.5476 GB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.4066, allocations: 54.08 kB / 0.5477 GB, free: 2.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 3.657e-06/0.4066, allocations: 3.938 kB / 0.5477 GB, free: 2.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.03693/0.4435, allocations: 13.63 MB / 0.561 GB, free: 11.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.4435, allocations: 72.5 kB / 0.5611 GB, free: 11.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.4438, allocations: 425.8 kB / 0.5615 GB, free: 10.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.4439, allocations: 53.27 kB / 0.5615 GB, free: 10.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.444, allocations: 327.6 kB / 0.5619 GB, free: 10.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.4444, allocations: 0.6543 MB / 0.5625 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/0.4447, allocations: 303.8 kB / 0.5628 GB, free: 9.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4449, allocations: 0.5003 MB / 0.5633 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.4452, allocations: 227.1 kB / 0.5635 GB, free: 9.219 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.4456, allocations: 0.5081 MB / 0.564 GB, free: 8.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.4465, allocations: 0.8542 MB / 0.5648 GB, free: 7.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4465, allocations: 0 / 0.5648 GB, free: 7.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00212/0.4487, allocations: 1.398 MB / 0.5662 GB, free: 6.785 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4487, allocations: 4.5 kB / 0.5662 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.4487, allocations: 12 kB / 0.5662 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004856/0.4536, allocations: 1.744 MB / 0.5679 GB, free: 5.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.454, allocations: 144.8 kB / 0.568 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002712/0.4567, allocations: 2.22 MB / 0.5702 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006179/0.4573, allocations: 124.6 kB / 0.5703 GB, free: 2.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.4574, allocations: 62.97 kB / 0.5704 GB, free: 2.875 MB / 426.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.0003418/0.4577, allocations: 227.6 kB / 0.5706 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.458, allocations: 158.4 kB / 0.5708 GB, free: 2.562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005403/0.4634, allocations: 5.466 MB / 0.5761 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.606e-05/0.4635, allocations: 113.7 kB / 0.5762 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4635, allocations: 4.875 kB / 0.5762 GB, free: 13.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.4635, allocations: 11.95 kB / 0.5762 GB, free: 13.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005866/0.4694, allocations: 5.535 MB / 0.5816 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4694, allocations: 0 / 0.5816 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.4697, allocations: 99.08 kB / 0.5817 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006562/0.4762, allocations: 4.174 MB / 0.5858 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001799/0.4764, allocations: 59.92 kB / 0.5858 GB, free: 4.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004398/0.4808, allocations: 4.575 MB / 0.5903 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4808, allocations: 0 / 0.5903 GB, free: 56 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/0.485, allocations: 4.217 MB / 0.5944 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006028/0.4856, allocations: 496.8 kB / 0.5949 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.4858, allocations: 55.84 kB / 0.595 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.4862, allocations: 67.91 kB / 0.595 GB, free: 11.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.4864, allocations: 148.9 kB / 0.5952 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.703e-05/0.4865, allocations: 51.98 kB / 0.5952 GB, free: 11.13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.4867, allocations: 318.5 kB / 0.5955 GB, free: 10.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4867, allocations: 0 / 0.5955 GB, free: 10.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003492/0.4902, allocations: 1.213 MB / 0.5967 GB, free: 9.621 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.00398/0.4942, allocations: 1.167 MB / 0.5978 GB, free: 8.52 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003023/0.4972, allocations: 1.763 MB / 0.5996 GB, free: 6.754 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4972, allocations: 0 / 0.5996 GB, free: 6.754 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.499, allocations: 1.491 MB / 0.601 GB, free: 5.293 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.501, allocations: 0.7101 MB / 0.6017 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.5053, allocations: 4.22 MB / 0.6058 GB, free: 448 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004752/0.5058, allocations: 0.5197 MB / 0.6063 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000364/0.5061, allocations: 133.7 kB / 0.6065 GB, free: 15.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/0.5067, allocations: 421.8 kB / 0.6069 GB, free: 15.34 MB / 474.7 MB Notification: Performance of SimCode: time 1.824e-06/0.5067, allocations: 0 / 0.6069 GB, free: 15.34 MB / 474.7 MB Notification: Performance of Templates: time 0.233/0.7397, allocations: 78.61 MB / 0.6836 GB, free: 121.3 MB / 0.5105 GB " [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: 6.493013928178698]