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.0009676/0.0009676, allocations: 72.89 kB / 21.49 MB, free: 2.836 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.001013/0.001013, allocations: 170.2 kB / 24.91 MB, free: 9.254 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.8786/0.8786, allocations: 158.6 MB / 186.8 MB, free: 2.785 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.1678/0.1678, allocations: 36.34 MB / 275.5 MB, free: 14.44 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.764e-06/1.764e-06, allocations: 0 / 305.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.583e-05, allocations: 2.312 kB / 305.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.0288/0.02881, allocations: 40.78 MB / 346 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1619/0.1907, allocations: 8.532 MB / 354.5 MB, free: 20.22 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.1914, allocations: 28.53 kB / 354.6 MB, free: 20.22 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008613/0.1923, allocations: 300.9 kB / 354.9 MB, free: 20.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.1937, allocations: 0.6537 MB / 355.5 MB, free: 20.22 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01124/0.2049, allocations: 5.303 MB / 360.8 MB, free: 19.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002554/0.2075, allocations: 1.878 MB / 362.7 MB, free: 19.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008592/0.2083, allocations: 0.587 MB / 363.3 MB, free: 19.26 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.2094, allocations: 0.9359 MB / 364.2 MB, free: 19.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000684/0.2101, allocations: 0.5658 MB / 364.8 MB, free: 19.11 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.2103, allocations: 77.59 kB / 364.9 MB, free: 19.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008473/0.2187, allocations: 5.799 MB / 370.7 MB, free: 18.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.219, allocations: 193.6 kB / 370.8 MB, free: 18.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.2195, allocations: 346.1 kB / 371.2 MB, free: 18.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006818/0.2263, allocations: 4.812 MB / 376 MB, free: 16.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2263, allocations: 0 / 376 MB, free: 16.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.2263, allocations: 0 / 376 MB, free: 16.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.2264, allocations: 2.75 kB / 376 MB, free: 16.11 MB / 330.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.002702/0.2291, allocations: 1.679 MB / 377.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2291, allocations: 9.062 kB / 377.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/0.2293, allocations: 175 kB / 377.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004333/0.2298, allocations: 412.4 kB / 378.3 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.2298, allocations: 55.42 kB / 378.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-05/0.2299, allocations: 67.91 kB / 378.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008011/0.2307, allocations: 0.7589 MB / 379.1 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.2307, allocations: 9.016 kB / 379.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.2307, allocations: 27.03 kB / 379.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.2307, allocations: 16.28 kB / 379.2 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.2312, allocations: 305.2 kB / 379.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001484/0.2327, allocations: 2.207 MB / 381.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.2332, allocations: 391.9 kB / 382.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.265e-05/0.2333, allocations: 91.47 kB / 382.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1148/0.3481, allocations: 58.26 MB / 440.4 MB, free: 1.727 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006909/0.3488, allocations: 380.6 kB / 440.8 MB, free: 1.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.184e-06/0.3488, allocations: 3.094 kB / 440.8 MB, free: 1.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009779/0.3498, allocations: 0.5188 MB / 441.3 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3499, allocations: 97.03 kB / 441.4 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.3502, allocations: 408.4 kB / 441.8 MB, free: 380 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.3502, allocations: 37.7 kB / 441.9 MB, free: 336 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3504, allocations: 310.4 kB / 442.2 MB, free: 44 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3505, allocations: 143.9 kB / 442.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3506, allocations: 90.28 kB / 442.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3508, allocations: 373 kB / 442.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.3509, allocations: 174.5 kB / 442.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.3511, allocations: 249.1 kB / 443.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/0.3513, allocations: 322 kB / 443.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3514, allocations: 4 kB / 443.5 MB, free: 14.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004274/0.3518, allocations: 0.4914 MB / 444 MB, free: 14.13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.3518, allocations: 118.7 kB / 444.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3519, allocations: 4 kB / 444.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3519, allocations: 7.938 kB / 444.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3521, allocations: 117.5 kB / 444.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3521, allocations: 6.625 kB / 444.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.3524, allocations: 67.75 kB / 444.3 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3524, allocations: 15.98 kB / 444.3 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002138/0.3527, allocations: 247.9 kB / 444.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001508/0.3528, allocations: 259.6 kB / 444.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002425/0.353, allocations: 342.3 kB / 445.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.615e-06/0.3531, allocations: 4 kB / 445.1 MB, free: 12.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003501/0.3534, allocations: 488.2 kB / 445.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.3535, allocations: 118.8 kB / 445.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3535, allocations: 4 kB / 445.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.51e-06/0.3535, allocations: 4 kB / 445.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.3537, allocations: 113.4 kB / 445.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3537, allocations: 4 kB / 445.8 MB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3539, allocations: 75.56 kB / 445.9 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3539, allocations: 28.11 kB / 446 MB, free: 11.96 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,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 (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.0001328/0.354, allocations: 209.7 kB / 446.2 MB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.3541, allocations: 47.95 kB / 446.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007025/0.3548, allocations: 0.8712 MB / 447.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/0.3548, allocations: 23.97 kB / 447.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3548, allocations: 3.938 kB / 447.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3548, allocations: 7.984 kB / 447.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009592/0.3558, allocations: 1.013 MB / 448.1 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3558, allocations: 0 / 448.1 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.356, allocations: 87.03 kB / 448.2 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.356, allocations: 0 / 448.2 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.356, allocations: 15.98 kB / 448.2 MB, free: 9.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.356, allocations: 10.47 kB / 448.2 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.356, allocations: 0 / 448.2 MB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004834/0.3565, allocations: 0.6395 MB / 448.9 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3566, allocations: 105 kB / 449 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3567, allocations: 8 kB / 449 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.3569, allocations: 47.89 kB / 449 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.357, allocations: 91.86 kB / 449.1 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.357, allocations: 12 kB / 449.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.3571, allocations: 182 kB / 449.3 MB, free: 8.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3571, allocations: 4 kB / 449.3 MB, free: 8.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002365/0.3595, allocations: 1.142 MB / 450.5 MB, free: 7.527 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.00287/0.3624, allocations: 1.144 MB / 451.6 MB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000785/0.3632, allocations: 1.078 MB / 452.7 MB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.3632, allocations: 8.312 kB / 452.7 MB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.3634, allocations: 221 kB / 452.9 MB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3644, allocations: 286.4 kB / 453.2 MB, free: 4.797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.3672, allocations: 1.576 MB / 454.8 MB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.3673, allocations: 189.6 kB / 454.9 MB, free: 2.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005056/0.3678, allocations: 384.7 kB / 455.3 MB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.3682, allocations: 241.1 kB / 455.6 MB, free: 2.379 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3682, allocations: 3 kB / 455.6 MB, free: 2.379 MB / 394.7 MB Notification: Performance of Templates: time 0.04543/0.4137, allocations: 44.9 MB / 0.4887 GB, free: 5.539 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.780307851266116]