Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.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.0009031/0.0009031, 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.001392/0.001392, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.8078/0.8078, allocations: 158.6 MB / 186.8 MB, free: 2.926 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.1675/0.1675, allocations: 36.34 MB / 275.4 MB, free: 10.71 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.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") translateModel(ThermoPower.Test.WaterComponents.TestJoinRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 353.8 MB, free: 3.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.119e-05, allocations: 5.688 kB / 353.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.2106/0.2106, allocations: 108.4 MB / 462.2 MB, free: 17.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008822/0.2194, allocations: 11.56 MB / 473.7 MB, free: 17.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004382/0.2199, allocations: 34.69 kB / 473.8 MB, free: 17.08 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.2209, allocations: 0.5245 MB / 474.3 MB, free: 17.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007144/0.2216, allocations: 0.671 MB / 475 MB, free: 16.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008946/0.2305, allocations: 5.762 MB / 480.7 MB, free: 16.13 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.2317, allocations: 1.887 MB / 482.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/0.2323, allocations: 0.5882 MB / 483.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.233, allocations: 0.9665 MB / 484.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.2335, allocations: 0.5955 MB / 484.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-05/0.2335, allocations: 79.59 kB / 484.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006435/0.24, allocations: 6.159 MB / 491 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.2401, allocations: 197.7 kB / 491.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.2403, allocations: 346.1 kB / 491.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00462/0.2449, allocations: 5.174 MB / 496.7 MB, free: 9.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2449, allocations: 4 kB / 496.7 MB, free: 9.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2449, allocations: 0 / 496.7 MB, free: 9.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2449, allocations: 0 / 496.7 MB, free: 9.531 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002434/0.2474, allocations: 1.852 MB / 498.6 MB, free: 7.633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2474, allocations: 12.03 kB / 498.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003045/0.2477, allocations: 200.2 kB / 498.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.2481, allocations: 486.4 kB / 499.2 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2482, allocations: 49.69 kB / 499.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.2482, allocations: 72.34 kB / 499.4 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000985/0.2492, allocations: 0.8336 MB / 0.4885 GB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.2492, allocations: 3.938 kB / 0.4885 GB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.2493, allocations: 31.98 kB / 0.4885 GB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2493, allocations: 16 kB / 0.4885 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.2499, allocations: 403.9 kB / 0.4889 GB, free: 5.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.2516, allocations: 3.174 MB / 0.492 GB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.2523, allocations: 449.9 kB / 0.4924 GB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.2525, allocations: 129.6 kB / 0.4926 GB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03078/0.2833, allocations: 16.8 MB / 0.509 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.284, allocations: 404 kB / 0.5094 GB, free: 484 kB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.813e-06/0.284, allocations: 0 / 0.5094 GB, free: 484 kB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001612/0.2856, allocations: 0.6871 MB / 0.51 GB, free: 15.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2857, allocations: 89.09 kB / 0.5101 GB, free: 15.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.286, allocations: 474.7 kB / 0.5106 GB, free: 15.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.286, allocations: 37.7 kB / 0.5106 GB, free: 15.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.2862, allocations: 419.3 kB / 0.511 GB, free: 14.74 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.2866, allocations: 141.4 kB / 0.5111 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.2867, allocations: 103.8 kB / 0.5112 GB, free: 14.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.2869, allocations: 0.5391 MB / 0.5118 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.2871, allocations: 208.4 kB / 0.512 GB, free: 13.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.2873, allocations: 296.5 kB / 0.5122 GB, free: 13.36 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.2877, allocations: 388.3 kB / 0.5126 GB, free: 12.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2877, allocations: 4 kB / 0.5126 GB, free: 12.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006384/0.2884, allocations: 0.6218 MB / 0.5132 GB, free: 12.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.2884, allocations: 126 kB / 0.5133 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2884, allocations: 0 / 0.5133 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2884, allocations: 4 kB / 0.5133 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.2887, allocations: 119.2 kB / 0.5135 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2888, allocations: 7.469 kB / 0.5135 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.289, allocations: 71.62 kB / 0.5135 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.289, allocations: 24 kB / 0.5136 GB, free: 11.9 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002558/0.2893, allocations: 318.6 kB / 0.5139 GB, free: 11.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002292/0.2895, allocations: 323.9 kB / 0.5142 GB, free: 11.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003282/0.2898, allocations: 406.8 kB / 0.5146 GB, free: 10.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.2898, allocations: 0 / 0.5146 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005505/0.2904, allocations: 0.6169 MB / 0.5152 GB, free: 10.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.2904, allocations: 122.7 kB / 0.5153 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2904, allocations: 4 kB / 0.5153 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.2904, allocations: 4 kB / 0.5153 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2907, allocations: 113.6 kB / 0.5154 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2907, allocations: 4 kB / 0.5154 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.2909, allocations: 72.03 kB / 0.5155 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.2909, allocations: 20 kB / 0.5155 GB, free: 9.707 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 26 (Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition3,$whenCondition4,Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition1,$whenCondition2,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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 4 * 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.0001508/0.2911, allocations: 312.7 kB / 0.5158 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.679e-05/0.2911, allocations: 75.61 kB / 0.5159 GB, free: 9.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009437/0.2921, allocations: 1.066 MB / 0.5169 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.2921, allocations: 23.95 kB / 0.5169 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2921, allocations: 4 kB / 0.5169 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2921, allocations: 0 / 0.5169 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.2935, allocations: 1.314 MB / 0.5182 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2935, allocations: 4 kB / 0.5182 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.2937, allocations: 86.59 kB / 0.5183 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2937, allocations: 7.984 kB / 0.5183 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.2937, allocations: 12 kB / 0.5183 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2937, allocations: 0 / 0.5183 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2937, allocations: 8.062 kB / 0.5183 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007066/0.2944, allocations: 0.8417 MB / 0.5191 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.2946, allocations: 135 kB / 0.5193 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.2946, allocations: 12 kB / 0.5193 GB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2948, allocations: 43.95 kB / 0.5193 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.295, allocations: 87.88 kB / 0.5194 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.295, allocations: 19.98 kB / 0.5194 GB, free: 5.617 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001912/0.2952, allocations: 310.8 kB / 0.5197 GB, free: 5.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2952, allocations: 0 / 0.5197 GB, free: 5.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002053/0.2973, allocations: 1.154 MB / 0.5209 GB, free: 4.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count) * Number of discrete states: 4 (Sine1.count,Sine2.count,Sine4.count,Sine3.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 8 * 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.002228/0.2995, allocations: 1.108 MB / 0.5219 GB, free: 3.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009364/0.3004, allocations: 1.183 MB / 0.5231 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3004, allocations: 0 / 0.5231 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.3007, allocations: 274.4 kB / 0.5233 GB, free: 1.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.3015, allocations: 281.1 kB / 0.5236 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.3037, allocations: 1.618 MB / 0.5252 GB, free: 15.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3038, allocations: 185.6 kB / 0.5254 GB, free: 15.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.3043, allocations: 400.9 kB / 0.5258 GB, free: 15.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3044, allocations: 60.5 kB / 0.5258 GB, free: 14.95 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3044, allocations: 0 / 0.5258 GB, free: 14.95 MB / 410.7 MB Notification: Performance of Templates: time 0.04047/0.3449, allocations: 41.45 MB / 0.5663 GB, free: 5.469 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.500707128085196]