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.001319/0.001319, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001672/0.001672, allocations: 173.4 kB / 24.91 MB, free: 8.766 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.017/1.017, allocations: 158.6 MB / 186.8 MB, free: 2.328 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.2129/0.2129, 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.723e-06/1.723e-06, allocations: 0 / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.083e-05, allocations: 4.344 kB / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.02117/0.0212, allocations: 24.43 MB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008503/0.02971, allocations: 8.301 MB / 338 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002787/0.02998, allocations: 15.81 kB / 338 MB, free: 3.227 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004452/0.03043, allocations: 158.7 kB / 338.1 MB, free: 3.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004444/0.03087, allocations: 293.7 kB / 338.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.0418, allocations: 4.544 MB / 343 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008645/0.04266, allocations: 0.8328 MB / 343.8 MB, free: 13.38 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.04299, allocations: 234.7 kB / 344 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007286/0.04372, allocations: 498.3 kB / 344.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.04399, allocations: 243.2 kB / 344.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.04403, allocations: 32 kB / 344.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008636/0.05267, allocations: 6.215 MB / 351 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.05274, allocations: 83.62 kB / 351.1 MB, free: 6.082 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.05289, allocations: 171.6 kB / 351.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004861/0.05775, allocations: 4.498 MB / 355.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.05775, allocations: 0 / 355.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05776, allocations: 0 / 355.7 MB, free: 1.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.05776, allocations: 0 / 355.7 MB, free: 1.406 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.001522/0.05928, allocations: 1.085 MB / 356.8 MB, free: 300 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.05932, allocations: 8.031 kB / 356.8 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.05951, allocations: 100.7 kB / 356.9 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.05982, allocations: 287.8 kB / 357.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.05984, allocations: 25.03 kB / 357.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.05986, allocations: 32.38 kB / 357.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.0603, allocations: 374.3 kB / 357.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.06032, allocations: 4.125 kB / 357.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.06034, allocations: 15.94 kB / 357.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.06034, allocations: 8 kB / 357.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.06058, allocations: 151.7 kB / 357.8 MB, free: 15.25 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.001597/0.06218, allocations: 1.307 MB / 359.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.0627, allocations: 188.8 kB / 359.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.06275, allocations: 37.7 kB / 359.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1193/0.1821, allocations: 58.29 MB / 417.6 MB, free: 3.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.1821, allocations: 38.5 kB / 417.7 MB, free: 3.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.345e-06/0.1821, allocations: 0 / 417.7 MB, free: 3.246 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007158/0.1829, allocations: 201.4 kB / 417.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1829, allocations: 77.11 kB / 417.9 MB, free: 2.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.1832, allocations: 331.2 kB / 418.3 MB, free: 2.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1832, allocations: 25.7 kB / 418.3 MB, free: 2.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1833, allocations: 209.3 kB / 418.5 MB, free: 2.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.1834, allocations: 59.47 kB / 418.6 MB, free: 2.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.1834, allocations: 45.67 kB / 418.6 MB, free: 2.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1835, allocations: 350.7 kB / 418.9 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.1836, allocations: 28.84 kB / 419 MB, free: 1.879 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.764e-05/0.1837, allocations: 87.64 kB / 419.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1838, allocations: 124.8 kB / 419.2 MB, free: 1.617 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1838, allocations: 4 kB / 419.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001896/0.184, allocations: 158.2 kB / 419.3 MB, free: 1.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.184, allocations: 8 kB / 419.3 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.184, allocations: 0 / 419.3 MB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.184, allocations: 4 kB / 419.3 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.1842, allocations: 63.89 kB / 419.4 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1842, allocations: 3.938 kB / 419.4 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1844, allocations: 27.81 kB / 419.4 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.1844, allocations: 15.98 kB / 419.5 MB, free: 1.332 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.95e-05/0.1845, allocations: 108.1 kB / 419.6 MB, free: 1.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.73e-05/0.1846, allocations: 98.45 kB / 419.7 MB, free: 1.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001302/0.1847, allocations: 133.2 kB / 419.8 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.1847, allocations: 4 kB / 419.8 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0001732/0.1849, allocations: 149.8 kB / 419.9 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.1849, allocations: 8 kB / 419.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1849, allocations: 7.984 kB / 420 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-06/0.1849, allocations: 0 / 420 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.185, allocations: 68.17 kB / 420 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.185, allocations: 4 kB / 420 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1851, allocations: 27.88 kB / 420 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1851, allocations: 7.938 kB / 420.1 MB, free: 0.6523 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 0.0001082/0.1852, allocations: 196.2 kB / 420.2 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.1853, allocations: 23.97 kB / 420.3 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.1856, allocations: 325 kB / 420.6 MB, free: 104 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1856, allocations: 4 kB / 420.6 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.1856, allocations: 4 kB / 420.6 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1856, allocations: 7.938 kB / 420.6 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.1859, allocations: 248.2 kB / 420.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1859, allocations: 0 / 420.8 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1861, allocations: 43.95 kB / 420.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1861, allocations: 0 / 420.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1861, allocations: 11.94 kB / 420.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1861, allocations: 0 / 420.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1861, allocations: 0 / 420.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1863, allocations: 390.4 kB / 421.3 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.1863, allocations: 31.7 kB / 421.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.1864, allocations: 19.89 kB / 421.3 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1865, allocations: 11.98 kB / 421.3 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1865, allocations: 15.97 kB / 421.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.1865, allocations: 0 / 421.4 MB, free: 15.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1867, allocations: 192.4 kB / 421.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1867, allocations: 0 / 421.5 MB, free: 15.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001793/0.1885, allocations: 0.959 MB / 422.5 MB, free: 14.14 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.002353/0.1908, allocations: 1.133 MB / 423.6 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1911, allocations: 173.7 kB / 423.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.1911, allocations: 4 kB / 423.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.87e-05/0.1911, allocations: 56.88 kB / 423.9 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.1916, allocations: 185.4 kB / 424 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1928, allocations: 0.7416 MB / 424.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.312e-05/0.1929, allocations: 104.6 kB / 424.9 MB, free: 11.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002264/0.1931, allocations: 149.6 kB / 425 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.1933, allocations: 141.2 kB / 425.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1933, allocations: 0 / 425.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of Templates: time 0.04693/0.2403, allocations: 37.25 MB / 462.4 MB, free: 6.121 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.739808693062514]