Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.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.00145/0.00145, allocations: 80.8 kB / 21.49 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.001748/0.001748, allocations: 169.9 kB / 24.91 MB, free: 9.199 MB / 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 1.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.1045/0.1045, allocations: 19.74 MB / 281.6 MB, free: 9.145 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.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") translateModel(ThermoPower.Test.WaterComponents.WaterPump,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 305.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.016e-05, allocations: 2.312 kB / 305.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPump): time 0.02112/0.02114, allocations: 21.49 MB / 326.7 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.03129, allocations: 8.402 MB / 335.1 MB, free: 236 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005029/0.03179, allocations: 15.88 kB / 335.1 MB, free: 220 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000532/0.03232, allocations: 111.1 kB / 335.2 MB, free: 108 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008812/0.0332, allocations: 294.2 kB / 335.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.0435, allocations: 4.125 MB / 339.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.04435, allocations: 0.65 MB / 340.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.04471, allocations: 201.4 kB / 340.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008564/0.04556, allocations: 0.5068 MB / 341 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003389/0.0459, allocations: 239.3 kB / 341.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.04595, allocations: 24 kB / 341.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.0562, allocations: 6.321 MB / 347.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.705e-05/0.0563, allocations: 67.75 kB / 347.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.05647, allocations: 127.7 kB / 347.8 MB, free: 3.531 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007034/0.0635, allocations: 4.548 MB / 352.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.0635, allocations: 4 kB / 352.3 MB, free: 14.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.06351, allocations: 4 kB / 352.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.06351, allocations: 0 / 352.3 MB, free: 14.96 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002029/0.06554, allocations: 0.9607 MB / 353.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.06558, allocations: 12.03 kB / 353.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.06578, allocations: 68.81 kB / 353.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.06611, allocations: 245.7 kB / 353.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/0.0662, allocations: 127.9 kB / 353.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.06624, allocations: 24.38 kB / 353.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.06694, allocations: 281.5 kB / 354 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.06695, allocations: 3.938 kB / 354 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.06698, allocations: 12 kB / 354 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.06698, allocations: 4 kB / 354 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.0672, allocations: 91.38 kB / 354.1 MB, free: 13.05 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.0009353/0.06814, allocations: 0.7189 MB / 354.9 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.06836, allocations: 114.4 kB / 355 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.06841, allocations: 36.84 kB / 355 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1069/0.1753, allocations: 58.38 MB / 413.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1753, allocations: 42.5 kB / 413.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.1753, allocations: 0 / 413.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001184/0.1765, allocations: 413.8 kB / 413.8 MB, free: 1.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.1766, allocations: 55.41 kB / 413.9 MB, free: 1.172 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.1767, allocations: 250.9 kB / 414.1 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1767, allocations: 29.7 kB / 414.2 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.1768, allocations: 157.1 kB / 414.3 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.847e-05/0.1769, allocations: 75.41 kB / 414.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.146e-05/0.1769, allocations: 45.62 kB / 414.4 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.177, allocations: 342.7 kB / 414.8 MB, free: 260 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.341e-05/0.1771, allocations: 28.84 kB / 414.8 MB, free: 228 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.1771, allocations: 62.31 kB / 414.8 MB, free: 156 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1772, allocations: 118.4 kB / 415 MB, free: 28 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1772, allocations: 0 / 415 MB, free: 28 kB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003505/0.1776, allocations: 198.2 kB / 415.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1776, allocations: 8.094 kB / 415.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1776, allocations: 0 / 415.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.178, allocations: 134 kB / 415.3 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.317e-05/0.1781, allocations: 31.92 kB / 415.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004038/0.1785, allocations: 0.623 MB / 416 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1786, allocations: 35.83 kB / 416 MB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1786, allocations: 7.984 kB / 416 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.07e-05/0.1787, allocations: 104.1 kB / 416.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.672e-05/0.1788, allocations: 63.31 kB / 416.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.822e-05/0.1789, allocations: 83.38 kB / 416.2 MB, free: 14.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.11e-07/0.1789, allocations: 0 / 416.2 MB, free: 14.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0002246/0.1791, allocations: 185.3 kB / 416.4 MB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.1791, allocations: 8 kB / 416.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.1791, allocations: 0 / 416.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001272/0.1792, allocations: 56.89 kB / 416.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1794, allocations: 39.97 kB / 416.5 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009726/0.1803, allocations: 1.492 MB / 418 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.234e-05/0.1804, allocations: 35.88 kB / 418 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1804, allocations: 8 kB / 418.1 MB, free: 12.78 MB / 394.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: 2 (Pump.inletFluidState.phase,Pump.int_Np) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,6)} Notification: Performance of prepare postOptimizeDAE: time 8.26e-05/0.1805, allocations: 184.3 kB / 418.2 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1805, allocations: 31.91 kB / 418.3 MB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.1809, allocations: 372.7 kB / 418.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1809, allocations: 0 / 418.6 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.1809, allocations: 4 kB / 418.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.181, allocations: 3.984 kB / 418.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.1812, allocations: 217.4 kB / 418.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1812, allocations: 0 / 418.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1813, allocations: 39.97 kB / 418.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005053/0.1818, allocations: 180.5 kB / 419.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1818, allocations: 0 / 419.1 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003835/0.1822, allocations: 0.6793 MB / 419.7 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1822, allocations: 7.938 kB / 419.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.1826, allocations: 469.9 kB / 420.2 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.1826, allocations: 35.7 kB / 420.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1827, allocations: 12.05 kB / 420.3 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.1828, allocations: 23.92 kB / 420.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1828, allocations: 15.97 kB / 420.3 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1828, allocations: 11.98 kB / 420.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.1829, allocations: 88.62 kB / 420.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1829, allocations: 0 / 420.4 MB, free: 10.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002399/0.1853, allocations: 0.9278 MB / 421.3 MB, free: 9.414 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pump.h) * Number of discrete variables: 2 ($cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002563/0.1879, allocations: 1.195 MB / 422.5 MB, free: 8.211 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005304/0.1884, allocations: 378.6 kB / 422.9 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.1884, allocations: 4 kB / 422.9 MB, free: 7.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.1886, allocations: 134.2 kB / 423 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1889, allocations: 114 kB / 423.1 MB, free: 7.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1901, allocations: 0.727 MB / 423.9 MB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.571e-05/0.1901, allocations: 105 kB / 424 MB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.1903, allocations: 68.08 kB / 424 MB, free: 6.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.1904, allocations: 117.3 kB / 424.1 MB, free: 6.527 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.1904, allocations: 0 / 424.1 MB, free: 6.527 MB / 394.7 MB Notification: Performance of Templates: time 0.1599/0.3504, allocations: 38 MB / 462.1 MB, free: 114.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPump.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.375742086209357]