Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.001397/0.001397, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001631/0.001631, allocations: 169.9 kB / 24.91 MB, free: 8.723 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 1.013/1.013, allocations: 158.6 MB / 186.8 MB, free: 2.316 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.1847/0.1847, allocations: 36.34 MB / 275.4 MB, free: 10.52 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.453e-05, allocations: 4.812 kB / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.01993/0.01996, allocations: 24.38 MB / 329.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008854/0.02881, allocations: 8.304 MB / 337.9 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003835/0.02919, allocations: 15.81 kB / 337.9 MB, free: 3.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005226/0.02972, allocations: 146.8 kB / 338 MB, free: 3.141 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.03026, allocations: 301.7 kB / 338.3 MB, free: 2.844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01306/0.04333, allocations: 4.977 MB / 343.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.04435, allocations: 0.8327 MB / 344.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.04472, allocations: 234.6 kB / 344.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007723/0.04549, allocations: 0.4984 MB / 344.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.04579, allocations: 239.3 kB / 345.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.015e-05/0.04583, allocations: 32 kB / 345.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008752/0.05459, allocations: 5.804 MB / 350.9 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.05474, allocations: 87.53 kB / 351 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.05505, allocations: 179.5 kB / 351.2 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008168/0.06322, allocations: 4.49 MB / 355.7 MB, free: 1.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.06322, allocations: 0 / 355.7 MB, free: 1.441 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.06323, allocations: 0 / 355.7 MB, free: 1.441 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.06323, allocations: 0 / 355.7 MB, free: 1.441 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002216/0.06545, allocations: 1.085 MB / 356.8 MB, free: 336 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.06549, allocations: 15.97 kB / 356.8 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.0657, allocations: 104.7 kB / 356.9 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.06603, allocations: 289.4 kB / 357.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/0.06606, allocations: 28.97 kB / 357.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.06609, allocations: 28.38 kB / 357.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/0.06655, allocations: 367.6 kB / 357.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.06656, allocations: 2.625 kB / 357.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.06658, allocations: 12 kB / 357.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.06659, allocations: 8 kB / 357.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.06682, allocations: 147.8 kB / 357.7 MB, free: 15.28 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.001063/0.06788, allocations: 1.311 MB / 359.1 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000451/0.06833, allocations: 181 kB / 359.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.039e-05/0.06838, allocations: 49.56 kB / 359.3 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1011/0.1695, allocations: 58.29 MB / 417.6 MB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1695, allocations: 42.25 kB / 417.6 MB, free: 3.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.435e-06/0.1695, allocations: 0 / 417.6 MB, free: 3.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005149/0.17, allocations: 197.4 kB / 417.8 MB, free: 3.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1701, allocations: 85.05 kB / 417.9 MB, free: 2.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.1703, allocations: 319.2 kB / 418.2 MB, free: 2.641 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1703, allocations: 33.7 kB / 418.2 MB, free: 2.602 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.1704, allocations: 205.3 kB / 418.4 MB, free: 2.398 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.1704, allocations: 59.47 kB / 418.5 MB, free: 2.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.1705, allocations: 57.61 kB / 418.6 MB, free: 2.277 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003328/0.1708, allocations: 346.7 kB / 418.9 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.492e-05/0.1709, allocations: 28.84 kB / 418.9 MB, free: 1.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.1709, allocations: 92.33 kB / 419 MB, free: 1.781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.1711, allocations: 132.1 kB / 419.1 MB, free: 1.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1711, allocations: 0 / 419.1 MB, free: 1.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001757/0.1712, allocations: 150.8 kB / 419.3 MB, free: 1.473 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1713, allocations: 7.938 kB / 419.3 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1713, allocations: 12.2 kB / 419.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1713, allocations: 4 kB / 419.3 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.1714, allocations: 55.89 kB / 419.4 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1714, allocations: 3.938 kB / 419.4 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.1716, allocations: 27.88 kB / 419.4 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1716, allocations: 15.98 kB / 419.4 MB, free: 1.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.294e-05/0.1717, allocations: 100.1 kB / 419.5 MB, free: 1.246 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.529e-05/0.1717, allocations: 101.7 kB / 419.6 MB, free: 1.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001087/0.1718, allocations: 137.2 kB / 419.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.1718, allocations: 0 / 419.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0001559/0.172, allocations: 149.8 kB / 419.9 MB, free: 0.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.172, allocations: 8 kB / 419.9 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.172, allocations: 7.938 kB / 419.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-06/0.172, allocations: 0 / 419.9 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1721, allocations: 55.91 kB / 420 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1721, allocations: 15.98 kB / 420 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.1722, allocations: 32.11 kB / 420 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1722, allocations: 11.98 kB / 420 MB, free: 0.6641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * 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 8.003e-05/0.1723, allocations: 188.3 kB / 420.2 MB, free: 484 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.1724, allocations: 31.84 kB / 420.2 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.1726, allocations: 325 kB / 420.6 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1726, allocations: 0 / 420.6 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1726, allocations: 7.984 kB / 420.6 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1726, allocations: 0 / 420.6 MB, free: 108 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.173, allocations: 240.2 kB / 420.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.173, allocations: 0 / 420.8 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.1731, allocations: 43.91 kB / 420.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1731, allocations: 0 / 420.8 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1731, allocations: 12 kB / 420.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1731, allocations: 3.938 kB / 420.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1731, allocations: 0 / 420.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.1733, allocations: 374.5 kB / 421.2 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.1733, allocations: 27.77 kB / 421.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.1734, allocations: 27.83 kB / 421.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1735, allocations: 15.94 kB / 421.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.1735, allocations: 19.91 kB / 421.3 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.1735, allocations: 7.984 kB / 421.3 MB, free: 15.31 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1737, allocations: 184.4 kB / 421.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1737, allocations: 0 / 421.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002058/0.1757, allocations: 0.9667 MB / 422.5 MB, free: 14.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002821/0.1785, allocations: 1.125 MB / 423.6 MB, free: 13.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.1788, allocations: 169.6 kB / 423.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.1788, allocations: 4 kB / 423.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.678e-05/0.1789, allocations: 48.94 kB / 423.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.1794, allocations: 185.6 kB / 424 MB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1806, allocations: 0.7416 MB / 424.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.659e-05/0.1807, allocations: 104.6 kB / 424.8 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.1809, allocations: 146.2 kB / 425 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.1811, allocations: 145.2 kB / 425.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/0.1811, allocations: 0 / 425.1 MB, free: 11.44 MB / 394.7 MB Notification: Performance of Templates: time 0.03729/0.2184, allocations: 37.25 MB / 462.4 MB, free: 6.16 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.886950488202274]