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.001365/0.001365, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001498/0.001498, allocations: 171.4 kB / 24.91 MB, free: 9.191 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.9349/0.9349, allocations: 158.6 MB / 186.8 MB, free: 2.766 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.1839/0.1839, allocations: 36.35 MB / 275.5 MB, free: 10.54 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.473e-06/1.473e-06, allocations: 0 / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.573e-05, allocations: 4.5 kB / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoinRev): time 0.0317/0.03173, allocations: 40.84 MB / 346.1 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009795/0.04152, allocations: 8.54 MB / 354.6 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006822/0.0422, allocations: 31.75 kB / 354.7 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006949/0.0429, allocations: 293.6 kB / 354.9 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009558/0.04386, allocations: 0.6555 MB / 355.6 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.05554, allocations: 4.855 MB / 360.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002151/0.0577, allocations: 1.871 MB / 362.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008427/0.05854, allocations: 0.5851 MB / 362.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.05965, allocations: 0.9314 MB / 363.8 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.06037, allocations: 0.5608 MB / 364.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.617e-05/0.06046, allocations: 76 kB / 364.5 MB, free: 8.617 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008705/0.06917, allocations: 6.204 MB / 370.7 MB, free: 2.406 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.06964, allocations: 199.2 kB / 370.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.0701, allocations: 347.2 kB / 371.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008609/0.07871, allocations: 4.81 MB / 376 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.07872, allocations: 0 / 376 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.07872, allocations: 3.938 kB / 376 MB, free: 13.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.07873, allocations: 0 / 376 MB, free: 13.05 MB / 346.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.003628/0.08236, allocations: 1.688 MB / 377.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.0824, allocations: 8.031 kB / 377.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003757/0.08277, allocations: 176.6 kB / 377.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.0836, allocations: 401.4 kB / 378.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.08364, allocations: 53.67 kB / 378.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.443e-05/0.08372, allocations: 72.36 kB / 378.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.08492, allocations: 0.7765 MB / 379.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.08494, allocations: 3.938 kB / 379.2 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.08499, allocations: 28 kB / 379.2 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.085, allocations: 16 kB / 379.2 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.08573, allocations: 308.8 kB / 379.5 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.08798, allocations: 2.201 MB / 381.7 MB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008496/0.08883, allocations: 393.7 kB / 382.1 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.08897, allocations: 90 kB / 382.2 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1123/0.2012, allocations: 58.26 MB / 440.5 MB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006865/0.2019, allocations: 378.1 kB / 440.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 1.874e-06/0.2019, allocations: 4 kB / 440.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001026/0.203, allocations: 0.5251 MB / 441.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.203, allocations: 97.03 kB / 441.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.2033, allocations: 403.2 kB / 441.9 MB, free: 10.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.2033, allocations: 37.7 kB / 441.9 MB, free: 10.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.2034, allocations: 305.9 kB / 442.2 MB, free: 10.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.2035, allocations: 142.7 kB / 442.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.2036, allocations: 98.08 kB / 442.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2037, allocations: 378.6 kB / 442.8 MB, free: 9.895 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2039, allocations: 177.6 kB / 443 MB, free: 9.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.2043, allocations: 238.6 kB / 443.2 MB, free: 9.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.2046, allocations: 322 kB / 443.5 MB, free: 9.047 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2046, allocations: 0 / 443.5 MB, free: 9.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003753/0.205, allocations: 498.6 kB / 444 MB, free: 8.504 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.205, allocations: 118.8 kB / 444.1 MB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.205, allocations: 4 kB / 444.1 MB, free: 8.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.205, allocations: 4 kB / 444.1 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/0.2053, allocations: 128 kB / 444.3 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2053, allocations: 4 kB / 444.3 MB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.2056, allocations: 63.8 kB / 444.3 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.2056, allocations: 12 kB / 444.3 MB, free: 8.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001858/0.2058, allocations: 251.9 kB / 444.6 MB, free: 7.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000157/0.2059, allocations: 254 kB / 444.8 MB, free: 7.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002356/0.2062, allocations: 360.7 kB / 445.2 MB, free: 7.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.2062, allocations: 0 / 445.2 MB, free: 7.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003279/0.2065, allocations: 487.1 kB / 445.7 MB, free: 6.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.2065, allocations: 121.6 kB / 445.8 MB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.2065, allocations: 7.938 kB / 445.8 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.2065, allocations: 4 kB / 445.8 MB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.2068, allocations: 123.8 kB / 445.9 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2068, allocations: 8.297 kB / 445.9 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.207, allocations: 71.69 kB / 446 MB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.207, allocations: 19.98 kB / 446 MB, free: 6.258 MB / 410.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.0001162/0.2071, allocations: 210.1 kB / 446.2 MB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.2072, allocations: 51.94 kB / 446.3 MB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.2078, allocations: 0.8645 MB / 447.1 MB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.2078, allocations: 31.97 kB / 447.2 MB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2078, allocations: 3.938 kB / 447.2 MB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2078, allocations: 7.922 kB / 447.2 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000877/0.2087, allocations: 1.01 MB / 448.2 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.351e-06/0.2087, allocations: 4 kB / 448.2 MB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.2089, allocations: 87.88 kB / 448.3 MB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.2089, allocations: 7.984 kB / 448.3 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.209, allocations: 16.06 kB / 448.3 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.209, allocations: 7.938 kB / 448.3 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.209, allocations: 0 / 448.3 MB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004774/0.2094, allocations: 0.6385 MB / 448.9 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2096, allocations: 107.1 kB / 449 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.46e-05/0.2096, allocations: 12 kB / 449 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.2098, allocations: 43.89 kB / 449.1 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.2099, allocations: 91.88 kB / 449.2 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.2099, allocations: 11.98 kB / 449.2 MB, free: 2.988 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.2101, allocations: 180.4 kB / 449.4 MB, free: 2.809 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2101, allocations: 3.938 kB / 449.4 MB, free: 2.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002452/0.2125, allocations: 1.146 MB / 450.5 MB, free: 1.656 MB / 410.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.002704/0.2152, allocations: 1.133 MB / 451.7 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008611/0.2161, allocations: 1.063 MB / 452.7 MB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.2161, allocations: 12 kB / 452.7 MB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.2163, allocations: 228.7 kB / 453 MB, free: 15.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000731/0.2171, allocations: 286.4 kB / 453.2 MB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.219, allocations: 1.569 MB / 454.8 MB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2192, allocations: 189.6 kB / 455 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004637/0.2196, allocations: 394.3 kB / 455.4 MB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.2201, allocations: 237.2 kB / 455.6 MB, free: 12.35 MB / 426.7 MB Notification: Performance of SimCode: time 9.11e-07/0.2201, allocations: 0 / 455.6 MB, free: 12.35 MB / 426.7 MB Notification: Performance of Templates: time 0.1861/0.4062, allocations: 44.92 MB / 0.4888 GB, free: 114.9 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoinRev.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.782339808996767]