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.0009542/0.0009542, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002343, 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.001064/0.001064, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001359/0.002423, 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.8882/0.8882, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07713/0.9653, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.08832/0.08832, allocations: 19.79 MB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01677/0.1051, allocations: 7.565 MB / 271.5 MB, free: 3.34 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 1.523e-06/1.523e-06, allocations: 0 / 272.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.493e-05, allocations: 2.312 kB / 272.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.1358/0.1358, allocations: 24.86 MB / 297.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008761/0.1446, allocations: 8.561 MB / 306.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000439/0.145, allocations: 15.81 kB / 306.3 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.1455, allocations: 166.5 kB / 306.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.146, allocations: 317.6 kB / 306.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01084/0.1568, allocations: 4.674 MB / 311.4 MB, free: 6.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1579, allocations: 0.9339 MB / 312.3 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003479/0.1582, allocations: 242.9 kB / 312.6 MB, free: 5.789 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.159, allocations: 0.5755 MB / 313.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.1594, allocations: 261.9 kB / 313.4 MB, free: 4.957 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.1594, allocations: 36 kB / 313.4 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008406/0.1678, allocations: 6.242 MB / 319.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1679, allocations: 75.61 kB / 319.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.1682, allocations: 155.7 kB / 319.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006369/0.1745, allocations: 3.446 MB / 323.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.357e-05/0.1745, allocations: 0 / 323.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1745, allocations: 0 / 323.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.1746, allocations: 3.938 kB / 323.4 MB, free: 10.99 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.002517/0.1771, allocations: 1.582 MB / 324.9 MB, free: 9.359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.1771, allocations: 8.031 kB / 324.9 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/0.1774, allocations: 132.7 kB / 325.1 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1778, allocations: 323.7 kB / 325.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.918e-05/0.1778, allocations: 148 kB / 325.5 MB, free: 8.715 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.1779, allocations: 32.38 kB / 325.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.1787, allocations: 400.8 kB / 326 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1787, allocations: 7.938 kB / 326 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1787, allocations: 12 kB / 326 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1787, allocations: 13.31 kB / 326 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.179, allocations: 225.9 kB / 326.2 MB, free: 8.012 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.0009839/0.18, allocations: 1.061 MB / 327.3 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.1806, allocations: 272.9 kB / 327.5 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.1806, allocations: 51.06 kB / 327.6 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.1808, allocations: 47.95 kB / 327.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1808, allocations: 38.5 kB / 327.7 MB, free: 6.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.994e-06/0.1808, allocations: 0 / 327.7 MB, free: 6.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005429/0.1814, allocations: 306.1 kB / 328 MB, free: 6.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1814, allocations: 89.03 kB / 328.1 MB, free: 6.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1816, allocations: 331.3 kB / 328.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1816, allocations: 33.7 kB / 328.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.1817, allocations: 209.3 kB / 328.6 MB, free: 5.484 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.1817, allocations: 83.3 kB / 328.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.1818, allocations: 53.62 kB / 328.8 MB, free: 5.344 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.066e-05/0.1819, allocations: 354.7 kB / 329.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.832e-05/0.1819, allocations: 39.7 kB / 329.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.182, allocations: 73.12 kB / 329.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.1821, allocations: 136.6 kB / 329.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1822, allocations: 0 / 329.3 MB, free: 4.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001922/0.1823, allocations: 161.5 kB / 329.5 MB, free: 4.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1824, allocations: 8 kB / 329.5 MB, free: 4.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1824, allocations: 4 kB / 329.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1824, allocations: 0 / 329.5 MB, free: 4.535 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.1826, allocations: 79.88 kB / 329.6 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1826, allocations: 3.938 kB / 329.6 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1827, allocations: 23.88 kB / 329.6 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1827, allocations: 11.98 kB / 329.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.521e-05/0.1828, allocations: 116.1 kB / 329.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.521e-05/0.1828, allocations: 75.14 kB / 329.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001111/0.183, allocations: 123.3 kB / 329.9 MB, free: 4.074 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.183, allocations: 4 kB / 329.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000161/0.1831, allocations: 160.9 kB / 330.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.1831, allocations: 8 kB / 330.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-06/0.1831, allocations: 0 / 330.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-06/0.1831, allocations: 4 kB / 330.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.1833, allocations: 75.88 kB / 330.2 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.1833, allocations: 0 / 330.2 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.1834, allocations: 31.94 kB / 330.2 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1834, allocations: 8 kB / 330.2 MB, free: 3.785 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.556e-05/0.1835, allocations: 192.2 kB / 330.4 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.1835, allocations: 35.95 kB / 330.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.1837, allocations: 179 kB / 330.6 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1837, allocations: 4 kB / 330.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1837, allocations: 11.88 kB / 330.6 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1837, allocations: 3.984 kB / 330.6 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.184, allocations: 206.5 kB / 330.8 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.184, allocations: 0 / 330.8 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.1841, allocations: 59.95 kB / 330.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.1842, allocations: 47.64 kB / 331 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1842, allocations: 0 / 331 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1842, allocations: 8 kB / 331 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1842, allocations: 5.625 kB / 331 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1842, allocations: 0 / 331 MB, free: 3.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.1844, allocations: 326.5 kB / 331.3 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1844, allocations: 4 kB / 331.3 MB, free: 2.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.1845, allocations: 15.98 kB / 331.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1846, allocations: 23.95 kB / 331.3 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1846, allocations: 11.98 kB / 331.3 MB, free: 2.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.485e-05/0.1847, allocations: 148.6 kB / 331.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1847, allocations: 0 / 331.5 MB, free: 2.484 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001873/0.1866, allocations: 0.9745 MB / 332.5 MB, free: 1.508 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.002593/0.1892, allocations: 1.161 MB / 333.6 MB, free: 344 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.1895, allocations: 190.4 kB / 333.8 MB, free: 148 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.1895, allocations: 4 kB / 333.8 MB, free: 144 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1896, allocations: 90.8 kB / 333.9 MB, free: 52 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008626/0.1904, allocations: 1.13 MB / 335 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005958/0.1964, allocations: 0.7695 MB / 335.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.909e-05/0.1965, allocations: 105.3 kB / 335.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.1969, allocations: 450.5 kB / 336.3 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.1972, allocations: 161.2 kB / 336.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1972, allocations: 0 / 336.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of Templates: time 0.03153/0.2287, allocations: 33.6 MB / 370.1 MB, free: 11.73 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.3856853991746902]