Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009232/0.0009232, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.000998/0.000998, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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.8778/0.8778, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.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.1005/0.1005, allocations: 19.74 MB / 281.5 MB, free: 9.336 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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.92e-07/7.92e-07, allocations: 0 / 357.9 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02e-05/1.099e-05, allocations: 4.141 kB / 357.9 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.03008/0.03009, allocations: 45.78 MB / 403.7 MB, free: 8.996 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.1231/0.1532, allocations: 9.266 MB / 413 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004458/0.1536, allocations: 19.38 kB / 413 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.1542, allocations: 213.2 kB / 413.2 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.1548, allocations: 320.3 kB / 413.5 MB, free: 16.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009275/0.1641, allocations: 5.202 MB / 418.7 MB, free: 16.41 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008008/0.1649, allocations: 0.9244 MB / 419.7 MB, free: 16.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002987/0.1652, allocations: 242.2 kB / 419.9 MB, free: 16.12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006428/0.1658, allocations: 0.5405 MB / 420.4 MB, free: 16.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1661, allocations: 270.6 kB / 420.7 MB, free: 16.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1661, allocations: 33.28 kB / 420.7 MB, free: 16.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006934/0.1731, allocations: 5.902 MB / 426.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.759e-05/0.1731, allocations: 96.09 kB / 426.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1733, allocations: 194.2 kB / 426.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.1778, allocations: 4.625 MB / 431.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1778, allocations: 4 kB / 431.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1778, allocations: 0 / 431.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1778, allocations: 2.625 kB / 431.6 MB, free: 14.74 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001748/0.1796, allocations: 1.316 MB / 432.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1796, allocations: 8.812 kB / 432.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.1799, allocations: 152.6 kB / 433 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1803, allocations: 363.8 kB / 433.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.137e-05/0.1803, allocations: 144 kB / 433.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1804, allocations: 32.53 kB / 433.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.1809, allocations: 441.5 kB / 434 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1809, allocations: 0 / 434 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.181, allocations: 17.56 kB / 434 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.181, allocations: 8.719 kB / 434 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004373/0.1814, allocations: 297.6 kB / 434.3 MB, free: 13.15 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.001006/0.1824, allocations: 1.531 MB / 435.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/0.183, allocations: 328.5 kB / 436.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.033e-05/0.1831, allocations: 72.03 kB / 436.2 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.1833, allocations: 48.66 kB / 436.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.1833, allocations: 39.52 kB / 436.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.1833, allocations: 0 / 436.3 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006842/0.184, allocations: 377.9 kB / 436.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.1841, allocations: 91 kB / 436.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1843, allocations: 394.5 kB / 437.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1843, allocations: 30.89 kB / 437.2 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.1844, allocations: 296.7 kB / 437.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.1844, allocations: 81.31 kB / 437.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.1845, allocations: 61.09 kB / 437.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.1845, allocations: 0.5227 MB / 438.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.1846, allocations: 56.38 kB / 438.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1847, allocations: 116.8 kB / 438.3 MB, free: 10.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1849, allocations: 146.8 kB / 438.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1849, allocations: 0 / 438.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002865/0.1852, allocations: 244.1 kB / 438.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1852, allocations: 6.656 kB / 438.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1852, allocations: 0 / 438.7 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1852, allocations: 7.219 kB / 438.7 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1854, allocations: 63.95 kB / 438.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1854, allocations: 2.75 kB / 438.8 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.1855, allocations: 30.09 kB / 438.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.1855, allocations: 17.19 kB / 438.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001114/0.1856, allocations: 170.7 kB / 439 MB, free: 10.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.589e-05/0.1857, allocations: 108.5 kB / 439.1 MB, free: 9.977 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001415/0.1859, allocations: 155.5 kB / 439.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.02e-07/0.1859, allocations: 0 / 439.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002402/0.1861, allocations: 218.3 kB / 439.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.1861, allocations: 5.594 kB / 439.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.1861, allocations: 2.969 kB / 439.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.1861, allocations: 0 / 439.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1862, allocations: 71.3 kB / 439.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.1862, allocations: 7.188 kB / 439.5 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1863, allocations: 28 kB / 439.6 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1864, allocations: 8.656 kB / 439.6 MB, free: 9.781 MB / 330.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 (ValveVap.fluidState.phase,ValveLiqChocked.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 6.192e-05/0.1864, allocations: 289 kB / 439.9 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.1865, allocations: 48.25 kB / 439.9 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.1868, allocations: 232.1 kB / 440.1 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1868, allocations: 7.125 kB / 440.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1868, allocations: 0 / 440.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1868, allocations: 0 / 440.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.187, allocations: 303.6 kB / 440.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.187, allocations: 2.5 kB / 440.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.1872, allocations: 54.25 kB / 440.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1872, allocations: 3.031 kB / 440.5 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.1872, allocations: 10.42 kB / 440.5 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1872, allocations: 4 kB / 440.5 MB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1872, allocations: 7.031 kB / 440.5 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1874, allocations: 470.2 kB / 441 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.1875, allocations: 43.34 kB / 441 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.1875, allocations: 2.938 kB / 441 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.1876, allocations: 14.14 kB / 441 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.721e-05/0.1877, allocations: 32.02 kB / 441.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1877, allocations: 17.48 kB / 441.1 MB, free: 8.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1878, allocations: 272.2 kB / 441.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1878, allocations: 0 / 441.3 MB, free: 8.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001373/0.1892, allocations: 0.9682 MB / 442.3 MB, free: 8.488 MB / 330.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.001995/0.1912, allocations: 1.089 MB / 443.4 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.1915, allocations: 245.6 kB / 443.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1915, allocations: 2.969 kB / 443.6 MB, free: 8.125 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.1916, allocations: 88.42 kB / 443.7 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/0.1923, allocations: 218.6 kB / 443.9 MB, free: 8.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1934, allocations: 0.7619 MB / 444.7 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.1935, allocations: 108.6 kB / 444.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.1938, allocations: 450.9 kB / 445.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.1939, allocations: 43.3 kB / 445.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1939, allocations: 0 / 445.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of Templates: time 0.02934/0.2233, allocations: 34.98 MB / 480.3 MB, free: 6.121 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9753249529749155]