Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0009535/0.0009535, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.001045/0.001045, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.9277/0.9277, allocations: 177.1 MB / 205 MB, free: 5.637 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.09156/0.09156, allocations: 19.75 MB / 281.2 MB, free: 9.273 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_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.462e-05, allocations: 2.312 kB / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.02517/0.02519, allocations: 36.3 MB / 394.3 MB, free: 2.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008075/0.03327, allocations: 8.99 MB / 403.3 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.0336, allocations: 35.62 kB / 403.3 MB, free: 9.117 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005467/0.03415, allocations: 273.7 kB / 403.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007479/0.0349, allocations: 0.5894 MB / 404.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0098/0.0447, allocations: 5.848 MB / 410 MB, free: 2.383 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.04621, allocations: 1.624 MB / 411.6 MB, free: 0.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.04664, allocations: 390.2 kB / 412 MB, free: 368 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1203/0.167, allocations: 0.7258 MB / 412.7 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.1676, allocations: 444.2 kB / 413.2 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.99e-05/0.1676, allocations: 50.53 kB / 413.2 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/0.1755, allocations: 5.852 MB / 419.1 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.1756, allocations: 150.6 kB / 419.2 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.1759, allocations: 304.5 kB / 419.5 MB, free: 22.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00497/0.1809, allocations: 4.784 MB / 424.3 MB, free: 22.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1809, allocations: 0.8125 kB / 424.3 MB, free: 22.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1809, allocations: 0 / 424.3 MB, free: 22.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.1809, allocations: 0 / 424.3 MB, free: 22.34 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.002798/0.1837, allocations: 1.684 MB / 426 MB, free: 21.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1837, allocations: 9.844 kB / 426 MB, free: 21.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/0.1841, allocations: 224 kB / 426.2 MB, free: 21.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.1846, allocations: 0.5471 MB / 426.8 MB, free: 21.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1847, allocations: 280.1 kB / 427 MB, free: 20.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.186e-05/0.1847, allocations: 54.69 kB / 427.1 MB, free: 20.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.1855, allocations: 0.667 MB / 427.7 MB, free: 20.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1855, allocations: 3.406 kB / 427.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.1855, allocations: 29.14 kB / 427.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1855, allocations: 15.12 kB / 427.8 MB, free: 20.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006626/0.1862, allocations: 454.9 kB / 428.2 MB, free: 20.7 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.00146/0.1877, allocations: 2.684 MB / 430.9 MB, free: 18.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.188, allocations: 270.1 kB / 431.2 MB, free: 18.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.1881, allocations: 65.5 kB / 431.3 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1882, allocations: 10.41 kB / 431.3 MB, free: 18.71 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.1882, allocations: 43.77 kB / 431.3 MB, free: 18.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.1882, allocations: 0 / 431.3 MB, free: 18.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.000963/0.1891, allocations: 0.5003 MB / 431.8 MB, free: 18.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.1892, allocations: 133.6 kB / 431.9 MB, free: 18.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.1895, allocations: 0.5522 MB / 432.5 MB, free: 18.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1895, allocations: 31.45 kB / 432.5 MB, free: 18.22 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.1896, allocations: 447 kB / 433 MB, free: 17.99 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.1897, allocations: 81.34 kB / 433 MB, free: 17.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.1897, allocations: 67.19 kB / 433.1 MB, free: 17.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.1898, allocations: 0.5434 MB / 433.6 MB, free: 17.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.1899, allocations: 44.48 kB / 433.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.19, allocations: 97.83 kB / 433.8 MB, free: 17.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1902, allocations: 119.1 kB / 433.9 MB, free: 17.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1902, allocations: 2.516 kB / 433.9 MB, free: 17.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003002/0.1905, allocations: 239.8 kB / 434.1 MB, free: 17.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1905, allocations: 11.06 kB / 434.1 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1905, allocations: 3 kB / 434.1 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1905, allocations: 3.656 kB / 434.2 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.1907, allocations: 70.33 kB / 434.2 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1907, allocations: 0 / 434.2 MB, free: 17.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.1908, allocations: 23.25 kB / 434.2 MB, free: 17.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1908, allocations: 18.55 kB / 434.3 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001248/0.191, allocations: 164.2 kB / 434.4 MB, free: 17.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.273e-05/0.1911, allocations: 141.6 kB / 434.6 MB, free: 16.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001533/0.1912, allocations: 186.6 kB / 434.7 MB, free: 16.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.61e-07/0.1912, allocations: 0 / 434.7 MB, free: 16.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.0002828/0.1915, allocations: 246.7 kB / 435 MB, free: 16.76 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.1915, allocations: 6 kB / 435 MB, free: 16.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.1915, allocations: 7.75 kB / 435 MB, free: 16.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-06/0.1915, allocations: 5.625 kB / 435 MB, free: 16.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.1916, allocations: 63.89 kB / 435.1 MB, free: 16.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1916, allocations: 13.98 kB / 435.1 MB, free: 16.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.1918, allocations: 22.16 kB / 435.1 MB, free: 16.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1918, allocations: 13.03 kB / 435.1 MB, free: 16.75 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 (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 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 6.247e-05/0.1919, allocations: 282.8 kB / 435.4 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.1919, allocations: 71.75 kB / 435.5 MB, free: 16.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1922, allocations: 245.1 kB / 435.7 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1922, allocations: 3.594 kB / 435.7 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1922, allocations: 2.344 kB / 435.7 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1922, allocations: 0 / 435.7 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.193, allocations: 1.253 MB / 437 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.193, allocations: 3.031 kB / 437 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.1931, allocations: 56.7 kB / 437 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1931, allocations: 8.453 kB / 437 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.1931, allocations: 15.27 kB / 437 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1931, allocations: 7.812 kB / 437 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1931, allocations: 3.531 kB / 437 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1934, allocations: 0.8161 MB / 437.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.1935, allocations: 56.7 kB / 437.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.1935, allocations: 18.27 kB / 437.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1937, allocations: 6.969 kB / 437.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.1937, allocations: 35.58 kB / 438 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.1937, allocations: 17.3 kB / 438 MB, free: 14.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.1939, allocations: 384.1 kB / 438.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1939, allocations: 4 kB / 438.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00203/0.196, allocations: 1.123 MB / 439.5 MB, free: 14.49 MB / 330.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.002176/0.1981, allocations: 1.103 MB / 440.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.1985, allocations: 233 kB / 440.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1985, allocations: 448 / 440.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.1986, allocations: 79.06 kB / 440.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.1996, allocations: 384.7 kB / 441.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.2008, allocations: 1.154 MB / 442.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.058e-05/0.2009, allocations: 135.4 kB / 442.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005526/0.2015, allocations: 0.8293 MB / 443.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.2015, allocations: 55.55 kB / 443.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2015, allocations: 0 / 443.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of Templates: time 0.04619/0.2477, allocations: 38.63 MB / 482.1 MB, free: 8.855 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.519415818620473]