Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.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.0009385/0.0009385, 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.0009497/0.0009497, allocations: 168.8 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.9236/0.9236, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.09204/0.09204, allocations: 19.75 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.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech") translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 358.4 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.829e-05, allocations: 2.312 kB / 358.4 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03694/0.03696, allocations: 22.41 MB / 380.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.04448, allocations: 8.458 MB / 389.3 MB, free: 8.402 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.04479, allocations: 23.81 kB / 389.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.04522, allocations: 162.6 kB / 389.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006419/0.04586, allocations: 365.4 kB / 389.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007903/0.05376, allocations: 4.608 MB / 394.4 MB, free: 3.234 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.05493, allocations: 0.9526 MB / 395.4 MB, free: 2.277 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.05526, allocations: 360.3 kB / 395.7 MB, free: 1.926 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006823/0.05595, allocations: 0.7017 MB / 396.4 MB, free: 1.223 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.05624, allocations: 319.2 kB / 396.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.0563, allocations: 56 kB / 396.8 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0072/0.0635, allocations: 5.958 MB / 402.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.008e-05/0.06359, allocations: 135.5 kB / 402.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.06373, allocations: 227.5 kB / 403.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.06817, allocations: 4.735 MB / 407.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.06817, allocations: 0 / 407.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.06817, allocations: 0 / 407.9 MB, free: 5.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.06818, allocations: 3.984 kB / 407.9 MB, free: 5.785 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001657/0.06984, allocations: 1.307 MB / 409.2 MB, free: 4.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.06988, allocations: 8.031 kB / 409.2 MB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.07009, allocations: 132.4 kB / 409.3 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.07071, allocations: 354.7 kB / 409.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.0708, allocations: 140.4 kB / 409.8 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.248e-05/0.07085, allocations: 64.31 kB / 409.9 MB, free: 3.695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.07132, allocations: 434 kB / 410.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.07133, allocations: 7.938 kB / 410.3 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.07136, allocations: 23.94 kB / 410.3 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.07137, allocations: 12 kB / 410.3 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.07159, allocations: 170.8 kB / 410.5 MB, free: 3.027 MB / 378.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.00142/0.07301, allocations: 1.63 MB / 412.1 MB, free: 1.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.07326, allocations: 195.1 kB / 412.3 MB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.155e-05/0.07334, allocations: 75.58 kB / 412.4 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02465/0.09799, allocations: 15.43 MB / 427.8 MB, free: 1.605 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.09802, allocations: 37.39 kB / 427.8 MB, free: 1.559 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.09802, allocations: 0 / 427.8 MB, free: 1.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.001666/0.09969, allocations: 0.9827 MB / 428.8 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.09971, allocations: 55.41 kB / 428.9 MB, free: 456 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.0999, allocations: 350.5 kB / 429.2 MB, free: 88 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.09993, allocations: 37.7 kB / 429.3 MB, free: 44 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1001, allocations: 315.1 kB / 429.6 MB, free: 15.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.1001, allocations: 130.8 kB / 429.7 MB, free: 15.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.1002, allocations: 75.69 kB / 429.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1003, allocations: 0.5273 MB / 430.3 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.1004, allocations: 57.14 kB / 430.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1005, allocations: 142.6 kB / 430.5 MB, free: 14.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.1007, allocations: 204.9 kB / 430.7 MB, free: 14.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1007, allocations: 8 kB / 430.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006083/0.1013, allocations: 328.5 kB / 431 MB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.1013, allocations: 7.938 kB / 431 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1013, allocations: 4 kB / 431 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/0.1016, allocations: 91.81 kB / 431.1 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.1017, allocations: 75.91 kB / 431.2 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003962/0.1021, allocations: 0.8702 MB / 432.1 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1023, allocations: 19.98 kB / 432.1 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.1023, allocations: 16 kB / 432.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001334/0.1024, allocations: 178.6 kB / 432.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.235e-05/0.1025, allocations: 125.4 kB / 432.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000163/0.1027, allocations: 209.1 kB / 432.6 MB, free: 12.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.1027, allocations: 4.062 kB / 432.6 MB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization_lambda0): time 0.0003226/0.103, allocations: 308.6 kB / 432.9 MB, free: 12.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.103, allocations: 8 kB / 432.9 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.103, allocations: 3.938 kB / 432.9 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.1031, allocations: 55.8 kB / 433 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1033, allocations: 87.84 kB / 433.1 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.1043, allocations: 2.116 MB / 435.2 MB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1044, allocations: 19.92 kB / 435.2 MB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1045, allocations: 15.94 kB / 435.2 MB, free: 9.758 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 38 * 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 0.000103/0.1046, allocations: 288 kB / 435.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/0.1046, allocations: 51.77 kB / 435.5 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.105, allocations: 402.8 kB / 435.9 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.105, allocations: 7.984 kB / 435.9 MB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.105, allocations: 7.922 kB / 436 MB, free: 8.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.105, allocations: 4 kB / 436 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008715/0.1059, allocations: 0.8859 MB / 436.8 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1059, allocations: 0 / 436.8 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.1061, allocations: 67.91 kB / 436.9 MB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.1063, allocations: 203.3 kB / 437.1 MB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1063, allocations: 15.98 kB / 437.1 MB, free: 7.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004242/0.1067, allocations: 0.9604 MB / 438.1 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.1067, allocations: 4.031 kB / 438.1 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/0.1075, allocations: 0.591 MB / 438.7 MB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.636e-05/0.1076, allocations: 63.69 kB / 438.7 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1076, allocations: 11.92 kB / 438.8 MB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.1077, allocations: 23.98 kB / 438.8 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.1078, allocations: 27.95 kB / 438.8 MB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1078, allocations: 12 kB / 438.8 MB, free: 6.016 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.568e-05/0.1079, allocations: 235 kB / 439 MB, free: 5.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1079, allocations: 0 / 439 MB, free: 5.785 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00185/0.1098, allocations: 0.975 MB / 440 MB, free: 4.809 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002136/0.1119, allocations: 1.176 MB / 441.2 MB, free: 3.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.1124, allocations: 0.5183 MB / 441.7 MB, free: 3.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1124, allocations: 4.125 kB / 441.7 MB, free: 3.074 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.1126, allocations: 183.1 kB / 441.9 MB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1131, allocations: 131.9 kB / 442 MB, free: 2.762 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1145, allocations: 1.133 MB / 443.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.067e-05/0.1146, allocations: 121.9 kB / 443.3 MB, free: 1.438 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.1148, allocations: 91.08 kB / 443.4 MB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.115, allocations: 170.1 kB / 443.5 MB, free: 1.184 MB / 410.7 MB Notification: Performance of SimCode: time 6.92e-07/0.115, allocations: 0 / 443.5 MB, free: 1.184 MB / 410.7 MB Notification: Performance of Templates: time 0.1502/0.2651, allocations: 39.73 MB / 483.3 MB, free: 91.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.445915832184255]