Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.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.0009586/0.0009586, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009767/0.0009767, allocations: 163.6 kB / 24.99 MB, free: 8.746 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.9043/0.9043, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.1074/0.1074, allocations: 19.73 MB / 281.5 MB, free: 9.34 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.81e-07/8.81e-07, allocations: 0 / 358 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.124e-05, allocations: 5.266 kB / 358 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.1803/0.1803, allocations: 110.8 MB / 468.8 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.009732/0.19, allocations: 11.51 MB / 480.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004457/0.1905, allocations: 31.69 kB / 480.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1915, allocations: 0.5314 MB / 480.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008087/0.1923, allocations: 0.6595 MB / 481.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009977/0.2023, allocations: 5.753 MB / 487.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.2036, allocations: 1.719 MB / 489 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006182/0.2043, allocations: 0.5401 MB / 489.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.2053, allocations: 0.9077 MB / 490.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.2058, allocations: 0.5413 MB / 491 MB, free: 11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.2059, allocations: 64 kB / 491 MB, free: 10.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007062/0.213, allocations: 6.157 MB / 497.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.2131, allocations: 171.2 kB / 497.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.2133, allocations: 299.4 kB / 497.7 MB, free: 4.316 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005837/0.2191, allocations: 5.086 MB / 0.491 GB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2191, allocations: 0 / 0.491 GB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2191, allocations: 0 / 0.491 GB, free: 15.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.2191, allocations: 3.984 kB / 0.491 GB, free: 15.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002844/0.222, allocations: 1.599 MB / 0.4925 GB, free: 13.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.222, allocations: 8.031 kB / 0.4925 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004531/0.2225, allocations: 224.2 kB / 0.4928 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.2229, allocations: 464.7 kB / 0.4932 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.223, allocations: 45.69 kB / 0.4932 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.223, allocations: 64.38 kB / 0.4933 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/0.2239, allocations: 0.7395 MB / 0.494 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.224, allocations: 4.375 kB / 0.494 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.224, allocations: 27.94 kB / 0.4941 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.224, allocations: 23.98 kB / 0.4941 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000667/0.2247, allocations: 403.3 kB / 0.4945 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.2267, allocations: 3.295 MB / 0.4977 GB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007177/0.2274, allocations: 437.7 kB / 0.4981 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.2276, allocations: 113.3 kB / 0.4982 GB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02931/0.2569, allocations: 17.53 MB / 0.5153 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.2569, allocations: 45.33 kB / 0.5154 GB, free: 5.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 2.054e-06/0.2569, allocations: 0 / 0.5154 GB, free: 5.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.001239/0.2581, allocations: 0.5753 MB / 0.5159 GB, free: 5.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.2582, allocations: 81.11 kB / 0.516 GB, free: 5.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.2585, allocations: 418.7 kB / 0.5164 GB, free: 4.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2585, allocations: 29.7 kB / 0.5164 GB, free: 4.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.2587, allocations: 411.2 kB / 0.5168 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.2587, allocations: 114.9 kB / 0.5169 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.081e-05/0.2588, allocations: 83.62 kB / 0.517 GB, free: 4.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2589, allocations: 0.5312 MB / 0.5175 GB, free: 3.602 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.2591, allocations: 72.97 kB / 0.5176 GB, free: 3.527 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.2592, allocations: 170.1 kB / 0.5178 GB, free: 3.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.2595, allocations: 244.2 kB / 0.518 GB, free: 3.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2595, allocations: 0 / 0.518 GB, free: 3.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004189/0.2599, allocations: 316.2 kB / 0.5183 GB, free: 2.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.26, allocations: 8 kB / 0.5183 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.26, allocations: 4 kB / 0.5183 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.26, allocations: 4 kB / 0.5183 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.2602, allocations: 83.83 kB / 0.5184 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2602, allocations: 4 kB / 0.5184 GB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2604, allocations: 35.77 kB / 0.5184 GB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2604, allocations: 20.25 kB / 0.5185 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001561/0.2605, allocations: 179.5 kB / 0.5186 GB, free: 2.395 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001271/0.2607, allocations: 176.2 kB / 0.5188 GB, free: 2.168 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002189/0.2609, allocations: 252.5 kB / 0.519 GB, free: 1.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2609, allocations: 0 / 0.519 GB, free: 1.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003137/0.2612, allocations: 292.9 kB / 0.5193 GB, free: 1.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.2612, allocations: 4 kB / 0.5193 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.2612, allocations: 4.344 kB / 0.5193 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-06/0.2612, allocations: 8 kB / 0.5193 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2614, allocations: 79.89 kB / 0.5194 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2614, allocations: 4 kB / 0.5194 GB, free: 1.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.286e-05/0.2615, allocations: 31.81 kB / 0.5194 GB, free: 1.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2615, allocations: 16 kB / 0.5195 GB, free: 1.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.2616, allocations: 286.3 kB / 0.5197 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.2617, allocations: 69.42 kB / 0.5198 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009512/0.2626, allocations: 0.9913 MB / 0.5208 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.2626, allocations: 19.97 kB / 0.5208 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2626, allocations: 0 / 0.5208 GB, free: 68 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2626, allocations: 3.984 kB / 0.5208 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.2632, allocations: 0.6437 MB / 0.5214 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2632, allocations: 0 / 0.5214 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.2633, allocations: 67.89 kB / 0.5215 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2633, allocations: 0 / 0.5215 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.2634, allocations: 8 kB / 0.5215 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2634, allocations: 4 kB / 0.5215 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2634, allocations: 4 kB / 0.5215 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.2639, allocations: 0.8556 MB / 0.5223 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.264, allocations: 115.1 kB / 0.5224 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.2641, allocations: 14.92 kB / 0.5225 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2642, allocations: 8 kB / 0.5225 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.2643, allocations: 47.92 kB / 0.5225 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.2643, allocations: 16 kB / 0.5225 GB, free: 14.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.2645, allocations: 283 kB / 0.5228 GB, free: 13.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2645, allocations: 0 / 0.5228 GB, free: 13.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001786/0.2662, allocations: 1.103 MB / 0.5239 GB, free: 12.84 MB / 410.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: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002142/0.2684, allocations: 1.103 MB / 0.525 GB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.2689, allocations: 408.1 kB / 0.5253 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2689, allocations: 5.125 kB / 0.5253 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.2691, allocations: 239.5 kB / 0.5256 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.2699, allocations: 240.9 kB / 0.5258 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.2718, allocations: 1.511 MB / 0.5273 GB, free: 9.289 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.272, allocations: 172.7 kB / 0.5274 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.2724, allocations: 366.2 kB / 0.5278 GB, free: 8.746 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2725, allocations: 52.48 kB / 0.5278 GB, free: 8.695 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2725, allocations: 0 / 0.5278 GB, free: 8.695 MB / 410.7 MB Notification: Performance of Templates: time 0.03473/0.3072, allocations: 37.97 MB / 0.5649 GB, free: 2.879 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.434087577043101]