Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.0008023/0.0008023, allocations: 80.8 kB / 21.49 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.0009052/0.0009052, allocations: 170.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.8884/0.8884, allocations: 158.6 MB / 186.8 MB, free: 2.777 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.1918/0.1918, allocations: 36.34 MB / 275.4 MB, free: 10.55 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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 305.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.532e-05, allocations: 2.312 kB / 305.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.02098/0.02099, allocations: 28.62 MB / 333.8 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.02987, allocations: 8.712 MB / 342.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.03018, allocations: 31.69 kB / 342.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.03061, allocations: 222.1 kB / 342.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007438/0.03135, allocations: 0.5467 MB / 343.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01119/0.04254, allocations: 5.18 MB / 348.5 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.04382, allocations: 1.442 MB / 349.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.04429, allocations: 0.516 MB / 350.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008334/0.04512, allocations: 0.7365 MB / 351.2 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.0456, allocations: 498.5 kB / 351.7 MB, free: 5.496 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.04567, allocations: 64 kB / 351.7 MB, free: 5.434 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00725/0.05292, allocations: 5.876 MB / 357.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.05303, allocations: 175.2 kB / 357.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.05324, allocations: 315.2 kB / 358.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.05754, allocations: 4.84 MB / 362.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.05754, allocations: 0 / 362.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.05754, allocations: 0 / 362.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.05755, allocations: 4 kB / 362.9 MB, free: 10.21 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002299/0.05985, allocations: 1.49 MB / 364.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.05988, allocations: 8.031 kB / 364.4 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.0602, allocations: 184.6 kB / 364.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.06067, allocations: 465.2 kB / 365.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.06069, allocations: 37.69 kB / 365.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.06075, allocations: 48.38 kB / 365.2 MB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.06177, allocations: 0.6938 MB / 365.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.06178, allocations: 192 / 365.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.06181, allocations: 27.94 kB / 365.9 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.06182, allocations: 12 kB / 365.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.06242, allocations: 450.5 kB / 366.3 MB, free: 6.727 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.06386, allocations: 1.774 MB / 368.1 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003749/0.06423, allocations: 230.4 kB / 368.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.06432, allocations: 72.81 kB / 368.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09984/0.1642, allocations: 58.26 MB / 426.7 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.1642, allocations: 38.55 kB / 426.7 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004368/0.1646, allocations: 99.69 kB / 426.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.1646, allocations: 0 / 426.8 MB, free: 10.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.003207/0.1678, allocations: 1.255 MB / 428.1 MB, free: 8.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.1679, allocations: 59.39 kB / 428.1 MB, free: 8.777 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.1682, allocations: 451.2 kB / 428.6 MB, free: 8.324 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1682, allocations: 29.7 kB / 428.6 MB, free: 8.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1683, allocations: 289.4 kB / 428.9 MB, free: 8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.1684, allocations: 107 kB / 429 MB, free: 7.895 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.1684, allocations: 73.92 kB / 429 MB, free: 7.812 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1686, allocations: 390.5 kB / 429.4 MB, free: 7.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.1686, allocations: 50.14 kB / 429.5 MB, free: 7.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.716e-05/0.1687, allocations: 94.39 kB / 429.6 MB, free: 7.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.1689, allocations: 176.8 kB / 429.7 MB, free: 7.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1689, allocations: 0 / 429.7 MB, free: 7.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003884/0.1693, allocations: 301.8 kB / 430 MB, free: 6.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1693, allocations: 8 kB / 430 MB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1693, allocations: 0 / 430 MB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.1725, allocations: 0.9734 MB / 431 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.1726, allocations: 39.91 kB / 431.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007534/0.1734, allocations: 0.7744 MB / 431.8 MB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1736, allocations: 15.98 kB / 431.8 MB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1736, allocations: 15.98 kB / 431.9 MB, free: 4.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001359/0.1737, allocations: 124.8 kB / 432 MB, free: 4.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.728e-05/0.1738, allocations: 121.4 kB / 432.1 MB, free: 4.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001725/0.174, allocations: 192.6 kB / 432.3 MB, free: 4.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.174, allocations: 4 kB / 432.3 MB, free: 4.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0003231/0.1743, allocations: 258 kB / 432.5 MB, free: 4.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.1743, allocations: 12.27 kB / 432.6 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1743, allocations: 8 kB / 432.6 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.1745, allocations: 56.8 kB / 432.6 MB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.1746, allocations: 79.81 kB / 432.7 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006955/0.1753, allocations: 1.253 MB / 433.9 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.1755, allocations: 27.92 kB / 434 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1755, allocations: 11.98 kB / 434 MB, free: 2.625 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase,V4.fluidState.phase,V5.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.1756, allocations: 200.4 kB / 434.2 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.1757, allocations: 47.94 kB / 434.2 MB, free: 2.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/0.1766, allocations: 1.053 MB / 435.3 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.1766, allocations: 23.91 kB / 435.3 MB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1766, allocations: 4 kB / 435.3 MB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1766, allocations: 0 / 435.3 MB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.177, allocations: 497.1 kB / 435.8 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.177, allocations: 0 / 435.8 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/0.1771, allocations: 35.92 kB / 435.8 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.1784, allocations: 1.089 MB / 436.9 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.1784, allocations: 12 kB / 436.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1795, allocations: 1.188 MB / 438.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1795, allocations: 0 / 438.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007023/0.1802, allocations: 0.9333 MB / 439.1 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.1803, allocations: 87.19 kB / 439.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.1804, allocations: 12 kB / 439.2 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.1805, allocations: 19.98 kB / 439.2 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.1805, allocations: 32.42 kB / 439.2 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1806, allocations: 11.98 kB / 439.2 MB, free: 13.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.1807, allocations: 208.4 kB / 439.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1807, allocations: 0 / 439.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002169/0.1829, allocations: 1.127 MB / 440.5 MB, free: 11.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002312/0.1852, allocations: 1.163 MB / 441.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.186, allocations: 0.5231 MB / 442.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.186, allocations: 4.875 kB / 442.2 MB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.1863, allocations: 268.2 kB / 442.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.1871, allocations: 319.7 kB / 442.8 MB, free: 9.684 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1889, allocations: 1.484 MB / 444.3 MB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.189, allocations: 180.6 kB / 444.5 MB, free: 7.961 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.1893, allocations: 252.4 kB / 444.7 MB, free: 7.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.1896, allocations: 197.2 kB / 444.9 MB, free: 7.52 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1896, allocations: 0 / 444.9 MB, free: 7.52 MB / 410.7 MB Notification: Performance of Templates: time 0.1724/0.3619, allocations: 45.66 MB / 490.6 MB, free: 122.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6201883582398295]