Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.0009323/0.0009323, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.002049, 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.0007988/0.0007988, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009929/0.001792, 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.9158/0.9158, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0899/1.006, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.09359/0.09359, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01516/0.1088, allocations: 7.557 MB / 271.3 MB, free: 3.469 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 272.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14e-05/1.281e-05, allocations: 6.312 kB / 272.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.1391/0.1392, allocations: 36.2 MB / 308.8 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008658/0.1478, allocations: 9.046 MB / 317.8 MB, free: 440 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003688/0.1482, allocations: 35.62 kB / 317.9 MB, free: 404 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.1486, allocations: 277.6 kB / 318.1 MB, free: 124 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007059/0.1493, allocations: 0.5855 MB / 318.7 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.1603, allocations: 5.408 MB / 324.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1617, allocations: 1.632 MB / 325.8 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000491/0.1622, allocations: 378.9 kB / 326.1 MB, free: 8.078 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008166/0.163, allocations: 0.8117 MB / 327 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.1634, allocations: 434.5 kB / 327.4 MB, free: 6.836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.1635, allocations: 48 kB / 327.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008462/0.1719, allocations: 6.268 MB / 333.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.231e-05/0.172, allocations: 115.4 kB / 333.8 MB, free: 412 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1723, allocations: 267.4 kB / 334.1 MB, free: 144 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.1775, allocations: 3.672 MB / 337.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.1775, allocations: 0 / 337.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1775, allocations: 0 / 337.7 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.1775, allocations: 0 / 337.7 MB, free: 12.46 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002215/0.1797, allocations: 2.072 MB / 339.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.1798, allocations: 8.031 kB / 339.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.18, allocations: 188.7 kB / 340 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.1805, allocations: 497.9 kB / 340.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.1806, allocations: 275.5 kB / 340.8 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.1807, allocations: 56.31 kB / 340.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.1813, allocations: 0.607 MB / 341.4 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1813, allocations: 7.938 kB / 341.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.1813, allocations: 28 kB / 341.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1813, allocations: 12 kB / 341.5 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.1818, allocations: 383.9 kB / 341.8 MB, free: 8.191 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.001567/0.1834, allocations: 1.828 MB / 343.7 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.1837, allocations: 238.4 kB / 343.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/0.1838, allocations: 47.55 kB / 343.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1838, allocations: 4 kB / 344 MB, free: 5.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.1838, allocations: 53.3 kB / 344 MB, free: 5.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.252e-06/0.1838, allocations: 0 / 344 MB, free: 5.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007847/0.1846, allocations: 457.1 kB / 344.5 MB, free: 5.461 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1847, allocations: 128.5 kB / 344.6 MB, free: 5.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.1849, allocations: 496 kB / 345.1 MB, free: 4.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.185, allocations: 29.7 kB / 345.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1851, allocations: 306 kB / 345.4 MB, free: 4.473 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.1851, allocations: 87.3 kB / 345.5 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.1852, allocations: 61.64 kB / 345.5 MB, free: 4.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.1853, allocations: 374.6 kB / 345.9 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.1853, allocations: 29.67 kB / 345.9 MB, free: 3.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.1854, allocations: 67.38 kB / 346 MB, free: 3.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1855, allocations: 117.1 kB / 346.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1855, allocations: 4 kB / 346.1 MB, free: 3.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0001814/0.1857, allocations: 166.6 kB / 346.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.1857, allocations: 4 kB / 346.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1857, allocations: 4 kB / 346.3 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.1857, allocations: 0 / 346.3 MB, free: 3.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.186, allocations: 108.3 kB / 346.4 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.186, allocations: 0 / 346.4 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1862, allocations: 23.84 kB / 346.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1862, allocations: 11.98 kB / 346.4 MB, free: 3.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001003/0.1863, allocations: 104.1 kB / 346.5 MB, free: 3.285 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.315e-05/0.1863, allocations: 105.3 kB / 346.6 MB, free: 3.148 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001249/0.1865, allocations: 152.4 kB / 346.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.1865, allocations: 3.938 kB / 346.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0001813/0.1866, allocations: 181.4 kB / 347 MB, free: 2.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-06/0.1867, allocations: 8 kB / 347 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-06/0.1867, allocations: 0 / 347 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-06/0.1867, allocations: 4 kB / 347 MB, free: 2.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1868, allocations: 101.6 kB / 347.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.1868, allocations: 4 kB / 347.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.187, allocations: 23.88 kB / 347.1 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.187, allocations: 12 kB / 347.1 MB, free: 2.629 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq1.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq4.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.634e-05/0.1871, allocations: 197.6 kB / 347.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.1871, allocations: 43.94 kB / 347.3 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.1873, allocations: 208.4 kB / 347.5 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1874, allocations: 4 kB / 347.6 MB, free: 2.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1874, allocations: 4 kB / 347.6 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1874, allocations: 0 / 347.6 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006883/0.188, allocations: 0.838 MB / 348.4 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1881, allocations: 4 kB / 348.4 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.581e-05/0.1881, allocations: 63.89 kB / 348.5 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1882, allocations: 67.44 kB / 348.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1882, allocations: 4 kB / 348.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1882, allocations: 15.92 kB / 348.5 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1882, allocations: 8.375 kB / 348.6 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1882, allocations: 7.938 kB / 348.6 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.1885, allocations: 0.5308 MB / 349.1 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1885, allocations: 12 kB / 349.1 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1887, allocations: 8 kB / 349.1 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1887, allocations: 35.83 kB / 349.1 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1887, allocations: 15.98 kB / 349.2 MB, free: 452 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.1888, allocations: 240.6 kB / 349.4 MB, free: 212 kB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1888, allocations: 0 / 349.4 MB, free: 212 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001741/0.1906, allocations: 1.13 MB / 350.5 MB, free: 15.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.001968/0.1926, allocations: 1.165 MB / 351.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1928, allocations: 209.2 kB / 351.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.1928, allocations: 8 kB / 351.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.1929, allocations: 73.14 kB / 352 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.1938, allocations: 447.3 kB / 352.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008732/0.2026, allocations: 1.149 MB / 353.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.2027, allocations: 141.3 kB / 353.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007118/0.2034, allocations: 0.838 MB / 354.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.2037, allocations: 233.1 kB / 354.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2037, allocations: 0 / 354.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of Templates: time 0.03821/0.2419, allocations: 43.44 MB / 398.2 MB, free: 15.49 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.011273286305368]