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.0009643/0.0009643, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.00118/0.00118, allocations: 170.3 kB / 24.91 MB, free: 9.195 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.9205/0.9205, 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.1869/0.1869, allocations: 36.34 MB / 275.4 MB, free: 10.55 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 2.164e-06/2.164e-06, allocations: 1.094 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.239e-05, allocations: 3.188 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.02028/0.02031, allocations: 19.75 MB / 325 MB, free: 80 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008286/0.02859, allocations: 8.169 MB / 333.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002907/0.02888, allocations: 19.81 kB / 333.2 MB, free: 8.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.02935, allocations: 130.9 kB / 333.3 MB, free: 7.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.02984, allocations: 313.6 kB / 333.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01059/0.04042, allocations: 4.124 MB / 337.7 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007986/0.04122, allocations: 0.7851 MB / 338.5 MB, free: 2.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003326/0.04155, allocations: 221 kB / 338.7 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.04199, allocations: 387 kB / 339.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.04229, allocations: 235.3 kB / 339.3 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.04233, allocations: 32 kB / 339.4 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009238/0.05157, allocations: 6.208 MB / 345.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.258e-05/0.05165, allocations: 83.61 kB / 345.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003092/0.05196, allocations: 167.6 kB / 345.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.06528, allocations: 4.486 MB / 350.3 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.06529, allocations: 0 / 350.3 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.06529, allocations: 8 kB / 350.3 MB, free: 6.883 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.0653, allocations: 0 / 350.3 MB, free: 6.883 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.002423/0.06772, allocations: 1.081 MB / 351.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.06776, allocations: 8.031 kB / 351.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/0.07107, allocations: 109.3 kB / 351.5 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003798/0.07145, allocations: 295.9 kB / 351.8 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.07148, allocations: 21.03 kB / 351.8 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.07151, allocations: 24.38 kB / 351.8 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.07202, allocations: 326.2 kB / 352.2 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.07203, allocations: 4.125 kB / 352.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.07205, allocations: 15.94 kB / 352.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.07206, allocations: 11.94 kB / 352.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.07236, allocations: 127.3 kB / 352.3 MB, free: 4.797 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.00115/0.07351, allocations: 1.055 MB / 353.4 MB, free: 3.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.07379, allocations: 102.4 kB / 353.5 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003063/0.07685, allocations: 41.09 kB / 353.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1191/0.1959, allocations: 58.25 MB / 411.8 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.196, allocations: 30.56 kB / 411.8 MB, free: 9.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.535e-06/0.196, allocations: 0 / 411.8 MB, free: 9.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.001319/0.1973, allocations: 386.8 kB / 412.2 MB, free: 8.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.1973, allocations: 51.41 kB / 412.2 MB, free: 8.758 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.1976, allocations: 303.3 kB / 412.5 MB, free: 8.445 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1976, allocations: 29.7 kB / 412.5 MB, free: 8.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1977, allocations: 193.4 kB / 412.7 MB, free: 8.219 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.1978, allocations: 55.52 kB / 412.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.1978, allocations: 49.66 kB / 412.8 MB, free: 8.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1979, allocations: 346.7 kB / 413.2 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.198, allocations: 24.84 kB / 413.2 MB, free: 7.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.364e-05/0.1981, allocations: 68.19 kB / 413.3 MB, free: 7.652 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.1982, allocations: 90.98 kB / 413.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1982, allocations: 0 / 413.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002122/0.1984, allocations: 158.3 kB / 413.5 MB, free: 7.387 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1984, allocations: 7.938 kB / 413.5 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1984, allocations: 4 kB / 413.5 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009957/0.1994, allocations: 300.5 kB / 413.8 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1997, allocations: 119.6 kB / 413.9 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004015/0.2001, allocations: 0.5797 MB / 414.5 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2002, allocations: 23.88 kB / 414.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2002, allocations: 4 kB / 414.5 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000342/0.2006, allocations: 104.1 kB / 414.6 MB, free: 6.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.452e-05/0.2006, allocations: 76.02 kB / 414.7 MB, free: 6.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.58e-05/0.2007, allocations: 117.1 kB / 414.8 MB, free: 5.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.21e-07/0.2007, allocations: 4 kB / 414.8 MB, free: 5.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0002485/0.201, allocations: 176.9 kB / 415 MB, free: 5.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.201, allocations: 4 kB / 415 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.201, allocations: 7.938 kB / 415 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001945/0.2012, allocations: 76.8 kB / 415.1 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.2014, allocations: 124.4 kB / 415.2 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007597/0.2022, allocations: 1.269 MB / 416.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.906e-05/0.2023, allocations: 11.89 kB / 416.5 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2023, allocations: 8 kB / 416.5 MB, free: 4.207 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 7.889e-05/0.2024, allocations: 196.2 kB / 416.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.2024, allocations: 15.98 kB / 416.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.2028, allocations: 0.5317 MB / 417.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2029, allocations: 7.984 kB / 417.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.2029, allocations: 0 / 417.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2029, allocations: 0 / 417.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.2031, allocations: 295.1 kB / 417.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2031, allocations: 0 / 417.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.2032, allocations: 27.92 kB / 417.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.2038, allocations: 396.3 kB / 417.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2038, allocations: 7.984 kB / 418 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004057/0.2042, allocations: 0.7507 MB / 418.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2042, allocations: 4 kB / 418.7 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.2045, allocations: 0.5024 MB / 419.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.2046, allocations: 47.59 kB / 419.3 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.2046, allocations: 15.94 kB / 419.3 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.2047, allocations: 4 kB / 419.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2047, allocations: 19.91 kB / 419.3 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-06/0.2047, allocations: 4 kB / 419.3 MB, free: 1.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.2048, allocations: 152.7 kB / 419.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2048, allocations: 0 / 419.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001739/0.2066, allocations: 0.9745 MB / 420.4 MB, free: 188 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.002198/0.2088, allocations: 1.135 MB / 421.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008401/0.2096, allocations: 335.7 kB / 421.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2096, allocations: 4 kB / 421.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.2097, allocations: 102.9 kB / 422 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.2102, allocations: 164.7 kB / 422.2 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.2112, allocations: 0.837 MB / 423 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.468e-05/0.2113, allocations: 117.6 kB / 423.1 MB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001823/0.2115, allocations: 153.9 kB / 423.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.2116, allocations: 125.3 kB / 423.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2116, allocations: 0 / 423.4 MB, free: 13.16 MB / 394.7 MB Notification: Performance of Templates: time 0.03905/0.2507, allocations: 38.83 MB / 462.2 MB, free: 6.289 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.404125577304512]