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.001304/0.001304, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009204/0.0009204, allocations: 165 kB / 24.56 MB, free: 12 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.8611/0.8611, 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.08242/0.08242, allocations: 19.74 MB / 281.2 MB, free: 9.266 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.533e-06/1.533e-06, allocations: 0 / 358 MB, free: 6.605 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.759e-05, allocations: 2.312 kB / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.0212/0.02122, allocations: 24.87 MB / 382.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006972/0.02819, allocations: 8.523 MB / 391.4 MB, free: 5.078 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.02847, allocations: 19.81 kB / 391.4 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.0289, allocations: 158.6 kB / 391.5 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.02936, allocations: 321.6 kB / 391.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008838/0.0382, allocations: 5.105 MB / 397 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009379/0.03914, allocations: 0.93 MB / 397.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003446/0.03948, allocations: 250.8 kB / 398.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006618/0.04014, allocations: 0.5375 MB / 398.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.04043, allocations: 259.2 kB / 398.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.04048, allocations: 32 kB / 398.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007005/0.04748, allocations: 5.833 MB / 404.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-05/0.04757, allocations: 95.53 kB / 404.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.04776, allocations: 187.5 kB / 405.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005877/0.05363, allocations: 4.552 MB / 409.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.05364, allocations: 0 / 409.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.05364, allocations: 0 / 409.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.05365, allocations: 0 / 409.6 MB, free: 2.77 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002112/0.05576, allocations: 1.307 MB / 410.9 MB, free: 1.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.05579, allocations: 8.031 kB / 410.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.05609, allocations: 144.4 kB / 411.1 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.05648, allocations: 369.1 kB / 411.4 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.761e-05/0.05657, allocations: 148 kB / 411.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.05661, allocations: 32.38 kB / 411.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.05719, allocations: 441.8 kB / 412 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.0572, allocations: 3.938 kB / 412 MB, free: 220 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.05723, allocations: 15.94 kB / 412.1 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.05724, allocations: 8 kB / 412.1 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.117/0.1742, allocations: 294.2 kB / 412.3 MB, free: 29.86 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.001651/0.1758, allocations: 1.518 MB / 413.9 MB, free: 28.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007547/0.1766, allocations: 320.3 kB / 414.2 MB, free: 28.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1767, allocations: 71.02 kB / 414.2 MB, free: 28.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.1769, allocations: 49.02 kB / 414.3 MB, free: 28.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.177, allocations: 42.5 kB / 414.3 MB, free: 28.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/0.177, allocations: 0 / 414.3 MB, free: 28.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007921/0.1778, allocations: 382.9 kB / 414.7 MB, free: 28.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.1778, allocations: 81.75 kB / 414.8 MB, free: 28.67 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1781, allocations: 395.5 kB / 415.2 MB, free: 28.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1781, allocations: 34.25 kB / 415.2 MB, free: 28.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.1782, allocations: 301.3 kB / 415.5 MB, free: 28.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.1782, allocations: 78.66 kB / 415.6 MB, free: 28.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.1783, allocations: 63.58 kB / 415.6 MB, free: 28.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.1784, allocations: 0.5201 MB / 416.2 MB, free: 27.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1785, allocations: 54.14 kB / 416.2 MB, free: 27.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1786, allocations: 113.1 kB / 416.3 MB, free: 27.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.1789, allocations: 151.2 kB / 416.5 MB, free: 27.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1789, allocations: 1.891 kB / 416.5 MB, free: 27.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004172/0.1793, allocations: 235.7 kB / 416.7 MB, free: 27.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1794, allocations: 5.5 kB / 416.7 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1794, allocations: 2.453 kB / 416.7 MB, free: 27.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1794, allocations: 8.938 kB / 416.7 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.1796, allocations: 65.75 kB / 416.8 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1796, allocations: 2.75 kB / 416.8 MB, free: 27.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.1797, allocations: 31.33 kB / 416.8 MB, free: 27.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1797, allocations: 14.31 kB / 416.8 MB, free: 27.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001279/0.1799, allocations: 172.4 kB / 417 MB, free: 27.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.966e-05/0.18, allocations: 107.1 kB / 417.1 MB, free: 27.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001672/0.1801, allocations: 140.9 kB / 417.2 MB, free: 27.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.1801, allocations: 1.375 kB / 417.2 MB, free: 27.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002842/0.1804, allocations: 233.7 kB / 417.5 MB, free: 27.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.1804, allocations: 5.5 kB / 417.5 MB, free: 27.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.1804, allocations: 1.375 kB / 417.5 MB, free: 27.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.1804, allocations: 2.75 kB / 417.5 MB, free: 27.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1806, allocations: 65.5 kB / 417.6 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.1806, allocations: 2.75 kB / 417.6 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1807, allocations: 30.77 kB / 417.6 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1807, allocations: 13.52 kB / 417.6 MB, free: 27.19 MB / 330.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 (ValveVap.fluidState.phase,ValveLiqChocked.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.639e-05/0.1808, allocations: 290 kB / 417.9 MB, free: 26.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.1809, allocations: 50.38 kB / 417.9 MB, free: 26.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.1812, allocations: 218.5 kB / 418.1 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1812, allocations: 8.25 kB / 418.2 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1812, allocations: 1.281 kB / 418.2 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1812, allocations: 2.875 kB / 418.2 MB, free: 26.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.1816, allocations: 300 kB / 418.4 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1816, allocations: 0 / 418.4 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1817, allocations: 61.88 kB / 418.5 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1818, allocations: 3.531 kB / 418.5 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1818, allocations: 8.203 kB / 418.5 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1818, allocations: 2.219 kB / 418.5 MB, free: 26.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1818, allocations: 6.594 kB / 418.5 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1821, allocations: 473.9 kB / 419 MB, free: 26.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.1822, allocations: 44.19 kB / 419 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1822, allocations: 7.969 kB / 419 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1823, allocations: 14.22 kB / 419.1 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.1824, allocations: 29.97 kB / 419.1 MB, free: 26.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1824, allocations: 11.95 kB / 419.1 MB, free: 26.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.1826, allocations: 267.1 kB / 419.4 MB, free: 26.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1826, allocations: 0 / 419.4 MB, free: 26.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002091/0.1847, allocations: 0.9736 MB / 420.3 MB, free: 26.21 MB / 330.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.002917/0.1876, allocations: 1.085 MB / 421.4 MB, free: 26.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005657/0.1882, allocations: 246.7 kB / 421.7 MB, free: 26.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1882, allocations: 1.125 kB / 421.7 MB, free: 26.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.1883, allocations: 86.53 kB / 421.7 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/0.1892, allocations: 221.1 kB / 422 MB, free: 26.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1907, allocations: 0.7784 MB / 422.7 MB, free: 25.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.1908, allocations: 104.1 kB / 422.8 MB, free: 25.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005524/0.1913, allocations: 443 kB / 423.3 MB, free: 25.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.1914, allocations: 43.41 kB / 423.3 MB, free: 25.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1914, allocations: 0 / 423.3 MB, free: 25.51 MB / 330.7 MB Notification: Performance of Templates: time 0.03619/0.2276, allocations: 40.06 MB / 463.4 MB, free: 14.6 MB / 346.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: 4.744509749114513]