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.001391/0.001391, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001559/0.001559, allocations: 161.5 kB / 25.61 MB, free: 8.582 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.9633/0.9633, allocations: 177.2 MB / 206.1 MB, free: 4.461 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.08731/0.08731, allocations: 19.73 MB / 282.3 MB, free: 12.29 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.183e-06/1.183e-06, allocations: 0 / 359.2 MB, free: 44.15 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.713e-05, allocations: 6.922 kB / 359.2 MB, free: 44.14 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumpMech): time 0.03269/0.03271, allocations: 22.41 MB / 381.6 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.03835, allocations: 8.457 MB / 390.1 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.03859, allocations: 23.81 kB / 390.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.03897, allocations: 154.7 kB / 390.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.03951, allocations: 369.4 kB / 390.6 MB, free: 13.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006062/0.04558, allocations: 4.61 MB / 395.2 MB, free: 8.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.04612, allocations: 0.9527 MB / 396.2 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002869/0.04641, allocations: 356.4 kB / 396.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.04702, allocations: 0.6978 MB / 397.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.04729, allocations: 324.5 kB / 397.5 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.04733, allocations: 56 kB / 397.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00565/0.05298, allocations: 5.958 MB / 403.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.05306, allocations: 123.5 kB / 403.7 MB, free: 380 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.05318, allocations: 227.5 kB / 403.9 MB, free: 152 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004547/0.05773, allocations: 4.743 MB / 408.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.05773, allocations: 0 / 408.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.05773, allocations: 0 / 408.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.05774, allocations: 0 / 408.6 MB, free: 11.39 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001845/0.05958, allocations: 1.307 MB / 409.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.05962, allocations: 11.97 kB / 410 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/0.05985, allocations: 132.4 kB / 410.1 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.06025, allocations: 358.7 kB / 410.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.06035, allocations: 148.4 kB / 410.6 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.06041, allocations: 52.33 kB / 410.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.06094, allocations: 441.9 kB / 411.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.06096, allocations: 7.938 kB / 411.1 MB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.06099, allocations: 20 kB / 411.1 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.061, allocations: 12 kB / 411.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.06125, allocations: 174.8 kB / 411.3 MB, free: 8.621 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.001427/0.06268, allocations: 1.62 MB / 412.9 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002614/0.06294, allocations: 202.8 kB / 413.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.75e-05/0.06302, allocations: 79.56 kB / 413.2 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02647/0.08949, allocations: 15.33 MB / 428.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.08952, allocations: 41.33 kB / 428.5 MB, free: 7.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.08952, allocations: 0 / 428.5 MB, free: 7.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.001743/0.09127, allocations: 0.9562 MB / 429.5 MB, free: 6.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.09129, allocations: 59.34 kB / 429.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.09148, allocations: 354.6 kB / 429.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.0915, allocations: 33.7 kB / 429.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.09163, allocations: 323 kB / 430.2 MB, free: 5.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.09169, allocations: 134.8 kB / 430.4 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.09178, allocations: 83.64 kB / 430.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.0919, allocations: 0.5195 MB / 431 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.09198, allocations: 53.16 kB / 431 MB, free: 4.648 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.09209, allocations: 154.3 kB / 431.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.09229, allocations: 209 kB / 431.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.09229, allocations: 0 / 431.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003512/0.09264, allocations: 316.5 kB / 431.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.09265, allocations: 7.938 kB / 431.7 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.09266, allocations: 4 kB / 431.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/0.09293, allocations: 91.64 kB / 431.8 MB, free: 3.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.09311, allocations: 79.89 kB / 431.9 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003896/0.0935, allocations: 0.8663 MB / 432.7 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.09362, allocations: 12 kB / 432.8 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/0.09364, allocations: 19.98 kB / 432.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001371/0.09378, allocations: 178.6 kB / 432.9 MB, free: 2.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.404e-05/0.09387, allocations: 133.4 kB / 433.1 MB, free: 2.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001577/0.09403, allocations: 197.3 kB / 433.3 MB, free: 2.223 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.09403, allocations: 8.062 kB / 433.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=46) (initialization_lambda0): time 0.0003355/0.09437, allocations: 308.3 kB / 433.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.09438, allocations: 4 kB / 433.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.09438, allocations: 3.938 kB / 433.6 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.09449, allocations: 59.86 kB / 433.6 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.09466, allocations: 79.89 kB / 433.7 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.09597, allocations: 2.116 MB / 435.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.09609, allocations: 20.03 kB / 435.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.09611, allocations: 19.92 kB / 435.9 MB, free: 15.49 MB / 362.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.0001042/0.09621, allocations: 284 kB / 436.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.09626, allocations: 47.77 kB / 436.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004022/0.09667, allocations: 411.1 kB / 436.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.09667, allocations: 4 kB / 436.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.09668, allocations: 7.938 kB / 436.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.09668, allocations: 3.984 kB / 436.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.09751, allocations: 0.8741 MB / 437.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.09752, allocations: 4 kB / 437.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.0977, allocations: 71.95 kB / 437.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/0.09791, allocations: 201.8 kB / 437.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.09793, allocations: 11.94 kB / 437.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004297/0.09836, allocations: 0.9604 MB / 438.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.09836, allocations: 0 / 438.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.09886, allocations: 0.6035 MB / 439.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.09894, allocations: 67.72 kB / 439.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.09897, allocations: 12 kB / 439.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.09909, allocations: 23.98 kB / 439.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.09915, allocations: 31.94 kB / 439.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.09917, allocations: 8 kB / 439.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.09928, allocations: 231 kB / 439.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09928, allocations: 3.938 kB / 439.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001912/0.1012, allocations: 0.975 MB / 440.7 MB, free: 10.54 MB / 362.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.002377/0.1036, allocations: 1.165 MB / 441.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008606/0.1044, allocations: 0.5296 MB / 442.4 MB, free: 8.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1044, allocations: 4 kB / 442.4 MB, free: 8.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.1047, allocations: 179.9 kB / 442.6 MB, free: 8.637 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.1051, allocations: 130.3 kB / 442.7 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1066, allocations: 1.139 MB / 443.8 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.018e-05/0.1067, allocations: 133.7 kB / 444 MB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.1069, allocations: 83.2 kB / 444 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.1071, allocations: 170.1 kB / 444.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1071, allocations: 0 / 444.2 MB, free: 6.93 MB / 362.7 MB Notification: Performance of Templates: time 0.03589/0.143, allocations: 39.89 MB / 484.1 MB, free: 15.16 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: 5.332633108831942]