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.001163/0.001163, 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.001306/0.001306, allocations: 171.1 kB / 24.82 MB, free: 9.25 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.895/0.895, allocations: 158.6 MB / 186.7 MB, free: 2.293 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.1765/0.1765, allocations: 36.33 MB / 275.4 MB, free: 10.43 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 2.234e-06/2.234e-06, allocations: 0 / 354.3 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.586e-05, allocations: 13.7 kB / 354.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2844/0.2845, allocations: 146.6 MB / 0.4892 GB, free: 3.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006798/0.2913, allocations: 9.645 MB / 0.4986 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.2915, allocations: 9.438 kB / 0.4986 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.2918, allocations: 106.2 kB / 0.4987 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.2957, allocations: 2.102 MB / 0.5007 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004802/0.3005, allocations: 2.602 MB / 0.5033 GB, free: 8.73 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.3019, allocations: 2.039 MB / 0.5053 GB, free: 6.688 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.3025, allocations: 0.559 MB / 0.5058 GB, free: 6.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006888/0.3032, allocations: 0.8151 MB / 0.5066 GB, free: 5.316 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.305, allocations: 1.465 MB / 0.5081 GB, free: 3.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3051, allocations: 100 kB / 0.5081 GB, free: 3.742 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006724/0.3118, allocations: 5.701 MB / 0.5137 GB, free: 14.04 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.3122, allocations: 0.5965 MB / 0.5143 GB, free: 13.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.3126, allocations: 0.4952 MB / 0.5148 GB, free: 12.94 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005114/0.3177, allocations: 5.144 MB / 0.5198 GB, free: 7.785 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3177, allocations: 3.938 kB / 0.5198 GB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3177, allocations: 0 / 0.5198 GB, free: 7.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3177, allocations: 0 / 0.5198 GB, free: 7.781 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.002348/0.3201, allocations: 1.81 MB / 0.5216 GB, free: 5.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3201, allocations: 12.03 kB / 0.5216 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.3215, allocations: 478.5 kB / 0.522 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.322, allocations: 0.5383 MB / 0.5226 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.3221, allocations: 74.38 kB / 0.5226 GB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.743e-05/0.3222, allocations: 92.38 kB / 0.5227 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.3235, allocations: 1.155 MB / 0.5239 GB, free: 3.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3236, allocations: 8.375 kB / 0.5239 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.3236, allocations: 43.94 kB / 0.5239 GB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.3236, allocations: 24 kB / 0.5239 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.3248, allocations: 0.7898 MB / 0.5247 GB, free: 2.621 MB / 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.003094/0.3279, allocations: 4.049 MB / 0.5287 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.3292, allocations: 0.9989 MB / 0.5296 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.3296, allocations: 361.5 kB / 0.53 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/0.3457, allocations: 9.887 MB / 0.5396 GB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.3458, allocations: 55.38 kB / 0.5397 GB, free: 3.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=180): time 3.186e-06/0.3458, allocations: 0 / 0.5397 GB, free: 3.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=180): time 0.03297/0.3788, allocations: 13.6 MB / 0.553 GB, free: 5.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3788, allocations: 77.34 kB / 0.553 GB, free: 5.449 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.379, allocations: 414.4 kB / 0.5534 GB, free: 5.031 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.3791, allocations: 57.7 kB / 0.5535 GB, free: 4.969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3793, allocations: 333 kB / 0.5538 GB, free: 4.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.3796, allocations: 0.6467 MB / 0.5544 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.3799, allocations: 309.1 kB / 0.5547 GB, free: 3.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.38, allocations: 0.5081 MB / 0.5552 GB, free: 3.156 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.3803, allocations: 227.7 kB / 0.5554 GB, free: 2.934 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.3807, allocations: 0.4997 MB / 0.5559 GB, free: 2.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008102/0.3815, allocations: 0.8569 MB / 0.5568 GB, free: 1.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.3815, allocations: 4 kB / 0.5568 GB, free: 1.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001703/0.3832, allocations: 1.414 MB / 0.5582 GB, free: 0 / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.3832, allocations: 8.547 kB / 0.5582 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.3832, allocations: 8 kB / 0.5582 GB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00427/0.3875, allocations: 1.744 MB / 0.5599 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.3878, allocations: 139.8 kB / 0.56 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.3899, allocations: 2.224 MB / 0.5622 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003655/0.3903, allocations: 119.1 kB / 0.5623 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.3903, allocations: 55.97 kB / 0.5623 GB, free: 11.68 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.000221/0.3906, allocations: 232.4 kB / 0.5626 GB, free: 11.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.3907, allocations: 167.4 kB / 0.5627 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004719/0.3955, allocations: 5.458 MB / 0.5681 GB, free: 5.707 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.278e-05/0.3955, allocations: 115.8 kB / 0.5682 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.3955, allocations: 4 kB / 0.5682 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3955, allocations: 11.95 kB / 0.5682 GB, free: 5.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/0.3999, allocations: 5.545 MB / 0.5736 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.3999, allocations: 0 / 0.5736 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.4001, allocations: 95.89 kB / 0.5737 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005312/0.4054, allocations: 4.175 MB / 0.5778 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.4055, allocations: 59.91 kB / 0.5778 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.4092, allocations: 4.57 MB / 0.5823 GB, free: 6.848 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4092, allocations: 4 kB / 0.5823 GB, free: 6.844 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003655/0.4129, allocations: 4.215 MB / 0.5864 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.4133, allocations: 0.4928 MB / 0.5869 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/0.4134, allocations: 51.89 kB / 0.5869 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.4137, allocations: 67.91 kB / 0.587 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.4139, allocations: 141.7 kB / 0.5871 GB, free: 1.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.279e-05/0.4139, allocations: 55.97 kB / 0.5872 GB, free: 1.715 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.4141, allocations: 326.7 kB / 0.5875 GB, free: 1.395 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4141, allocations: 0 / 0.5875 GB, free: 1.395 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002646/0.4168, allocations: 1.209 MB / 0.5887 GB, free: 188 kB / 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.002332/0.4191, allocations: 1.161 MB / 0.5898 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.4213, allocations: 1.759 MB / 0.5915 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4213, allocations: 0 / 0.5915 GB, free: 13.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.4229, allocations: 1.5 MB / 0.593 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.4245, allocations: 0.7101 MB / 0.5937 GB, free: 10.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/0.4283, allocations: 4.215 MB / 0.5978 GB, free: 6.691 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.4286, allocations: 0.5197 MB / 0.5983 GB, free: 6.141 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.4289, allocations: 129.7 kB / 0.5984 GB, free: 6.012 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.4295, allocations: 421.8 kB / 0.5988 GB, free: 5.598 MB / 474.7 MB Notification: Performance of SimCode: time 1.133e-06/0.4295, allocations: 0 / 0.5988 GB, free: 5.598 MB / 474.7 MB Notification: Performance of Templates: time 0.2116/0.6411, allocations: 77.58 MB / 0.6746 GB, free: 54.21 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: 5.729509457014501]