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.001135/0.001135, 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.000938/0.000938, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.8211/0.8211, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.185/0.185, allocations: 36.34 MB / 275.4 MB, free: 10.72 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.132e-06/1.132e-06, allocations: 0 / 353.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.75e-05, allocations: 5.688 kB / 353.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.2112/0.2112, allocations: 110.6 MB / 464.4 MB, free: 17.26 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.2245, allocations: 11.46 MB / 475.8 MB, free: 16.97 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009784/0.2255, allocations: 30.47 kB / 475.9 MB, free: 16.97 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.2271, allocations: 0.5316 MB / 476.4 MB, free: 16.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.2283, allocations: 0.6506 MB / 477.1 MB, free: 16.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01391/0.2423, allocations: 5.715 MB / 482.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.2439, allocations: 1.714 MB / 484.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007224/0.2447, allocations: 0.5355 MB / 485 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009601/0.2456, allocations: 0.8954 MB / 485.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00055/0.2462, allocations: 0.5505 MB / 486.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.716e-05/0.2463, allocations: 65 kB / 486.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00765/0.2539, allocations: 6.139 MB / 492.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.2541, allocations: 170.1 kB / 492.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003269/0.2544, allocations: 306.4 kB / 493.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006476/0.2609, allocations: 5.064 MB / 498.2 MB, free: 9.078 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2609, allocations: 4 kB / 498.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2609, allocations: 0 / 498.2 MB, free: 9.074 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.2609, allocations: 0 / 498.2 MB, free: 9.074 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.002601/0.2635, allocations: 1.587 MB / 499.8 MB, free: 7.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2635, allocations: 8.031 kB / 499.8 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.2639, allocations: 196.2 kB / 500 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.2643, allocations: 444.5 kB / 0.4887 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.2644, allocations: 45.69 kB / 0.4887 GB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.2644, allocations: 64.38 kB / 0.4888 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.2653, allocations: 0.7416 MB / 0.4895 GB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2653, allocations: 7.562 kB / 0.4895 GB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.2653, allocations: 27.94 kB / 0.4896 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.2654, allocations: 16 kB / 0.4896 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006479/0.266, allocations: 399.5 kB / 0.49 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.2677, allocations: 3.298 MB / 0.4932 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.2684, allocations: 421.8 kB / 0.4936 GB, free: 1.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.2685, allocations: 119.8 kB / 0.4937 GB, free: 1.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02883/0.2974, allocations: 16.8 MB / 0.5101 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2974, allocations: 36.33 kB / 0.5101 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.2974, allocations: 4 kB / 0.5101 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001275/0.2987, allocations: 0.5831 MB / 0.5107 GB, free: 160 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.2987, allocations: 81.11 kB / 0.5108 GB, free: 60 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.299, allocations: 410.7 kB / 0.5112 GB, free: 15.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.299, allocations: 29.7 kB / 0.5112 GB, free: 15.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.2993, allocations: 407.2 kB / 0.5116 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.267e-05/0.2994, allocations: 118.9 kB / 0.5117 GB, free: 15.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-05/0.2995, allocations: 75.67 kB / 0.5118 GB, free: 15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2996, allocations: 0.5274 MB / 0.5123 GB, free: 14.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2998, allocations: 76.95 kB / 0.5124 GB, free: 14.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.2999, allocations: 169.2 kB / 0.5125 GB, free: 14.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.3002, allocations: 238.7 kB / 0.5128 GB, free: 13.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3002, allocations: 0 / 0.5128 GB, free: 13.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004066/0.3006, allocations: 321.7 kB / 0.5131 GB, free: 13.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3006, allocations: 4 kB / 0.5131 GB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3006, allocations: 4 kB / 0.5131 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3006, allocations: 4 kB / 0.5131 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.3009, allocations: 85.84 kB / 0.5132 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.3009, allocations: 4 kB / 0.5132 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.301, allocations: 39.66 kB / 0.5132 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.301, allocations: 19.98 kB / 0.5132 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001617/0.3012, allocations: 175.5 kB / 0.5134 GB, free: 13.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001242/0.3013, allocations: 184.4 kB / 0.5136 GB, free: 13.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002169/0.3015, allocations: 250.5 kB / 0.5138 GB, free: 12.76 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/0.3015, allocations: 4 kB / 0.5138 GB, free: 12.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003047/0.3018, allocations: 289 kB / 0.5141 GB, free: 12.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.3019, allocations: 8 kB / 0.5141 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.3019, allocations: 0 / 0.5141 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.3019, allocations: 4 kB / 0.5141 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.302, allocations: 88.23 kB / 0.5142 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.302, allocations: 7.984 kB / 0.5142 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.281e-05/0.3021, allocations: 27.84 kB / 0.5142 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3021, allocations: 12 kB / 0.5142 GB, free: 12.32 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.0001194/0.3022, allocations: 292 kB / 0.5145 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.3023, allocations: 63.64 kB / 0.5146 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007957/0.3031, allocations: 0.9769 MB / 0.5155 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.3031, allocations: 23.97 kB / 0.5155 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.3031, allocations: 0 / 0.5155 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3031, allocations: 7.984 kB / 0.5155 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.3037, allocations: 0.639 MB / 0.5162 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3037, allocations: 0 / 0.5162 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.3038, allocations: 67.83 kB / 0.5162 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3038, allocations: 0 / 0.5162 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3039, allocations: 8 kB / 0.5162 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3039, allocations: 0 / 0.5162 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.3039, allocations: 4 kB / 0.5162 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.3045, allocations: 0.8558 MB / 0.5171 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3046, allocations: 119.1 kB / 0.5172 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.3046, allocations: 4 kB / 0.5172 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3047, allocations: 12 kB / 0.5172 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.3048, allocations: 51.92 kB / 0.5173 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3048, allocations: 7.984 kB / 0.5173 GB, free: 9.141 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001452/0.305, allocations: 271.1 kB / 0.5175 GB, free: 8.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.305, allocations: 4 kB / 0.5175 GB, free: 8.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002056/0.307, allocations: 1.099 MB / 0.5186 GB, free: 7.773 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.002422/0.3095, allocations: 1.097 MB / 0.5197 GB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005582/0.31, allocations: 424 kB / 0.5201 GB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.31, allocations: 0 / 0.5201 GB, free: 6.328 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.3102, allocations: 236.9 kB / 0.5203 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007835/0.311, allocations: 241.1 kB / 0.5205 GB, free: 5.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.3131, allocations: 1.498 MB / 0.522 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3132, allocations: 176.7 kB / 0.5222 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.3136, allocations: 371.9 kB / 0.5225 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.3137, allocations: 48.48 kB / 0.5226 GB, free: 3.719 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3137, allocations: 0 / 0.5226 GB, free: 3.719 MB / 394.7 MB Notification: Performance of Templates: time 0.04266/0.3564, allocations: 37.86 MB / 0.5595 GB, free: 13.82 MB / 442.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: 4.435245776781812]