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.0008249/0.0008249, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.00344/0.00344, allocations: 158.6 kB / 24.7 MB, free: 8.891 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.7888/0.7888, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.1733/0.1733, allocations: 36.33 MB / 275.1 MB, free: 10.91 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.482e-06/1.482e-06, allocations: 0 / 415.6 MB, free: 5.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.549e-05, allocations: 6.219 kB / 415.6 MB, free: 5.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.3085/0.3085, allocations: 139.2 MB / 0.5418 GB, free: 1.668 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007848/0.3164, allocations: 8.843 MB / 0.5504 GB, free: 8.844 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.3167, allocations: 7.938 kB / 0.5505 GB, free: 8.836 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004089/0.3171, allocations: 99.25 kB / 0.5506 GB, free: 8.738 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00445/0.3215, allocations: 2.102 MB / 0.5526 GB, free: 6.629 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.3266, allocations: 2.607 MB / 0.5552 GB, free: 4.016 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.328, allocations: 2.043 MB / 0.5571 GB, free: 1.969 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.3286, allocations: 0.5078 MB / 0.5576 GB, free: 1.453 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006897/0.3293, allocations: 0.8151 MB / 0.5584 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/0.3311, allocations: 1.45 MB / 0.5599 GB, free: 15.18 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.3312, allocations: 104 kB / 0.56 GB, free: 15.07 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007061/0.3383, allocations: 5.708 MB / 0.5655 GB, free: 9.359 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.3386, allocations: 0.6003 MB / 0.5661 GB, free: 8.758 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.3391, allocations: 0.4913 MB / 0.5666 GB, free: 8.266 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005853/0.3449, allocations: 5.39 MB / 0.5719 GB, free: 2.863 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.3449, allocations: 4 kB / 0.5719 GB, free: 2.859 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3449, allocations: 0 / 0.5719 GB, free: 2.859 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3449, allocations: 0 / 0.5719 GB, free: 2.859 MB / 474.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.002846/0.3478, allocations: 1.777 MB / 0.5736 GB, free: 1.043 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.3478, allocations: 12.03 kB / 0.5736 GB, free: 1.031 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.3491, allocations: 284 kB / 0.5739 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006441/0.3498, allocations: 0.5553 MB / 0.5744 GB, free: 176 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.3498, allocations: 70.38 kB / 0.5745 GB, free: 108 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.3499, allocations: 92.38 kB / 0.5746 GB, free: 16 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.3522, allocations: 1.662 MB / 0.5762 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3522, allocations: 4.312 kB / 0.5762 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.3522, allocations: 47.44 kB / 0.5762 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.3523, allocations: 24 kB / 0.5763 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.3542, allocations: 1.662 MB / 0.5779 GB, free: 12.57 MB / 490.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.003983/0.3582, allocations: 4.183 MB / 0.582 GB, free: 8.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.3608, allocations: 1.917 MB / 0.5839 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008902/0.3617, allocations: 0.8616 MB / 0.5847 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01885/0.3806, allocations: 11.3 MB / 0.5957 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3806, allocations: 52.56 kB / 0.5958 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=180): time 3.447e-06/0.3806, allocations: 0 / 0.5958 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=180): time 0.03408/0.4147, allocations: 14.54 MB / 0.61 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.4147, allocations: 69.41 kB / 0.6101 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.4151, allocations: 401.5 kB / 0.6104 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.4151, allocations: 53.7 kB / 0.6105 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.4153, allocations: 278.3 kB / 0.6108 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006363/0.4159, allocations: 0.6312 MB / 0.6114 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.4162, allocations: 295.5 kB / 0.6116 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.559e-05/0.4163, allocations: 337.9 kB / 0.612 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007736/0.417, allocations: 0.7417 MB / 0.6127 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/0.4179, allocations: 0.9509 MB / 0.6136 GB, free: 7.723 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002128/0.4201, allocations: 1.878 MB / 0.6155 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4201, allocations: 4 kB / 0.6155 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00316/0.4232, allocations: 2.684 MB / 0.6181 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.4233, allocations: 11.94 kB / 0.6181 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4233, allocations: 4 kB / 0.6181 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/0.4282, allocations: 2.236 MB / 0.6203 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.4285, allocations: 167.8 kB / 0.6204 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1812/0.6097, allocations: 3.535 MB / 0.6239 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.6105, allocations: 132.8 kB / 0.624 GB, free: 186.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.6106, allocations: 70.12 kB / 0.6241 GB, free: 186.4 MB / 0.5105 GB 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 (65): * Single equations (assignments): 64 * 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,100)} Notification: Performance of prepare postOptimizeDAE: time 0.000415/0.611, allocations: 330.2 kB / 0.6244 GB, free: 186.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.6111, allocations: 101.3 kB / 0.6245 GB, free: 186.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008325/0.6194, allocations: 9.279 MB / 0.6336 GB, free: 182.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/0.6196, allocations: 116.8 kB / 0.6337 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6196, allocations: 1.641 kB / 0.6337 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-05/0.6196, allocations: 12.19 kB / 0.6337 GB, free: 182.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008485/0.6281, allocations: 10.53 MB / 0.644 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.6281, allocations: 0 / 0.644 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.6283, allocations: 119 kB / 0.6441 GB, free: 178 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005152/0.6335, allocations: 4.922 MB / 0.6489 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.683e-05/0.6336, allocations: 55.97 kB / 0.6489 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005068/0.6386, allocations: 8.202 MB / 0.6569 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.6386, allocations: 8 kB / 0.657 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004848/0.6435, allocations: 7.549 MB / 0.6643 GB, free: 158.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.6439, allocations: 0.5466 MB / 0.6649 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.157e-05/0.644, allocations: 47.89 kB / 0.6649 GB, free: 158.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.6444, allocations: 67.95 kB / 0.665 GB, free: 158.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.6446, allocations: 145.7 kB / 0.6651 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.6446, allocations: 77.88 kB / 0.6652 GB, free: 157.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002109/0.6448, allocations: 335.1 kB / 0.6655 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.6448, allocations: 0 / 0.6655 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002293/0.6471, allocations: 1.209 MB / 0.6667 GB, free: 156.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 38 ($cse6.region3boundary,$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 (75): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 21 * 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,147)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/0.6492, allocations: 1.144 MB / 0.6678 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00324/0.6524, allocations: 3.435 MB / 0.6712 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6524, allocations: 0 / 0.6712 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.6546, allocations: 2.435 MB / 0.6735 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.6562, allocations: 0.6991 MB / 0.6742 GB, free: 148.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.6601, allocations: 5.455 MB / 0.6795 GB, free: 143.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.6605, allocations: 1.016 MB / 0.6805 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.6607, allocations: 68.48 kB / 0.6806 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/0.6607, allocations: 3.938 kB / 0.6806 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.02869/0.6893, allocations: 42.84 MB / 0.7224 GB, free: 99.23 MB / 0.5105 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerStatic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.6835584454238415] Failed to read output from testmodel.py, exit status != 0: 0.6947630783542991 0.7003434359999999 0.35394717099999995 Calling exit ...