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.00103/0.00103, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.001125/0.001125, allocations: 161 kB / 24.55 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.9303/0.9303, allocations: 177.1 MB / 205 MB, free: 5.609 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.08514/0.08514, allocations: 19.74 MB / 281.2 MB, free: 9.23 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 2.204e-06/2.204e-06, allocations: 4 kB / 358 MB, free: 6.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.812e-05, allocations: 6.25 kB / 358 MB, free: 6.594 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.01962/0.01964, allocations: 24.87 MB / 382.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007732/0.02737, allocations: 8.519 MB / 391.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000281/0.02765, allocations: 19.75 kB / 391.4 MB, free: 5.062 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.02811, allocations: 162.6 kB / 391.5 MB, free: 4.902 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.02858, allocations: 321.6 kB / 391.8 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0106/0.03918, allocations: 5.109 MB / 397 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009019/0.04008, allocations: 0.9299 MB / 397.9 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000343/0.04042, allocations: 241.9 kB / 398.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007767/0.0412, allocations: 0.5413 MB / 398.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.04152, allocations: 267.2 kB / 398.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.361e-05/0.04158, allocations: 32 kB / 399 MB, free: 13.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008341/0.04992, allocations: 5.829 MB / 404.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.05, allocations: 95.53 kB / 404.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001765/0.05018, allocations: 187.6 kB / 405.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.05536, allocations: 4.548 MB / 409.6 MB, free: 2.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.05536, allocations: 4 kB / 409.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.05537, allocations: 0 / 409.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.05537, 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.00237/0.05774, allocations: 1.307 MB / 410.9 MB, free: 1.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.05778, allocations: 8.031 kB / 410.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.05817, allocations: 148.4 kB / 411.1 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004655/0.05864, allocations: 361.1 kB / 411.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.05875, allocations: 148 kB / 411.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.05879, allocations: 36.38 kB / 411.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007724/0.05956, allocations: 433.8 kB / 412 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.05958, allocations: 3.938 kB / 412 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.05961, allocations: 16 kB / 412.1 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.05962, allocations: 8 kB / 412.1 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1428/0.2024, allocations: 293.4 kB / 412.3 MB, free: 41.33 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.001443/0.2039, allocations: 1.516 MB / 413.9 MB, free: 40.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.2046, allocations: 325.4 kB / 414.2 MB, free: 40.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.2047, allocations: 75.62 kB / 414.3 MB, free: 40.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.2049, allocations: 43.66 kB / 414.3 MB, free: 40.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2049, allocations: 39.48 kB / 414.3 MB, free: 40.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.676e-06/0.2049, allocations: 0 / 414.3 MB, free: 40.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007497/0.2057, allocations: 386.6 kB / 414.7 MB, free: 40.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.2057, allocations: 82 kB / 414.8 MB, free: 40.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.2059, allocations: 394.9 kB / 415.2 MB, free: 39.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.206, allocations: 28.7 kB / 415.2 MB, free: 39.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.2061, allocations: 309.4 kB / 415.5 MB, free: 39.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.2061, allocations: 78.67 kB / 415.6 MB, free: 39.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.2062, allocations: 63.94 kB / 415.6 MB, free: 39.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.2062, allocations: 0.5176 MB / 416.2 MB, free: 39.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.592e-05/0.2063, allocations: 54.22 kB / 416.2 MB, free: 39.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.2065, allocations: 114.1 kB / 416.3 MB, free: 39.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.2067, allocations: 155.4 kB / 416.5 MB, free: 39.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2067, allocations: 5.062 kB / 416.5 MB, free: 39.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000336/0.207, allocations: 236.6 kB / 416.7 MB, free: 39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.207, allocations: 5.688 kB / 416.7 MB, free: 39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2071, allocations: 2.812 kB / 416.7 MB, free: 39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2071, allocations: 7.016 kB / 416.7 MB, free: 39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.2073, allocations: 64.59 kB / 416.8 MB, free: 39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.2073, allocations: 3.234 kB / 416.8 MB, free: 39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.2074, allocations: 29.47 kB / 416.8 MB, free: 38.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.2074, allocations: 17.19 kB / 416.8 MB, free: 38.99 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001217/0.2076, allocations: 168.8 kB / 417 MB, free: 38.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.804e-05/0.2077, allocations: 111 kB / 417.1 MB, free: 38.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001565/0.2078, allocations: 143.8 kB / 417.3 MB, free: 38.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/0.2078, allocations: 1.688 kB / 417.3 MB, free: 38.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002663/0.2081, allocations: 221.4 kB / 417.5 MB, free: 38.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.2081, allocations: 6.578 kB / 417.5 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.2081, allocations: 1.375 kB / 417.5 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/0.2081, allocations: 2.75 kB / 417.5 MB, free: 38.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.2082, allocations: 70.06 kB / 417.6 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.2083, allocations: 3.406 kB / 417.6 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2084, allocations: 31.08 kB / 417.6 MB, free: 38.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.2084, allocations: 14.12 kB / 417.6 MB, free: 38.66 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 9.468e-05/0.2085, allocations: 280 kB / 417.9 MB, free: 38.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2086, allocations: 51.03 kB / 417.9 MB, free: 38.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.2091, allocations: 229.7 kB / 418.1 MB, free: 38.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2091, allocations: 6.656 kB / 418.2 MB, free: 38.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2092, allocations: 1.469 kB / 418.2 MB, free: 38.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2092, allocations: 3.203 kB / 418.2 MB, free: 38.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.2095, allocations: 303.4 kB / 418.5 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2095, allocations: 0.6094 kB / 418.5 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.2097, allocations: 54.05 kB / 418.5 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2097, allocations: 2.047 kB / 418.5 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2097, allocations: 8.125 kB / 418.5 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.2097, allocations: 3.531 kB / 418.5 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2097, allocations: 5.219 kB / 418.5 MB, free: 38.18 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.2101, allocations: 471.5 kB / 419 MB, free: 37.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.2101, allocations: 47.5 kB / 419 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.2102, allocations: 7.406 kB / 419 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2103, allocations: 15.47 kB / 419.1 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.2104, allocations: 29.67 kB / 419.1 MB, free: 37.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.2104, allocations: 11.91 kB / 419.1 MB, free: 37.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.2105, allocations: 266 kB / 419.4 MB, free: 37.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2105, allocations: 0 / 419.4 MB, free: 37.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001918/0.2124, allocations: 0.9714 MB / 420.3 MB, free: 37.68 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.00222/0.2147, allocations: 1.089 MB / 421.4 MB, free: 37.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.2151, allocations: 246.4 kB / 421.7 MB, free: 37.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2151, allocations: 0 / 421.7 MB, free: 37.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2152, allocations: 91.97 kB / 421.7 MB, free: 37.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006843/0.2159, allocations: 217.5 kB / 422 MB, free: 37.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.2172, allocations: 0.7756 MB / 422.7 MB, free: 37.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.602e-05/0.2173, allocations: 106.6 kB / 422.8 MB, free: 37.05 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000475/0.2177, allocations: 444.6 kB / 423.3 MB, free: 37.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.2178, allocations: 42.8 kB / 423.3 MB, free: 37.02 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2178, allocations: 0 / 423.3 MB, free: 37.02 MB / 330.7 MB Notification: Performance of Templates: time 0.02505/0.2429, allocations: 34.88 MB / 458.2 MB, free: 12.38 MB / 330.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.13502066815272]