Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.001411/0.001411, 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.001163/0.001163, allocations: 169.1 kB / 24.91 MB, free: 9.199 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 0.8872/0.8872, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.1775/0.1775, allocations: 36.34 MB / 275.4 MB, free: 10.54 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.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 305.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.418e-05/1.547e-05, allocations: 6.906 kB / 305.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.02872/0.02874, allocations: 19.7 MB / 324.9 MB, free: 168 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006751/0.03549, allocations: 8.169 MB / 333.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.03563, allocations: 19.81 kB / 333.1 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.03597, allocations: 127 kB / 333.2 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.03636, allocations: 317.6 kB / 333.5 MB, free: 7.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008032/0.04439, allocations: 4.55 MB / 338.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.04517, allocations: 0.8006 MB / 338.9 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.04547, allocations: 217 kB / 339.1 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004157/0.04589, allocations: 391 kB / 339.5 MB, free: 1.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.04613, allocations: 235.3 kB / 339.7 MB, free: 1.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.04616, allocations: 28 kB / 339.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007229/0.05339, allocations: 5.812 MB / 345.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.05347, allocations: 79.61 kB / 345.6 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.05361, allocations: 163.6 kB / 345.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00472/0.05833, allocations: 4.486 MB / 350.3 MB, free: 6.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.05833, allocations: 0 / 350.3 MB, free: 6.953 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.05833, allocations: 3.938 kB / 350.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.05834, allocations: 0 / 350.3 MB, free: 6.949 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001453/0.05979, allocations: 1.074 MB / 351.3 MB, free: 5.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.05982, allocations: 8.031 kB / 351.3 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.06001, allocations: 112.7 kB / 351.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.06029, allocations: 287.9 kB / 351.7 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.06031, allocations: 25.03 kB / 351.8 MB, free: 5.398 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.0606, allocations: 36.36 kB / 351.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.06095, allocations: 330.1 kB / 352.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.06096, allocations: 192 / 352.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.06098, allocations: 15.94 kB / 352.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.06099, allocations: 8 kB / 352.1 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.06118, allocations: 135.2 kB / 352.3 MB, free: 4.855 MB / 314.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.0008353/0.06201, allocations: 1.055 MB / 353.3 MB, free: 3.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.06219, allocations: 103 kB / 353.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.06223, allocations: 32.84 kB / 353.5 MB, free: 3.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.101/0.1633, allocations: 58.25 MB / 411.7 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.1633, allocations: 34.5 kB / 411.7 MB, free: 9.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.1633, allocations: 0 / 411.7 MB, free: 9.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001119/0.1644, allocations: 374.9 kB / 412.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1645, allocations: 59.28 kB / 412.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1647, allocations: 311.3 kB / 412.5 MB, free: 8.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1647, allocations: 25.7 kB / 412.5 MB, free: 8.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1648, allocations: 193.5 kB / 412.7 MB, free: 8.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1648, allocations: 55.52 kB / 412.7 MB, free: 8.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1649, allocations: 45.67 kB / 412.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.165, allocations: 350.7 kB / 413.1 MB, free: 7.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.425e-05/0.165, allocations: 20.84 kB / 413.1 MB, free: 7.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.1651, allocations: 64.25 kB / 413.2 MB, free: 7.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1652, allocations: 95.14 kB / 413.3 MB, free: 7.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1652, allocations: 0 / 413.3 MB, free: 7.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002809/0.1655, allocations: 154.2 kB / 413.4 MB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1655, allocations: 4 kB / 413.5 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1655, allocations: 4 kB / 413.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009776/0.1665, allocations: 300.5 kB / 413.8 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1666, allocations: 55.88 kB / 413.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004093/0.167, allocations: 0.5835 MB / 414.4 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1671, allocations: 23.88 kB / 414.4 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1671, allocations: 7.938 kB / 414.4 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.948e-05/0.1672, allocations: 104.2 kB / 414.5 MB, free: 6.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.386e-05/0.1673, allocations: 80.02 kB / 414.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.758e-05/0.1673, allocations: 108.2 kB / 414.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.1673, allocations: 0 / 414.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0002454/0.1676, allocations: 183 kB / 414.9 MB, free: 5.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.1676, allocations: 4 kB / 414.9 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.1676, allocations: 4 kB / 414.9 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001918/0.1678, allocations: 77.02 kB / 415 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1679, allocations: 51.89 kB / 415 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007599/0.1687, allocations: 1.265 MB / 416.3 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1688, allocations: 19.89 kB / 416.3 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1688, allocations: 4 kB / 416.3 MB, free: 4.406 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V1.fluidState.phase,V2.fluidState.phase,V3.fluidState.phase) * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.1689, allocations: 184.3 kB / 416.5 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.1689, allocations: 35.94 kB / 416.5 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.1696, allocations: 0.5315 MB / 417.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.1696, allocations: 12.12 kB / 417.1 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1696, allocations: 3.984 kB / 417.1 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1696, allocations: 0 / 417.1 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.1699, allocations: 283.2 kB / 417.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1699, allocations: 0 / 417.3 MB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.622e-05/0.1699, allocations: 19.98 kB / 417.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/0.1705, allocations: 404.2 kB / 417.8 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1705, allocations: 15.92 kB / 417.8 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003693/0.1709, allocations: 0.7469 MB / 418.5 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1709, allocations: 4.031 kB / 418.5 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.1712, allocations: 0.4984 MB / 419 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.1712, allocations: 47.59 kB / 419.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1713, allocations: 7.953 kB / 419.1 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.1713, allocations: 11.98 kB / 419.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1714, allocations: 11.97 kB / 419.1 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1714, allocations: 8 kB / 419.1 MB, free: 1.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.701e-05/0.1715, allocations: 148.7 kB / 419.3 MB, free: 1.363 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1715, allocations: 3.938 kB / 419.3 MB, free: 1.359 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001896/0.1734, allocations: 0.9707 MB / 420.2 MB, free: 396 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002295/0.1757, allocations: 1.136 MB / 421.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.1762, allocations: 328.4 kB / 421.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.1762, allocations: 4 kB / 421.7 MB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1763, allocations: 106.2 kB / 421.8 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.1768, allocations: 170.8 kB / 422 MB, free: 14.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1779, allocations: 0.8215 MB / 422.8 MB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.725e-05/0.1779, allocations: 121.5 kB / 422.9 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.1781, allocations: 161.7 kB / 423.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.1783, allocations: 125.2 kB / 423.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1783, allocations: 4 kB / 423.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of Templates: time 0.04333/0.2216, allocations: 38.42 MB / 461.6 MB, free: 6.906 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.705275671090931]