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.0009764/0.0009764, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001266/0.002242, allocations: 449.7 kB / 10.37 MB, free: 328 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.00107/0.00107, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00126/0.002331, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.8904/0.8904, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09229/0.9827, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.09671/0.09671, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01183/0.1085, allocations: 7.553 MB / 271.3 MB, free: 3.48 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.082e-06/1.082e-06, allocations: 0 / 272.6 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.897e-05, allocations: 5.828 kB / 272.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.134/0.134, allocations: 24.85 MB / 297.4 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008054/0.1421, allocations: 8.566 MB / 306 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003822/0.1425, allocations: 19.81 kB / 306 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.1429, allocations: 162.6 kB / 306.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.1433, allocations: 317.5 kB / 306.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.1545, allocations: 4.673 MB / 311.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.1556, allocations: 0.934 MB / 312.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.156, allocations: 246.8 kB / 312.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008792/0.1569, allocations: 0.5755 MB / 312.9 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003699/0.1573, allocations: 255.2 kB / 313.2 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.1573, allocations: 36 kB / 313.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008643/0.166, allocations: 6.247 MB / 319.4 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.1661, allocations: 71.62 kB / 319.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.1663, allocations: 155.7 kB / 319.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007811/0.1741, allocations: 3.462 MB / 323.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.674e-05/0.1742, allocations: 0 / 323.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1742, allocations: 0 / 323.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.189e-05/0.1742, allocations: 4 kB / 323.1 MB, free: 10.75 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.002762/0.1769, allocations: 1.57 MB / 324.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.177, allocations: 12.03 kB / 324.7 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.1773, allocations: 133.9 kB / 324.8 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.1777, allocations: 327.7 kB / 325.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.697e-05/0.1778, allocations: 148 kB / 325.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1779, allocations: 28.38 kB / 325.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.1784, allocations: 404.8 kB / 325.7 MB, free: 8.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1784, allocations: 3.938 kB / 325.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.1784, allocations: 15.98 kB / 325.8 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1784, allocations: 12 kB / 325.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.1788, allocations: 237.7 kB / 326 MB, free: 7.758 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.001117/0.1799, allocations: 1.042 MB / 327 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.1805, allocations: 296.5 kB / 327.3 MB, free: 6.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.901e-05/0.1805, allocations: 45.7 kB / 327.4 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.1807, allocations: 35.97 kB / 327.4 MB, free: 6.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1807, allocations: 42.55 kB / 327.4 MB, free: 6.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.043e-06/0.1807, allocations: 3.938 kB / 327.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005275/0.1813, allocations: 302.2 kB / 327.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.1813, allocations: 88.98 kB / 327.8 MB, free: 5.828 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1815, allocations: 335.3 kB / 328.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1815, allocations: 25.7 kB / 328.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/0.1816, allocations: 209.3 kB / 328.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.1816, allocations: 79.3 kB / 328.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003146/0.1819, allocations: 61.61 kB / 328.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/0.182, allocations: 354.7 kB / 328.9 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.1821, allocations: 36.84 kB / 328.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.1822, allocations: 73.11 kB / 329 MB, free: 4.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1823, allocations: 128.1 kB / 329.1 MB, free: 4.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1823, allocations: 0 / 329.1 MB, free: 4.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001892/0.1825, allocations: 158.4 kB / 329.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1825, allocations: 8 kB / 329.3 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1825, allocations: 3.984 kB / 329.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1825, allocations: 4 kB / 329.3 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.1827, allocations: 80.88 kB / 329.4 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1827, allocations: 7.938 kB / 329.4 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.1828, allocations: 23.88 kB / 329.4 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.1828, allocations: 19.97 kB / 329.4 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.195e-05/0.1829, allocations: 116 kB / 329.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.041e-05/0.183, allocations: 77.62 kB / 329.6 MB, free: 3.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001058/0.1831, allocations: 117.3 kB / 329.7 MB, free: 3.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.1831, allocations: 4 kB / 329.7 MB, free: 3.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0001532/0.1832, allocations: 157.5 kB / 329.9 MB, free: 3.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.643e-06/0.1832, allocations: 8 kB / 329.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.1832, allocations: 0 / 329.9 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.835e-06/0.1832, allocations: 4 kB / 329.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.1834, allocations: 69.14 kB / 329.9 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.1834, allocations: 7.875 kB / 330 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.743e-05/0.1835, allocations: 31.81 kB / 330 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1835, allocations: 11.98 kB / 330 MB, free: 3.543 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 8.434e-05/0.1836, allocations: 196.1 kB / 330.2 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1836, allocations: 31.97 kB / 330.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.1838, allocations: 179.1 kB / 330.4 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1838, allocations: 4 kB / 330.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1838, allocations: 3.938 kB / 330.4 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1838, allocations: 0 / 330.4 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1841, allocations: 219.6 kB / 330.6 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1841, allocations: 7.938 kB / 330.6 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1842, allocations: 59.95 kB / 330.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.1843, allocations: 43.64 kB / 330.7 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1843, allocations: 4 kB / 330.7 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1843, allocations: 7.984 kB / 330.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1843, allocations: 0 / 330.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1843, allocations: 0 / 330.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.1845, allocations: 326.4 kB / 331.1 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.1845, allocations: 8 kB / 331.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1846, allocations: 15.98 kB / 331.1 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.1847, allocations: 23.95 kB / 331.1 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1847, allocations: 8 kB / 331.1 MB, free: 2.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.1848, allocations: 144.6 kB / 331.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1848, allocations: 0 / 331.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00188/0.1867, allocations: 0.9707 MB / 332.2 MB, free: 1.266 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.002358/0.189, allocations: 1.164 MB / 333.4 MB, free: 92 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.1893, allocations: 203.7 kB / 333.6 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/0.1893, allocations: 4 kB / 333.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.104e-05/0.1894, allocations: 65.42 kB / 333.7 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.19, allocations: 254.5 kB / 333.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005839/0.1958, allocations: 0.7869 MB / 334.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.658e-05/0.1959, allocations: 105.3 kB / 334.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004665/0.1964, allocations: 444.3 kB / 335.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.1966, allocations: 165.2 kB / 335.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/0.1966, allocations: 4 kB / 335.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of Templates: time 0.06787/0.2645, allocations: 38.84 MB / 374.2 MB, free: 7.32 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: 4.0056919399648905]