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.001421/0.001421, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001542/0.001542, allocations: 157.7 kB / 24.27 MB, free: 176 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.463/1.463, 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.1933/0.1933, allocations: 19.74 MB / 280.8 MB, free: 9.293 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.623e-06/1.623e-06, allocations: 0 / 357.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.965e-05, allocations: 6.25 kB / 357.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2413/0.2413, allocations: 97.78 MB / 455 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.2522, allocations: 10.39 MB / 465.4 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.253, allocations: 26.31 kB / 465.4 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.2546, allocations: 0.5361 MB / 466 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001494/0.2561, allocations: 0.6531 MB / 466.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01682/0.2729, allocations: 5.763 MB / 472.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002691/0.2756, allocations: 1.715 MB / 474.1 MB, free: 9.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.2768, allocations: 0.5361 MB / 474.6 MB, free: 8.469 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.2789, allocations: 0.8961 MB / 475.5 MB, free: 7.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.28, allocations: 0.5491 MB / 476.1 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.2801, allocations: 64 kB / 476.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.2925, allocations: 6.157 MB / 482.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002647/0.2928, allocations: 163.3 kB / 482.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005534/0.2933, allocations: 303.4 kB / 482.7 MB, free: 344 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.3035, allocations: 5.312 MB / 488.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3035, allocations: 0 / 488.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3035, allocations: 0 / 488.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3035, allocations: 0 / 488.1 MB, free: 11.01 MB / 362.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.003891/0.3074, allocations: 1.511 MB / 489.6 MB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3075, allocations: 11.97 kB / 489.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008096/0.3083, allocations: 232.2 kB / 489.8 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.3091, allocations: 445.9 kB / 490.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.3092, allocations: 56.94 kB / 490.3 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.3093, allocations: 60.38 kB / 490.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3111, allocations: 0.8146 MB / 491.2 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.3111, allocations: 4.312 kB / 491.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.3112, allocations: 27.94 kB / 491.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.3112, allocations: 20 kB / 491.2 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.3128, allocations: 0.5866 MB / 491.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.3166, allocations: 2.664 MB / 494.5 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.3181, allocations: 456.8 kB / 494.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.3186, allocations: 166.2 kB / 495.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06478/0.3834, allocations: 17.53 MB / 0.5006 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.3834, allocations: 38.56 kB / 0.5006 GB, free: 2.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.3834, allocations: 0 / 0.5006 GB, free: 2.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002695/0.3861, allocations: 0.7525 MB / 0.5014 GB, free: 1.395 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.3862, allocations: 81.11 kB / 0.5015 GB, free: 1.297 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005014/0.3867, allocations: 381.8 kB / 0.5018 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.3867, allocations: 29.7 kB / 0.5018 GB, free: 0.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.3871, allocations: 356.5 kB / 0.5022 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3872, allocations: 115 kB / 0.5023 GB, free: 420 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.3873, allocations: 69.97 kB / 0.5024 GB, free: 340 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.3876, allocations: 362.7 kB / 0.5027 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.388, allocations: 134.1 kB / 0.5028 GB, free: 15.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.3885, allocations: 213.7 kB / 0.503 GB, free: 15.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008739/0.3893, allocations: 339.7 kB / 0.5034 GB, free: 15.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3893, allocations: 0 / 0.5034 GB, free: 15.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001132/0.3905, allocations: 440 kB / 0.5038 GB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3905, allocations: 8 kB / 0.5038 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3905, allocations: 4.25 kB / 0.5038 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.3905, allocations: 4 kB / 0.5038 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.391, allocations: 87.88 kB / 0.5039 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.391, allocations: 4 kB / 0.5039 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.3914, allocations: 39.7 kB / 0.5039 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.3914, allocations: 19.98 kB / 0.5039 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000437/0.3919, allocations: 220.8 kB / 0.5042 GB, free: 14.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003547/0.3922, allocations: 195.2 kB / 0.5043 GB, free: 14.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006205/0.3928, allocations: 300.1 kB / 0.5046 GB, free: 13.86 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.3928, allocations: 4 kB / 0.5046 GB, free: 13.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0008377/0.3937, allocations: 380.8 kB / 0.505 GB, free: 13.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3937, allocations: 8 kB / 0.505 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3937, allocations: 3.938 kB / 0.505 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/0.3937, allocations: 8 kB / 0.505 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.394, allocations: 83.88 kB / 0.5051 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3941, allocations: 7.938 kB / 0.5051 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.3943, allocations: 35.81 kB / 0.5051 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.3943, allocations: 13.12 kB / 0.5051 GB, free: 13.33 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.0002004/0.3945, allocations: 210.5 kB / 0.5053 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.3947, allocations: 63.67 kB / 0.5054 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.3972, allocations: 1.637 MB / 0.507 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/0.3972, allocations: 19.97 kB / 0.507 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3972, allocations: 7.938 kB / 0.507 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.3973, allocations: 3.984 kB / 0.507 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.3984, allocations: 0.816 MB / 0.5078 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-06/0.3984, allocations: 5.25 kB / 0.5078 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.3988, allocations: 63.89 kB / 0.5079 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3988, allocations: 0 / 0.5079 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.3989, allocations: 15.98 kB / 0.5079 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3989, allocations: 0 / 0.5079 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3989, allocations: 0 / 0.5079 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4005, allocations: 1.019 MB / 0.5089 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.4007, allocations: 115.1 kB / 0.509 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.4008, allocations: 11.98 kB / 0.509 GB, free: 9.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.4011, allocations: 19.73 kB / 0.5091 GB, free: 9.266 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.4012, allocations: 39.94 kB / 0.5091 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.4013, allocations: 11.98 kB / 0.5091 GB, free: 9.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003084/0.4016, allocations: 259.2 kB / 0.5093 GB, free: 8.965 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4016, allocations: 0 / 0.5093 GB, free: 8.965 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003766/0.4053, allocations: 1.103 MB / 0.5104 GB, free: 7.859 MB / 394.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.003913/0.4093, allocations: 1.114 MB / 0.5115 GB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.4109, allocations: 0.6367 MB / 0.5121 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4109, allocations: 0 / 0.5121 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006709/0.4116, allocations: 341 kB / 0.5125 GB, free: 5.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.4131, allocations: 247.9 kB / 0.5127 GB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.4165, allocations: 1.631 MB / 0.5143 GB, free: 3.855 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.4169, allocations: 396.2 kB / 0.5147 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007487/0.4177, allocations: 365.5 kB / 0.515 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.4179, allocations: 52.48 kB / 0.5151 GB, free: 3.027 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4179, allocations: 0 / 0.5151 GB, free: 3.027 MB / 394.7 MB Notification: Performance of Templates: time 0.06258/0.4805, allocations: 37.33 MB / 0.5515 GB, free: 13.84 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.428517732070759]