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.001667/0.001667, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001944/0.001944, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.373/1.373, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.2921/0.2921, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.843e-06/1.843e-06, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.549e-05, allocations: 5.688 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSplitRev): time 0.3122/0.3122, allocations: 99.87 MB / 452.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01391/0.3261, allocations: 10.45 MB / 463.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.3277, allocations: 32.97 kB / 463.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002073/0.3298, allocations: 0.5522 MB / 464 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.3319, allocations: 0.7043 MB / 464.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01822/0.3502, allocations: 5.757 MB / 470.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.3524, allocations: 1.943 MB / 472.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007855/0.3532, allocations: 0.5876 MB / 473 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.3544, allocations: 0.9893 MB / 474 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/0.355, allocations: 0.609 MB / 474.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.3551, allocations: 78.62 kB / 474.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.3658, allocations: 6.148 MB / 480.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.366, allocations: 200 kB / 481 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005133/0.3666, allocations: 354 kB / 481.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.3751, allocations: 5.425 MB / 486.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3751, allocations: 0 / 486.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3751, allocations: 0 / 486.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3751, allocations: 0 / 486.8 MB, free: 10.22 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.004385/0.3795, allocations: 1.824 MB / 488.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3795, allocations: 8.344 kB / 488.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004522/0.3799, allocations: 216.4 kB / 488.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.3807, allocations: 499.4 kB / 489.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.3807, allocations: 55.81 kB / 489.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.3808, allocations: 68.25 kB / 489.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.3828, allocations: 1.001 MB / 490.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.3828, allocations: 3 kB / 490.4 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/0.3829, allocations: 31.94 kB / 490.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.3829, allocations: 16 kB / 490.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.3852, allocations: 0.8001 MB / 491.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.3885, allocations: 2.988 MB / 494.2 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002213/0.3907, allocations: 0.6801 MB / 494.9 MB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/0.3915, allocations: 273.5 kB / 495.2 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06127/0.4528, allocations: 16.8 MB / 0.5 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/0.4547, allocations: 0.5389 MB / 0.5005 GB, free: 1.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.4547, allocations: 0 / 0.5005 GB, free: 1.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.004393/0.4591, allocations: 1.125 MB / 0.5016 GB, free: 276 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.4592, allocations: 89.09 kB / 0.5017 GB, free: 168 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009631/0.4601, allocations: 457.4 kB / 0.5021 GB, free: 15.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.4602, allocations: 41.69 kB / 0.5022 GB, free: 15.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.4606, allocations: 386.2 kB / 0.5026 GB, free: 15.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.4608, allocations: 142.5 kB / 0.5027 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.461, allocations: 98.17 kB / 0.5028 GB, free: 15.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.4612, allocations: 370.8 kB / 0.5031 GB, free: 14.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/0.4624, allocations: 377.4 kB / 0.5035 GB, free: 14.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.4636, allocations: 477.8 kB / 0.504 GB, free: 13.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.4656, allocations: 0.6823 MB / 0.5046 GB, free: 13.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4656, allocations: 0 / 0.5046 GB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002781/0.4684, allocations: 0.9804 MB / 0.5056 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.4685, allocations: 118.8 kB / 0.5057 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4685, allocations: 4.312 kB / 0.5057 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.4686, allocations: 8 kB / 0.5057 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/0.4693, allocations: 138.6 kB / 0.5058 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.4693, allocations: 11.94 kB / 0.5058 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.4701, allocations: 103.7 kB / 0.5059 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.4701, allocations: 20 kB / 0.506 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001232/0.4714, allocations: 487.7 kB / 0.5064 GB, free: 11.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001085/0.4725, allocations: 460.7 kB / 0.5069 GB, free: 10.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001902/0.4744, allocations: 0.6704 MB / 0.5075 GB, free: 9.848 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.4744, allocations: 0 / 0.5075 GB, free: 9.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.002458/0.4768, allocations: 0.9367 MB / 0.5084 GB, free: 8.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.4769, allocations: 118.8 kB / 0.5085 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4769, allocations: 4 kB / 0.5086 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.477, allocations: 8 kB / 0.5086 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006365/0.4776, allocations: 134.2 kB / 0.5087 GB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.4776, allocations: 8.25 kB / 0.5087 GB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006888/0.4783, allocations: 91.75 kB / 0.5088 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.048e-05/0.4783, allocations: 31.27 kB / 0.5088 GB, free: 8.473 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.0005917/0.4789, allocations: 224.4 kB / 0.509 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.4791, allocations: 78.56 kB / 0.5091 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.4829, allocations: 1.894 MB / 0.511 GB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/0.4829, allocations: 27.95 kB / 0.511 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4829, allocations: 0 / 0.511 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4829, allocations: 0 / 0.511 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.4861, allocations: 1.83 MB / 0.5128 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.4861, allocations: 4 kB / 0.5128 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.4868, allocations: 110.9 kB / 0.5129 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.4868, allocations: 4 kB / 0.5129 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.4868, allocations: 12 kB / 0.5129 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4868, allocations: 0 / 0.5129 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.4868, allocations: 7.938 kB / 0.5129 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.4897, allocations: 1.214 MB / 0.5141 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002916/0.4899, allocations: 139.1 kB / 0.5142 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/0.49, allocations: 12 kB / 0.5142 GB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.4907, allocations: 75.83 kB / 0.5143 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.491, allocations: 79.88 kB / 0.5144 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.491, allocations: 16 kB / 0.5144 GB, free: 2.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004191/0.4914, allocations: 306.9 kB / 0.5147 GB, free: 2.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4914, allocations: 0 / 0.5147 GB, free: 2.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004005/0.4954, allocations: 1.168 MB / 0.5158 GB, free: 1.242 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.004605/0.5, allocations: 1.101 MB / 0.5169 GB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004258/0.5043, allocations: 1.74 MB / 0.5186 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5043, allocations: 0 / 0.5186 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.5057, allocations: 0.4893 MB / 0.5191 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.5073, allocations: 285.5 kB / 0.5193 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.5108, allocations: 1.746 MB / 0.5211 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.5113, allocations: 423.2 kB / 0.5215 GB, free: 11.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008326/0.5122, allocations: 369.4 kB / 0.5218 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.5124, allocations: 60.5 kB / 0.5219 GB, free: 10.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5124, allocations: 0 / 0.5219 GB, free: 10.95 MB / 410.7 MB Notification: Performance of Templates: time 0.06964/0.582, allocations: 40.52 MB / 0.5614 GB, free: 2.473 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSplitRev.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.026361873024143]