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.001937/0.001937, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002055/0.002055, allocations: 161.3 kB / 24.27 MB, free: 152 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 1.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.152/0.152, allocations: 19.73 MB / 280.8 MB, free: 9.305 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 1.513e-06/1.513e-06, allocations: 0 / 357.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.752e-05, allocations: 6.312 kB / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2896/0.2896, allocations: 110.6 MB / 467.8 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.3071, allocations: 11.5 MB / 479.3 MB, free: 5.98 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008871/0.308, allocations: 27.75 kB / 479.4 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001755/0.3097, allocations: 0.5353 MB / 479.9 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.3112, allocations: 0.6634 MB / 480.6 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.3269, allocations: 5.743 MB / 486.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002622/0.3295, allocations: 1.723 MB / 488 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009896/0.3305, allocations: 0.5402 MB / 488.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.332, allocations: 0.9038 MB / 489.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.3328, allocations: 0.5491 MB / 490 MB, free: 11.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3329, allocations: 64 kB / 490.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/0.3457, allocations: 6.153 MB / 496.2 MB, free: 5.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.346, allocations: 167.3 kB / 496.4 MB, free: 4.852 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005908/0.3466, allocations: 307.3 kB / 496.7 MB, free: 4.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.3579, allocations: 5.32 MB / 0.4902 GB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.358, allocations: 0 / 0.4902 GB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.358, allocations: 0 / 0.4902 GB, free: 15.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.358, allocations: 0 / 0.4902 GB, free: 15.22 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.004181/0.3621, allocations: 1.646 MB / 0.4919 GB, free: 13.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3622, allocations: 8.031 kB / 0.4919 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007754/0.363, allocations: 224.2 kB / 0.4921 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.3638, allocations: 460.7 kB / 0.4925 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/0.3638, allocations: 45.69 kB / 0.4926 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.3639, allocations: 64.38 kB / 0.4926 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.3657, allocations: 0.8828 MB / 0.4935 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3658, allocations: 384 / 0.4935 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/0.3658, allocations: 31.94 kB / 0.4935 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.3658, allocations: 16 kB / 0.4935 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.3673, allocations: 0.5827 MB / 0.4941 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.372, allocations: 3.521 MB / 0.4975 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.3734, allocations: 490.9 kB / 0.498 GB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.3738, allocations: 171.3 kB / 0.4982 GB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06736/0.4412, allocations: 17.53 MB / 0.5153 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.4412, allocations: 37.39 kB / 0.5153 GB, free: 5.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.4412, allocations: 0 / 0.5153 GB, free: 5.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.002685/0.4439, allocations: 0.7371 MB / 0.516 GB, free: 4.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.444, allocations: 89.09 kB / 0.5161 GB, free: 4.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.4446, allocations: 490.7 kB / 0.5166 GB, free: 3.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.4446, allocations: 33.64 kB / 0.5166 GB, free: 3.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.445, allocations: 419.3 kB / 0.517 GB, free: 3.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.4451, allocations: 130.9 kB / 0.5172 GB, free: 3.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.4453, allocations: 83.67 kB / 0.5172 GB, free: 3.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003224/0.4456, allocations: 0.543 MB / 0.5178 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.446, allocations: 132.9 kB / 0.5179 GB, free: 2.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.4464, allocations: 238 kB / 0.5181 GB, free: 2.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.4471, allocations: 356.1 kB / 0.5185 GB, free: 1.852 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4472, allocations: 4 kB / 0.5185 GB, free: 1.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00104/0.4482, allocations: 428.9 kB / 0.5189 GB, free: 1.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4482, allocations: 11.98 kB / 0.5189 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4482, allocations: 0 / 0.5189 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.4483, allocations: 4 kB / 0.5189 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.4487, allocations: 83.89 kB / 0.519 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4487, allocations: 4 kB / 0.519 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.449, allocations: 43.95 kB / 0.519 GB, free: 1.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.4491, allocations: 12 kB / 0.519 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004418/0.4495, allocations: 267.4 kB / 0.5193 GB, free: 1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003401/0.4498, allocations: 228.1 kB / 0.5195 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005892/0.4504, allocations: 333.5 kB / 0.5198 GB, free: 356 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.4504, allocations: 0 / 0.5198 GB, free: 356 kB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0007999/0.4512, allocations: 365.1 kB / 0.5202 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4512, allocations: 4 kB / 0.5202 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4512, allocations: 4 kB / 0.5202 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.4513, allocations: 4 kB / 0.5202 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003147/0.4516, allocations: 83.77 kB / 0.5203 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.4516, allocations: 4 kB / 0.5203 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.4518, allocations: 35.83 kB / 0.5203 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.4518, allocations: 16.28 kB / 0.5203 GB, free: 15.84 MB / 410.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.0002341/0.4521, allocations: 294.5 kB / 0.5206 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.4522, allocations: 55.72 kB / 0.5206 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.4539, allocations: 1.043 MB / 0.5217 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.4539, allocations: 19.97 kB / 0.5217 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4539, allocations: 0.875 kB / 0.5217 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.454, allocations: 3.984 kB / 0.5217 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.4551, allocations: 0.7451 MB / 0.5224 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.4551, allocations: 7.938 kB / 0.5224 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.4554, allocations: 67.89 kB / 0.5225 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4554, allocations: 0 / 0.5225 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4554, allocations: 10.94 kB / 0.5225 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4554, allocations: 0 / 0.5225 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4554, allocations: 0 / 0.5225 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.457, allocations: 0.9493 MB / 0.5234 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.4573, allocations: 115.2 kB / 0.5235 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.4573, allocations: 4 kB / 0.5235 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.4576, allocations: 19.98 kB / 0.5236 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.4577, allocations: 51.92 kB / 0.5236 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.4578, allocations: 8 kB / 0.5236 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003431/0.4581, allocations: 311.1 kB / 0.5239 GB, free: 12.08 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4581, allocations: 0 / 0.5239 GB, free: 12.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0033/0.4614, allocations: 1.115 MB / 0.525 GB, free: 10.96 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.004424/0.4658, allocations: 1.106 MB / 0.5261 GB, free: 9.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001405/0.4672, allocations: 0.5625 MB / 0.5266 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4672, allocations: 0 / 0.5266 GB, free: 9.281 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005552/0.4678, allocations: 287.5 kB / 0.5269 GB, free: 8.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.4693, allocations: 243.5 kB / 0.5271 GB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.4726, allocations: 1.53 MB / 0.5286 GB, free: 7.184 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.4731, allocations: 392.4 kB / 0.529 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000717/0.4738, allocations: 377.7 kB / 0.5294 GB, free: 6.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.474, allocations: 48.48 kB / 0.5294 GB, free: 6.355 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.474, allocations: 3.938 kB / 0.5294 GB, free: 6.352 MB / 410.7 MB Notification: Performance of Templates: time 0.06441/0.5384, allocations: 37.95 MB / 0.5665 GB, free: 0.5508 MB / 442.7 MB " [Timeout remaining time 659] 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: 7.486821213969961]