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.0008047/0.0008047, 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.0009714/0.0009714, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.909/0.909, allocations: 177.1 MB / 205 MB, free: 5.625 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.08588/0.08588, allocations: 19.74 MB / 281.2 MB, free: 9.258 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.433e-06/1.433e-06, allocations: 0 / 358 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.62e-05/1.763e-05, allocations: 2.312 kB / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic): time 0.2671/0.2671, allocations: 152.4 MB / 0.4984 GB, free: 5.988 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008968/0.2761, allocations: 9.818 MB / 0.508 GB, free: 12.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000278/0.2764, allocations: 7.938 kB / 0.508 GB, free: 12.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003643/0.2767, allocations: 107.2 kB / 0.5081 GB, free: 12.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.2809, allocations: 2.113 MB / 0.5101 GB, free: 9.949 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006243/0.2872, allocations: 2.613 MB / 0.5127 GB, free: 7.332 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.2891, allocations: 2.044 MB / 0.5147 GB, free: 5.285 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007563/0.2899, allocations: 0.5435 MB / 0.5152 GB, free: 4.742 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009127/0.2908, allocations: 0.8189 MB / 0.516 GB, free: 3.922 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/0.2934, allocations: 1.461 MB / 0.5174 GB, free: 2.449 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.2935, allocations: 100 kB / 0.5175 GB, free: 2.352 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009042/0.3026, allocations: 5.716 MB / 0.5231 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.303, allocations: 0.6003 MB / 0.5237 GB, free: 12.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006057/0.3037, allocations: 0.4913 MB / 0.5242 GB, free: 11.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0077/0.3114, allocations: 5.156 MB / 0.5292 GB, free: 6.367 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3114, allocations: 4 kB / 0.5292 GB, free: 6.363 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3114, allocations: 0 / 0.5292 GB, free: 6.363 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.3114, allocations: 0 / 0.5292 GB, free: 6.363 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.003582/0.315, allocations: 1.892 MB / 0.5311 GB, free: 4.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.315, allocations: 12.03 kB / 0.5311 GB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002177/0.3172, allocations: 482.4 kB / 0.5315 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008352/0.318, allocations: 0.5697 MB / 0.5321 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.3181, allocations: 74.38 kB / 0.5322 GB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.3182, allocations: 88.38 kB / 0.5322 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.3204, allocations: 1.233 MB / 0.5335 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.3205, allocations: 4.312 kB / 0.5335 GB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.3206, allocations: 47.94 kB / 0.5335 GB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.3206, allocations: 24 kB / 0.5335 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.3226, allocations: 0.9129 MB / 0.5344 GB, free: 0.8867 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.004716/0.3273, allocations: 4.216 MB / 0.5385 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.3297, allocations: 1.119 MB / 0.5396 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/0.3304, allocations: 429.5 kB / 0.54 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02331/0.3537, allocations: 11.76 MB / 0.5515 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.3538, allocations: 51.39 kB / 0.5516 GB, free: 15.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=180): time 3.467e-06/0.3538, allocations: 0 / 0.5516 GB, free: 15.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=180): time 0.03759/0.3913, allocations: 14.2 MB / 0.5654 GB, free: 0.9492 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3914, allocations: 73.41 kB / 0.5655 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.3917, allocations: 422.6 kB / 0.5659 GB, free: 448 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.3917, allocations: 53.7 kB / 0.566 GB, free: 388 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3919, allocations: 329.1 kB / 0.5663 GB, free: 52 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1595/0.5514, allocations: 0.6406 MB / 0.5669 GB, free: 59.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000405/0.5518, allocations: 303.2 kB / 0.5672 GB, free: 59.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.914e-05/0.5519, allocations: 0.5018 MB / 0.5677 GB, free: 58.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.5524, allocations: 297.8 kB / 0.568 GB, free: 58.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/0.553, allocations: 0.5691 MB / 0.5685 GB, free: 58.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.5543, allocations: 0.9826 MB / 0.5695 GB, free: 58.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.5543, allocations: 1.312 kB / 0.5695 GB, free: 58.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002728/0.557, allocations: 1.594 MB / 0.571 GB, free: 58.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5571, allocations: 6.812 kB / 0.571 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.5571, allocations: 6.016 kB / 0.571 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005731/0.5628, allocations: 1.899 MB / 0.5729 GB, free: 58.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.5632, allocations: 146 kB / 0.573 GB, free: 58.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.566, allocations: 2.391 MB / 0.5754 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.5664, allocations: 140.8 kB / 0.5755 GB, free: 57.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-05/0.5665, allocations: 67.94 kB / 0.5756 GB, free: 57.3 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.0002683/0.5668, allocations: 235.4 kB / 0.5758 GB, free: 57.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.567, allocations: 151.8 kB / 0.5759 GB, free: 57.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/0.5724, allocations: 6.088 MB / 0.5819 GB, free: 56.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/0.5724, allocations: 111.1 kB / 0.582 GB, free: 56.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5724, allocations: 1.031 kB / 0.582 GB, free: 56.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.5724, allocations: 14.2 kB / 0.582 GB, free: 56.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005701/0.5781, allocations: 6.234 MB / 0.5881 GB, free: 55.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.5782, allocations: 0.875 kB / 0.5881 GB, free: 55.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.5784, allocations: 95.62 kB / 0.5882 GB, free: 55.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00702/0.5854, allocations: 4.465 MB / 0.5926 GB, free: 55.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.5856, allocations: 54.42 kB / 0.5926 GB, free: 55.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005027/0.5906, allocations: 5.149 MB / 0.5976 GB, free: 53.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5906, allocations: 4.75 kB / 0.5976 GB, free: 53.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00441/0.595, allocations: 4.809 MB / 0.6023 GB, free: 52.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/0.5956, allocations: 0.5226 MB / 0.6028 GB, free: 52.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.5957, allocations: 63.31 kB / 0.6029 GB, free: 52.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.5961, allocations: 70.27 kB / 0.603 GB, free: 52.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5963, allocations: 144.7 kB / 0.6031 GB, free: 52.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.821e-05/0.5963, allocations: 72.84 kB / 0.6032 GB, free: 52.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002276/0.5966, allocations: 343.6 kB / 0.6035 GB, free: 51.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5966, allocations: 0 / 0.6035 GB, free: 51.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002179/0.5988, allocations: 1.209 MB / 0.6047 GB, free: 50.8 MB / 442.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.002509/0.6013, allocations: 1.143 MB / 0.6058 GB, free: 49.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.6041, allocations: 2.052 MB / 0.6078 GB, free: 48.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6041, allocations: 0 / 0.6078 GB, free: 48.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001913/0.6061, allocations: 1.681 MB / 0.6094 GB, free: 47.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.6078, allocations: 0.7152 MB / 0.6101 GB, free: 46.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.612, allocations: 4.333 MB / 0.6144 GB, free: 43.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.6122, allocations: 0.5114 MB / 0.6149 GB, free: 42.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004256/0.6127, allocations: 198.3 kB / 0.6151 GB, free: 42.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.6128, allocations: 60.08 kB / 0.6151 GB, free: 42.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6128, allocations: 0 / 0.6151 GB, free: 42.59 MB / 442.7 MB Notification: Performance of Templates: time 0.05568/0.6684, allocations: 68.16 MB / 0.6817 GB, free: 10.27 MB / 474.7 MB " [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: 5.980833483859897]