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.0009253/0.0009253, 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.001243/0.001243, allocations: 174 kB / 24.92 MB, free: 9.211 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 1.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.1103/0.1103, allocations: 19.74 MB / 281.6 MB, free: 9.137 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.703e-06/1.703e-06, allocations: 0 / 305.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.788e-05, allocations: 4.547 kB / 305.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.04122/0.04125, allocations: 38.35 MB / 343.6 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009368/0.05062, allocations: 9.483 MB / 353.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.05117, allocations: 47.56 kB / 353.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005784/0.05175, allocations: 277.6 kB / 353.4 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.05297, allocations: 0.7412 MB / 354.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01098/0.06396, allocations: 5.01 MB / 359.1 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.06602, allocations: 1.783 MB / 360.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006058/0.06663, allocations: 0.5284 MB / 361.4 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.0682, allocations: 1.462 MB / 362.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.06886, allocations: 0.6155 MB / 363.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.06895, allocations: 67.94 kB / 363.6 MB, free: 3.664 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009352/0.0783, allocations: 6.416 MB / 370 MB, free: 13.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.07854, allocations: 191.1 kB / 370.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004872/0.07903, allocations: 335.2 kB / 370.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008333/0.08736, allocations: 5.012 MB / 375.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.08737, allocations: 0 / 375.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08737, allocations: 0 / 375.5 MB, free: 7.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.08738, allocations: 0 / 375.5 MB, free: 7.703 MB / 346.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.002456/0.08983, allocations: 1.584 MB / 377.1 MB, free: 6.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.08987, allocations: 8.031 kB / 377.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.0902, allocations: 200.5 kB / 377.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.09071, allocations: 473 kB / 377.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.09114, allocations: 379 kB / 378.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.09121, allocations: 64.38 kB / 378.2 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007449/0.09196, allocations: 0.6634 MB / 378.9 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.09197, allocations: 3.938 kB / 378.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.09201, allocations: 27.98 kB / 378.9 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.09202, allocations: 20 kB / 378.9 MB, free: 4.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.09242, allocations: 264.8 kB / 379.2 MB, free: 3.875 MB / 346.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.001701/0.09412, allocations: 1.846 MB / 381 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.09471, allocations: 360.4 kB / 381.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.09482, allocations: 98.31 kB / 381.5 MB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1038/0.1987, allocations: 58.39 MB / 439.9 MB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1987, allocations: 39.06 kB / 439.9 MB, free: 7.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 1.823e-06/0.1987, allocations: 0 / 439.9 MB, free: 7.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.002654/0.2014, allocations: 1.116 MB / 441 MB, free: 5.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2014, allocations: 67.91 kB / 441.1 MB, free: 5.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.2017, allocations: 451.1 kB / 441.5 MB, free: 5.352 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.2017, allocations: 37.7 kB / 441.6 MB, free: 5.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.2018, allocations: 297.9 kB / 441.8 MB, free: 5.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.2019, allocations: 202.2 kB / 442 MB, free: 4.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.202, allocations: 106.2 kB / 442.1 MB, free: 4.703 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2021, allocations: 386.5 kB / 442.5 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.885e-05/0.2022, allocations: 63.45 kB / 442.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.2024, allocations: 155.5 kB / 442.7 MB, free: 4.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.2026, allocations: 266.3 kB / 443 MB, free: 3.777 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2026, allocations: 0 / 443 MB, free: 3.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009141/0.2035, allocations: 480.4 kB / 443.5 MB, free: 3.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2035, allocations: 4 kB / 443.5 MB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2035, allocations: 4 kB / 443.5 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/0.2045, allocations: 407.8 kB / 443.9 MB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2046, allocations: 63.84 kB / 443.9 MB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.2057, allocations: 1.859 MB / 445.8 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.2059, allocations: 59.64 kB / 445.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.2059, allocations: 19.98 kB / 445.9 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001677/0.2061, allocations: 141.4 kB / 446 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001149/0.2062, allocations: 155.5 kB / 446.2 MB, free: 492 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002123/0.2064, allocations: 242.3 kB / 446.4 MB, free: 216 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.2064, allocations: 0 / 446.4 MB, free: 216 kB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.1396/0.346, allocations: 420.8 kB / 446.8 MB, free: 118.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.346, allocations: 8.406 kB / 446.8 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.346, allocations: 1.25 kB / 446.8 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003763/0.3464, allocations: 164 kB / 447 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.3467, allocations: 107.7 kB / 447.1 MB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.3493, allocations: 4.495 MB / 451.6 MB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.3496, allocations: 44.36 kB / 451.6 MB, free: 114.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.3496, allocations: 17.05 kB / 451.6 MB, free: 114.4 MB / 410.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 {(5,6), (5,6), (5,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.3498, allocations: 210.5 kB / 451.8 MB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.3499, allocations: 60.34 kB / 451.9 MB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.351, allocations: 0.8753 MB / 452.8 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.351, allocations: 16.09 kB / 452.8 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.351, allocations: 0 / 452.8 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.351, allocations: 8.828 kB / 452.8 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.3516, allocations: 456.6 kB / 453.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3516, allocations: 1.094 kB / 453.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3518, allocations: 75.89 kB / 453.3 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/0.3526, allocations: 0.522 MB / 453.8 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.3526, allocations: 12 kB / 453.9 MB, free: 113.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001103/0.3537, allocations: 2.049 MB / 455.9 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3537, allocations: 2.562 kB / 455.9 MB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.3549, allocations: 0.9733 MB / 456.9 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.3551, allocations: 102.4 kB / 457 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.3551, allocations: 11.38 kB / 457 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.3553, allocations: 28.5 kB / 457 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3554, allocations: 51.28 kB / 457.1 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.3555, allocations: 15.64 kB / 457.1 MB, free: 112 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.3557, allocations: 200.4 kB / 457.3 MB, free: 112 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3557, allocations: 1.844 kB / 457.3 MB, free: 112 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003192/0.3589, allocations: 1.208 MB / 458.5 MB, free: 112 MB / 410.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.003538/0.3624, allocations: 1.225 MB / 459.7 MB, free: 111.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.3639, allocations: 1.001 MB / 460.7 MB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.817e-05/0.3639, allocations: 7.062 kB / 460.7 MB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.3645, allocations: 365.5 kB / 461.1 MB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.3653, allocations: 305 kB / 461.4 MB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.3676, allocations: 1.656 MB / 463 MB, free: 110.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3677, allocations: 177.2 kB / 463.2 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003254/0.3681, allocations: 183.8 kB / 463.4 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.3684, allocations: 216.9 kB / 463.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3684, allocations: 0 / 463.6 MB, free: 110.6 MB / 410.7 MB Notification: Performance of Templates: time 0.04366/0.412, allocations: 47.99 MB / 0.4996 GB, free: 71.5 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8270389176905155]