Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009934/0.0009934, allocations: 76.31 kB / 22.21 MB, free: 2.285 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.001115/0.001115, allocations: 170.3 kB / 25.61 MB, free: 8.594 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.8468/0.8468, allocations: 158.6 MB / 187.5 MB, free: 2.773 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.1797/0.1797, allocations: 36.34 MB / 276.2 MB, free: 14.37 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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 355.1 MB, free: 62.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.513e-05, allocations: 2.312 kB / 355.1 MB, free: 62.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.02432/0.02434, allocations: 42.6 MB / 397.7 MB, free: 28.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006383/0.03072, allocations: 8.28 MB / 405.9 MB, free: 19.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.03127, allocations: 27.75 kB / 406 MB, free: 19.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.03188, allocations: 305.6 kB / 406.3 MB, free: 19.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006639/0.03254, allocations: 0.644 MB / 406.9 MB, free: 18.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009342/0.04188, allocations: 5.216 MB / 412.1 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.04308, allocations: 1.703 MB / 413.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005854/0.04366, allocations: 0.5362 MB / 414.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.04439, allocations: 0.865 MB / 415.2 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.04484, allocations: 0.553 MB / 415.8 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.04491, allocations: 64 kB / 415.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.05113, allocations: 5.786 MB / 421.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.05127, allocations: 167.3 kB / 421.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.05153, allocations: 307.3 kB / 422.1 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005517/0.05705, allocations: 4.708 MB / 426.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.05705, allocations: 0 / 426.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.05705, allocations: 0 / 426.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.05706, allocations: 0 / 426.8 MB, free: 14.91 MB / 346.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.002508/0.05957, allocations: 1.525 MB / 428.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.05961, allocations: 12.03 kB / 428.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.0599, allocations: 192.3 kB / 428.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/0.06035, allocations: 436.8 kB / 429 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.06038, allocations: 49.69 kB / 429 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.382e-05/0.06043, allocations: 64.38 kB / 429.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008076/0.06124, allocations: 0.6926 MB / 429.8 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.06126, allocations: 4.125 kB / 429.8 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.06129, allocations: 31.94 kB / 429.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.06131, allocations: 16 kB / 429.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.0618, allocations: 336.7 kB / 430.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.06389, allocations: 3.228 MB / 433.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.06451, allocations: 398.7 kB / 433.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.06462, allocations: 99.25 kB / 433.9 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02586/0.09048, allocations: 14.59 MB / 448.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.09051, allocations: 41.39 kB / 448.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.09051, allocations: 0 / 448.5 MB, free: 8.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.00107/0.09158, allocations: 0.5383 MB / 449 MB, free: 8.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.09162, allocations: 81.11 kB / 449.1 MB, free: 8.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.09187, allocations: 414.4 kB / 449.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.0919, allocations: 29.7 kB / 449.5 MB, free: 7.816 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.09206, allocations: 395.3 kB / 449.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/0.09213, allocations: 122.9 kB / 450.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.09223, allocations: 79.64 kB / 450.1 MB, free: 7.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.09236, allocations: 0.5351 MB / 450.7 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-05/0.09245, allocations: 60.95 kB / 450.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.09257, allocations: 154 kB / 450.9 MB, free: 6.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.09279, allocations: 215.3 kB / 451.1 MB, free: 6.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.09279, allocations: 4 kB / 451.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003344/0.09312, allocations: 293 kB / 451.4 MB, free: 5.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.09314, allocations: 4 kB / 451.4 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.09314, allocations: 4 kB / 451.4 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.09316, allocations: 4 kB / 451.4 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.09337, allocations: 80.77 kB / 451.5 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.09338, allocations: 4 kB / 451.5 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.09352, allocations: 35.83 kB / 451.5 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.09354, allocations: 15.94 kB / 451.5 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001325/0.09367, allocations: 171.7 kB / 451.7 MB, free: 5.551 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001007/0.09377, allocations: 180.7 kB / 451.9 MB, free: 5.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001649/0.09394, allocations: 231.8 kB / 452.1 MB, free: 5.039 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.09394, allocations: 3.984 kB / 452.1 MB, free: 5.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0002491/0.09419, allocations: 267 kB / 452.4 MB, free: 4.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.804e-06/0.0942, allocations: 8 kB / 452.4 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-06/0.0942, allocations: 0 / 452.4 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/0.0942, allocations: 8.344 kB / 452.4 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.09435, allocations: 91.77 kB / 452.5 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.09435, allocations: 4 kB / 452.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.09445, allocations: 27.83 kB / 452.5 MB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.09446, allocations: 19.98 kB / 452.5 MB, free: 4.617 MB / 362.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 (T1.fluidState.phase,T2.fluidState.phase,T3.fluidState.phase,T4.fluidState.phase,T5.fluidState.phase,T6.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.0001206/0.09458, allocations: 287.9 kB / 452.8 MB, free: 4.328 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.09466, allocations: 63.67 kB / 452.9 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006798/0.09534, allocations: 0.8675 MB / 453.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.09535, allocations: 23.95 kB / 453.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.09536, allocations: 4 kB / 453.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.09536, allocations: 0 / 453.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004928/0.09585, allocations: 0.5699 MB / 454.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.09586, allocations: 0 / 454.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.09602, allocations: 63.89 kB / 454.4 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.09602, allocations: 4 kB / 454.4 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.09604, allocations: 8 kB / 454.4 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.09604, allocations: 0 / 454.4 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09604, allocations: 4 kB / 454.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.09654, allocations: 0.8011 MB / 455.2 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.09664, allocations: 107.2 kB / 455.3 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.09668, allocations: 7.984 kB / 455.3 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.0968, allocations: 12 kB / 455.3 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.09688, allocations: 47.92 kB / 455.4 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.09689, allocations: 8 kB / 455.4 MB, free: 1.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001132/0.09701, allocations: 263 kB / 455.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09701, allocations: 0 / 455.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001819/0.09883, allocations: 1.103 MB / 456.7 MB, free: 336 kB / 362.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.002293/0.1011, allocations: 1.087 MB / 457.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.1015, allocations: 365.6 kB / 458.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1016, allocations: 0 / 458.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.1017, allocations: 206.6 kB / 458.4 MB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/0.1025, allocations: 244.5 kB / 458.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1043, allocations: 1.475 MB / 460.1 MB, free: 12.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.1044, allocations: 176.7 kB / 460.3 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004049/0.1048, allocations: 371.7 kB / 460.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003201/0.1052, allocations: 230.1 kB / 460.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1052, allocations: 4 kB / 460.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of Templates: time 0.04112/0.1463, allocations: 42.46 MB / 0.4915 GB, free: 1.648 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.236816911958158]