Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.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.0009712/0.0009712, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001029/0.001029, allocations: 164.9 kB / 24.82 MB, free: 9.27 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 0.9556/0.9556, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.1316/0.1316, allocations: 19.74 MB / 281.5 MB, free: 9.113 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.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps") translateModel(ThermoPower.Test.WaterComponents.WaterPumps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 358.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.073e-05, allocations: 2.312 kB / 358.4 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.02725/0.02727, allocations: 37.97 MB / 396.4 MB, free: 204 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.03838, allocations: 9.322 MB / 405.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007103/0.03909, allocations: 51.5 kB / 405.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.03975, allocations: 273.7 kB / 406.1 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.04109, allocations: 0.7451 MB / 406.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01083/0.05192, allocations: 5.436 MB / 412.2 MB, free: 320 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.146/0.198, allocations: 1.785 MB / 414 MB, free: 21.41 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008877/0.1989, allocations: 0.5108 MB / 414.5 MB, free: 21.37 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.2013, allocations: 1.51 MB / 416 MB, free: 21.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.2023, allocations: 0.6574 MB / 416.7 MB, free: 21.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.2025, allocations: 67.41 kB / 416.8 MB, free: 21.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009903/0.2124, allocations: 6.011 MB / 422.8 MB, free: 21.2 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.2126, allocations: 184.4 kB / 423 MB, free: 21.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007459/0.2134, allocations: 338.1 kB / 423.3 MB, free: 21.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.2239, allocations: 5.011 MB / 428.3 MB, free: 20.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.2239, allocations: 3.688 kB / 428.3 MB, free: 20.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2239, allocations: 3.469 kB / 428.3 MB, free: 20.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.224, allocations: 0 / 428.3 MB, free: 20.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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003996/0.228, allocations: 1.696 MB / 430 MB, free: 20.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.228, allocations: 11.58 kB / 430 MB, free: 20.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.2284, allocations: 229.3 kB / 430.2 MB, free: 19.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005765/0.229, allocations: 0.5265 MB / 430.8 MB, free: 19.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.2291, allocations: 379.8 kB / 431.1 MB, free: 19.36 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.2292, allocations: 67.38 kB / 431.2 MB, free: 19.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.23, allocations: 0.6699 MB / 431.9 MB, free: 19.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.23, allocations: 3.375 kB / 431.9 MB, free: 19.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.23, allocations: 34.66 kB / 431.9 MB, free: 19.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.2301, allocations: 17.59 kB / 431.9 MB, free: 19.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004644/0.2305, allocations: 299 kB / 432.2 MB, free: 19.16 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.001951/0.2325, allocations: 2.522 MB / 434.7 MB, free: 17.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.2331, allocations: 399.5 kB / 435.1 MB, free: 17.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.2332, allocations: 98.41 kB / 435.2 MB, free: 17.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0242/0.2574, allocations: 15.47 MB / 450.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.2574, allocations: 43.7 kB / 450.7 MB, free: 7.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=53): time 2.434e-06/0.2574, allocations: 0 / 450.7 MB, free: 7.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=53): time 0.002944/0.2604, allocations: 1.277 MB / 452 MB, free: 6.215 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.2604, allocations: 59.91 kB / 452.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.2607, allocations: 0.4963 MB / 452.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.2607, allocations: 37.83 kB / 452.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.2609, allocations: 422.9 kB / 453 MB, free: 5.383 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.261, allocations: 203.5 kB / 453.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.2611, allocations: 113.9 kB / 453.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.2612, allocations: 0.5479 MB / 453.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2613, allocations: 89.03 kB / 454 MB, free: 4.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.2614, allocations: 198.6 kB / 454.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.2617, allocations: 307 kB / 454.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2617, allocations: 0 / 454.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007755/0.2625, allocations: 0.6146 MB / 455.1 MB, free: 3.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2625, allocations: 4 kB / 455.1 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2625, allocations: 7.984 kB / 455.1 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009417/0.2634, allocations: 433.3 kB / 455.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.2636, allocations: 56.98 kB / 455.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009091/0.2645, allocations: 2.699 MB / 458.3 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.2647, allocations: 56.34 kB / 458.3 MB, free: 240 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.2648, allocations: 25.11 kB / 458.3 MB, free: 220 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001676/0.2649, allocations: 203.7 kB / 458.5 MB, free: 20 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001596/0.2651, allocations: 186.9 kB / 458.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000236/0.2653, allocations: 267.9 kB / 459 MB, free: 15.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.2653, allocations: 3.562 kB / 459 MB, free: 15.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006313/0.266, allocations: 0.5222 MB / 459.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.266, allocations: 4 kB / 459.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.266, allocations: 4 kB / 459.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002994/0.2663, allocations: 176.2 kB / 459.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.2665, allocations: 94.28 kB / 459.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.27, allocations: 6.483 MB / 466.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.2703, allocations: 46.59 kB / 466.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2703, allocations: 15.56 kB / 466.3 MB, free: 8.285 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (Pump1.inletFluidState.phase,Pump2.inletFluidState.phase,Pump3.inletFluidState.phase,Pump1.int_Np,Pump2.int_Np,Pump3.int_Np) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,7), (4,7), (4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.2705, allocations: 304.5 kB / 466.6 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/0.2706, allocations: 86.77 kB / 466.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.2717, allocations: 0.9315 MB / 467.6 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.2717, allocations: 11.73 kB / 467.6 MB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.2717, allocations: 4 kB / 467.6 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.2717, allocations: 11.91 kB / 467.7 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.2722, allocations: 495.9 kB / 468.1 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2722, allocations: 0 / 468.1 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.2724, allocations: 66.88 kB / 468.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006057/0.273, allocations: 0.5457 MB / 468.8 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.273, allocations: 11.06 kB / 468.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.2745, allocations: 2.909 MB / 471.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2745, allocations: 192 / 471.7 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2755, allocations: 1.113 MB / 472.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2757, allocations: 121.2 kB / 472.9 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/0.2757, allocations: 23.11 kB / 472.9 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2759, allocations: 30.56 kB / 473 MB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.276, allocations: 55.22 kB / 473 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.276, allocations: 15.48 kB / 473 MB, free: 2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001532/0.2761, allocations: 314.8 kB / 473.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2761, allocations: 0 / 473.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003188/0.2793, allocations: 1.199 MB / 474.5 MB, free: 0.5898 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * 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: 3 * 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): 3 systems {(2,8), (2,8), (2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002983/0.2823, allocations: 1.196 MB / 475.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.2837, allocations: 1.182 MB / 476.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2837, allocations: 0.5625 kB / 476.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005699/0.2843, allocations: 397.8 kB / 477.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.2851, allocations: 298.4 kB / 477.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002537/0.2876, allocations: 1.678 MB / 479.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2878, allocations: 180.7 kB / 479.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.2881, allocations: 180.3 kB / 479.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/0.2884, allocations: 258 kB / 479.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 1.734e-06/0.2884, allocations: 0 / 479.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.04956/0.338, allocations: 48.82 MB / 0.5163 GB, free: 10.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.895565041806549]