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.0006855/0.0006855, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009087/0.001594, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000689/0.000689, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008834/0.001572, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9409/0.9409, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0975/1.038, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08876/0.08876, allocations: 19.78 MB / 263.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01755/0.1063, allocations: 7.569 MB / 271.5 MB, free: 3.359 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.493e-06/1.493e-06, allocations: 0 / 272.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.928e-05, allocations: 2.312 kB / 272.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.1612/0.1612, allocations: 24.86 MB / 297.7 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008446/0.1697, allocations: 8.558 MB / 306.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.17, allocations: 23.75 kB / 306.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.1704, allocations: 162.6 kB / 306.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005367/0.1709, allocations: 317.5 kB / 306.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.1826, allocations: 4.674 MB / 311.4 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009232/0.1835, allocations: 0.93 MB / 312.3 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.1838, allocations: 249.9 kB / 312.6 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008045/0.1846, allocations: 0.5755 MB / 313.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1849, allocations: 259.1 kB / 313.4 MB, free: 4.969 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.185, allocations: 32 kB / 313.4 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008407/0.1934, allocations: 6.245 MB / 319.7 MB, free: 14.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.1935, allocations: 75.62 kB / 319.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1936, allocations: 155.7 kB / 319.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005668/0.1993, allocations: 3.442 MB / 323.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.1993, allocations: 0 / 323.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1993, allocations: 0 / 323.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.1993, allocations: 7.938 kB / 323.4 MB, free: 11 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002868/0.2022, allocations: 1.574 MB / 324.9 MB, free: 9.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2022, allocations: 12.03 kB / 324.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.2025, allocations: 128.7 kB / 325.1 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.2029, allocations: 335.7 kB / 325.4 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/0.203, allocations: 148 kB / 325.5 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.203, allocations: 32.38 kB / 325.6 MB, free: 8.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.2036, allocations: 392.9 kB / 326 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.2036, allocations: 7.875 kB / 326 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.2036, allocations: 16 kB / 326 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.2037, allocations: 13.31 kB / 326 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.204, allocations: 229.9 kB / 326.2 MB, free: 8.02 MB / 314.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.001025/0.205, allocations: 1.055 MB / 327.3 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.2056, allocations: 284.8 kB / 327.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.07e-05/0.2057, allocations: 53.62 kB / 327.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.2059, allocations: 39.97 kB / 327.6 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.2059, allocations: 30.56 kB / 327.7 MB, free: 6.496 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.2059, allocations: 4 kB / 327.7 MB, free: 6.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007108/0.2066, allocations: 307 kB / 328 MB, free: 6.188 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2066, allocations: 85.05 kB / 328.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.2068, allocations: 335.3 kB / 328.4 MB, free: 5.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.2068, allocations: 29.7 kB / 328.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.133e-05/0.2069, allocations: 209.3 kB / 328.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.207, allocations: 79.3 kB / 328.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.2071, allocations: 61.62 kB / 328.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2072, allocations: 354.7 kB / 329.1 MB, free: 5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.2072, allocations: 35.72 kB / 329.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.2073, allocations: 77.05 kB / 329.2 MB, free: 4.871 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2074, allocations: 126.1 kB / 329.3 MB, free: 4.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2074, allocations: 4 kB / 329.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001941/0.2076, allocations: 158.1 kB / 329.5 MB, free: 4.566 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2076, allocations: 4 kB / 329.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2076, allocations: 0 / 329.5 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2077, allocations: 12.11 kB / 329.5 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.2078, allocations: 75.88 kB / 329.6 MB, free: 4.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2079, allocations: 7.938 kB / 329.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.208, allocations: 27.88 kB / 329.6 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.208, allocations: 8 kB / 329.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.529e-05/0.2081, allocations: 114.2 kB / 329.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.77e-05/0.2081, allocations: 89.55 kB / 329.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001097/0.2083, allocations: 119.3 kB / 329.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.51e-07/0.2083, allocations: 0 / 329.9 MB, free: 4.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001675/0.2084, allocations: 159.2 kB / 330.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.2084, allocations: 4 kB / 330.1 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2084, allocations: 4 kB / 330.1 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.2084, allocations: 0 / 330.1 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.2086, allocations: 71.89 kB / 330.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2086, allocations: 7.984 kB / 330.2 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.639e-05/0.2087, allocations: 27.83 kB / 330.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.2087, allocations: 16.08 kB / 330.2 MB, free: 3.793 MB / 314.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: 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 (29): * Single equations (assignments): 29 * 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 9.011e-05/0.2088, allocations: 192.2 kB / 330.4 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.2088, allocations: 31.97 kB / 330.5 MB, free: 3.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.209, allocations: 183.2 kB / 330.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2091, allocations: 4 kB / 330.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.2091, allocations: 7.875 kB / 330.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2091, allocations: 0 / 330.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.2093, allocations: 210.5 kB / 330.8 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2093, allocations: 4 kB / 330.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.2094, allocations: 63.89 kB / 330.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.908e-05/0.2095, allocations: 43.66 kB / 331 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.2095, allocations: 3.984 kB / 331 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.2095, allocations: 4 kB / 331 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2095, allocations: 5.688 kB / 331 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2095, allocations: 0 / 331 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.2097, allocations: 323 kB / 331.3 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2097, allocations: 8 kB / 331.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.2098, allocations: 15.98 kB / 331.3 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2099, allocations: 23.95 kB / 331.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.2099, allocations: 4 kB / 331.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.053e-05/0.21, allocations: 152.6 kB / 331.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.21, allocations: 0 / 331.5 MB, free: 2.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001749/0.2117, allocations: 0.9745 MB / 332.5 MB, free: 1.52 MB / 314.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: 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 simulation (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 Backend phase and start with SimCode phase: time 0.002344/0.2141, allocations: 1.157 MB / 333.6 MB, free: 360 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.2144, allocations: 201.6 kB / 333.8 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.2144, allocations: 8 kB / 333.8 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/0.2145, allocations: 80.75 kB / 333.9 MB, free: 64 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/0.2154, allocations: 1.123 MB / 335 MB, free: 14.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/0.2212, allocations: 0.7771 MB / 335.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.863e-05/0.2212, allocations: 101.3 kB / 335.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.2216, allocations: 449.8 kB / 336.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.2219, allocations: 165.2 kB / 336.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2219, allocations: 0 / 336.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of Templates: time 0.02978/0.2516, allocations: 33.59 MB / 370.1 MB, free: 11.75 MB / 362.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: 3.5259910579770803]