Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.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.001257/0.001257, 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.004385/0.004385, allocations: 165.6 kB / 24.99 MB, free: 8.305 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.8216/0.8216, allocations: 158.6 MB / 186.8 MB, free: 2.914 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.1816/0.1816, allocations: 36.33 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.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") translateModel(ThermoPower.Test.WaterComponents.TestSplitRev,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 353.8 MB, free: 3.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.408e-05, allocations: 2.312 kB / 353.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.2068/0.2068, allocations: 113.3 MB / 467 MB, free: 17.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008809/0.2156, allocations: 11.58 MB / 478.6 MB, free: 17.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005022/0.2161, allocations: 32.97 kB / 478.7 MB, free: 17.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.2172, allocations: 0.5531 MB / 479.2 MB, free: 16.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000696/0.2179, allocations: 0.698 MB / 479.9 MB, free: 16.78 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00957/0.2274, allocations: 5.759 MB / 485.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.2288, allocations: 1.942 MB / 487.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005978/0.2294, allocations: 0.602 MB / 488.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007704/0.2302, allocations: 0.989 MB / 489.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.2307, allocations: 0.6109 MB / 489.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.2307, allocations: 84.88 kB / 489.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006742/0.2375, allocations: 6.148 MB / 496 MB, free: 12.11 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2376, allocations: 194.1 kB / 496.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.2379, allocations: 355.6 kB / 496.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005083/0.243, allocations: 5.167 MB / 0.49 GB, free: 7.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.243, allocations: 0 / 0.49 GB, free: 7.055 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.243, allocations: 3.938 kB / 0.49 GB, free: 7.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.243, allocations: 7.984 kB / 0.49 GB, free: 7.043 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002429/0.2454, allocations: 1.863 MB / 0.4918 GB, free: 5.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.2454, allocations: 8.031 kB / 0.4918 GB, free: 5.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.2457, allocations: 213.4 kB / 0.492 GB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.2462, allocations: 490.6 kB / 0.4925 GB, free: 4.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.2462, allocations: 50.38 kB / 0.4925 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.2463, allocations: 72.36 kB / 0.4926 GB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.2473, allocations: 0.8706 MB / 0.4935 GB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2473, allocations: 4.312 kB / 0.4935 GB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.364e-05/0.2474, allocations: 39.92 kB / 0.4935 GB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2474, allocations: 20 kB / 0.4935 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006652/0.248, allocations: 399.4 kB / 0.4939 GB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002036/0.2501, allocations: 3.631 MB / 0.4975 GB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007856/0.2509, allocations: 433.7 kB / 0.4979 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.251, allocations: 126.2 kB / 0.498 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0285/0.2795, allocations: 16.8 MB / 0.5144 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/0.2803, allocations: 389.8 kB / 0.5148 GB, free: 13.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.983e-06/0.2803, allocations: 0 / 0.5148 GB, free: 13.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.00134/0.2816, allocations: 0.6646 MB / 0.5154 GB, free: 12.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.2816, allocations: 89.09 kB / 0.5155 GB, free: 12.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.282, allocations: 490.6 kB / 0.516 GB, free: 12.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/0.282, allocations: 33.7 kB / 0.516 GB, free: 12.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.2822, allocations: 443.2 kB / 0.5164 GB, free: 11.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.2823, allocations: 140 kB / 0.5166 GB, free: 11.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.2824, allocations: 107.8 kB / 0.5167 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2826, allocations: 0.5313 MB / 0.5172 GB, free: 10.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.2828, allocations: 212.4 kB / 0.5174 GB, free: 10.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.283, allocations: 330 kB / 0.5177 GB, free: 10.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.2834, allocations: 422.5 kB / 0.5181 GB, free: 9.695 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2834, allocations: 0 / 0.5181 GB, free: 9.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006429/0.2841, allocations: 0.64 MB / 0.5187 GB, free: 9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.2841, allocations: 126.7 kB / 0.5188 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.2841, allocations: 7.984 kB / 0.5189 GB, free: 8.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2842, allocations: 4 kB / 0.5189 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002898/0.2845, allocations: 119.8 kB / 0.519 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2845, allocations: 11.88 kB / 0.519 GB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.2847, allocations: 71.84 kB / 0.5191 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.2847, allocations: 24 kB / 0.5191 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000263/0.285, allocations: 322.6 kB / 0.5194 GB, free: 8.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000228/0.2852, allocations: 335.4 kB / 0.5197 GB, free: 7.863 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000343/0.2856, allocations: 414.2 kB / 0.5201 GB, free: 7.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.2856, allocations: 0 / 0.5201 GB, free: 7.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0005682/0.2861, allocations: 0.6275 MB / 0.5207 GB, free: 6.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.2862, allocations: 122.8 kB / 0.5208 GB, free: 6.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2862, allocations: 4 kB / 0.5208 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.2862, allocations: 4 kB / 0.5208 GB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.2864, allocations: 123.8 kB / 0.521 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2864, allocations: 7.984 kB / 0.521 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.2866, allocations: 67.69 kB / 0.521 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.2867, allocations: 23.98 kB / 0.521 GB, free: 6.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 (Sine4.count,$PRE.Sine4.count,Sine4.T_start,$PRE.Sine4.T_start,Sine3.count,$PRE.Sine3.count,Sine3.T_start,$PRE.Sine3.T_start,$whenCondition3,$whenCondition4,Sine2.count,$PRE.Sine2.count,Sine2.T_start,$PRE.Sine2.T_start,Sine1.count,$PRE.Sine1.count,Sine1.T_start,$PRE.Sine1.T_start,$whenCondition1,$whenCondition2,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase,T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 52 * 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.0001418/0.2868, allocations: 321.8 kB / 0.5214 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.2869, allocations: 71.62 kB / 0.5214 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009167/0.2878, allocations: 1.052 MB / 0.5224 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.2878, allocations: 23.97 kB / 0.5225 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2878, allocations: 3.984 kB / 0.5225 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.2878, allocations: 3.938 kB / 0.5225 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.2889, allocations: 1.299 MB / 0.5237 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2889, allocations: 0 / 0.5237 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2891, allocations: 83.88 kB / 0.5238 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2891, allocations: 4 kB / 0.5238 GB, free: 3.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.2891, allocations: 11.98 kB / 0.5238 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2891, allocations: 0 / 0.5238 GB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2892, allocations: 3.938 kB / 0.5238 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.2898, allocations: 0.823 MB / 0.5247 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.29, allocations: 139 kB / 0.5248 GB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.29, allocations: 8 kB / 0.5248 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.2902, allocations: 47.89 kB / 0.5248 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.2904, allocations: 83.88 kB / 0.5249 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.2904, allocations: 15.98 kB / 0.5249 GB, free: 2.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.2906, allocations: 314.8 kB / 0.5252 GB, free: 1.961 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2906, allocations: 0 / 0.5252 GB, free: 1.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001839/0.2924, allocations: 1.165 MB / 0.5264 GB, free: 0.793 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$whenCondition2,$whenCondition1,Sine1.T_start,Sine1.count,Sine2.T_start,Sine2.count,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$whenCondition4,$whenCondition3,Sine3.T_start,Sine3.count,Sine4.T_start,Sine4.count) * Number of discrete states: 4 (Sine3.count,Sine4.count,Sine2.count,Sine1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 34 * 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.002163/0.2946, allocations: 1.108 MB / 0.5275 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.2955, allocations: 1.174 MB / 0.5286 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2955, allocations: 4 kB / 0.5286 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.2958, allocations: 269.7 kB / 0.5289 GB, free: 14.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.2966, allocations: 279.7 kB / 0.5291 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.2985, allocations: 1.61 MB / 0.5307 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.2986, allocations: 185.6 kB / 0.5309 GB, free: 12.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000599/0.2992, allocations: 371.8 kB / 0.5312 GB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.2994, allocations: 56.5 kB / 0.5313 GB, free: 11.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.203e-06/0.2994, allocations: 0 / 0.5313 GB, free: 11.61 MB / 410.7 MB Notification: Performance of Templates: time 0.04415/0.3436, allocations: 41.15 MB / 0.5715 GB, free: 2.422 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.53978531411849]