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.001425/0.001425, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001532/0.001532, allocations: 165.3 kB / 24.27 MB, free: 144 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 1.448/1.448, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.1513/0.1513, allocations: 19.73 MB / 280.8 MB, free: 9.277 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.543e-06/1.543e-06, allocations: 0 / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.523e-05/3.677e-05, allocations: 9.484 kB / 357.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.2452/0.2452, allocations: 75.14 MB / 432.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.2565, allocations: 10.1 MB / 442.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007688/0.2573, allocations: 45.66 kB / 442.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.2582, allocations: 398.4 kB / 442.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.2599, allocations: 0.729 MB / 443.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.2728, allocations: 5.676 MB / 449.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.2746, allocations: 1.78 MB / 451.1 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006587/0.2753, allocations: 0.5171 MB / 451.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00197/0.2773, allocations: 1.524 MB / 453.1 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008016/0.2781, allocations: 0.6524 MB / 453.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.2782, allocations: 69.55 kB / 453.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009823/0.288, allocations: 6.184 MB / 460 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.2882, allocations: 187.2 kB / 460.2 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.2887, allocations: 331.2 kB / 460.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008805/0.2975, allocations: 5.397 MB / 465.9 MB, free: 1.203 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2975, allocations: 0 / 465.9 MB, free: 1.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2975, allocations: 4 kB / 465.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.2976, allocations: 0 / 465.9 MB, free: 1.199 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.003837/0.3014, allocations: 1.647 MB / 467.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3014, allocations: 8.031 kB / 467.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/0.3021, allocations: 231.3 kB / 467.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.3033, allocations: 0.5166 MB / 468.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003966/0.3037, allocations: 383 kB / 468.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3038, allocations: 72.33 kB / 468.8 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.3059, allocations: 0.8232 MB / 469.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.3059, allocations: 0 / 469.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.306, allocations: 31.94 kB / 469.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.306, allocations: 16 kB / 469.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3079, allocations: 0.649 MB / 470.3 MB, free: 12.66 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.004107/0.312, allocations: 2.223 MB / 472.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.314, allocations: 0.5842 MB / 473.1 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/0.3147, allocations: 223 kB / 473.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06574/0.3804, allocations: 17.58 MB / 490.9 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.3805, allocations: 39 kB / 490.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 2.174e-06/0.3805, allocations: 0 / 490.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.008519/0.389, allocations: 1.739 MB / 492.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.3891, allocations: 59.91 kB / 492.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.3897, allocations: 471.2 kB / 493.2 MB, free: 5.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/0.3898, allocations: 33.7 kB / 493.2 MB, free: 5.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/0.3903, allocations: 380.7 kB / 493.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.3906, allocations: 194.3 kB / 493.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.3908, allocations: 106.3 kB / 493.9 MB, free: 4.902 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.391, allocations: 374.8 kB / 494.3 MB, free: 4.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.3917, allocations: 223.3 kB / 494.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007718/0.3925, allocations: 299.4 kB / 494.8 MB, free: 3.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/0.3939, allocations: 0.5139 MB / 495.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3939, allocations: 0 / 495.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003009/0.3969, allocations: 0.9012 MB / 496.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.397, allocations: 8 kB / 496.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.068e-06/0.397, allocations: 0 / 496.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/0.4, allocations: 0.5412 MB / 496.7 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.4003, allocations: 67.89 kB / 496.8 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.4037, allocations: 2.144 MB / 498.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.4043, allocations: 75.67 kB / 499 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.4044, allocations: 31.92 kB / 499 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006913/0.4051, allocations: 289.4 kB / 499.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00054/0.4056, allocations: 243.5 kB / 499.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009935/0.4066, allocations: 422.3 kB / 500 MB, free: 14.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/0.4066, allocations: 0 / 500 MB, free: 14.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002119/0.4087, allocations: 0.7138 MB / 0.489 GB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4087, allocations: 4 kB / 0.489 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4088, allocations: 4.281 kB / 0.489 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008093/0.4096, allocations: 202.3 kB / 0.4892 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.4101, allocations: 104.7 kB / 0.4893 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/0.4168, allocations: 5.103 MB / 0.4942 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.4173, allocations: 59.64 kB / 0.4943 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.4174, allocations: 20 kB / 0.4943 GB, free: 8.062 MB / 378.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 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * 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.00028/0.4176, allocations: 212.1 kB / 0.4945 GB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.4178, allocations: 79.58 kB / 0.4946 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/0.4215, allocations: 1.611 MB / 0.4962 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.4215, allocations: 15.98 kB / 0.4962 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.4216, allocations: 0 / 0.4962 GB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.4216, allocations: 3.984 kB / 0.4962 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.4226, allocations: 0.6631 MB / 0.4968 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4226, allocations: 0 / 0.4968 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004498/0.4231, allocations: 71.89 kB / 0.4969 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001942/0.425, allocations: 0.7782 MB / 0.4977 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.4251, allocations: 19.94 kB / 0.4977 GB, free: 4.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/0.4291, allocations: 2.785 MB / 0.5004 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4291, allocations: 0 / 0.5004 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/0.4334, allocations: 1.987 MB / 0.5023 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.4337, allocations: 123.3 kB / 0.5025 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.4338, allocations: 12 kB / 0.5025 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.4342, allocations: 40.08 kB / 0.5025 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.4344, allocations: 52.41 kB / 0.5026 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.4344, allocations: 19.98 kB / 0.5026 GB, free: 15.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000419/0.4349, allocations: 318.9 kB / 0.5029 GB, free: 15.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4349, allocations: 0 / 0.5029 GB, free: 15.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003469/0.4383, allocations: 1.216 MB / 0.5041 GB, free: 13.9 MB / 394.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.004414/0.4427, allocations: 1.184 MB / 0.5052 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.4465, allocations: 1.36 MB / 0.5066 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4465, allocations: 4 kB / 0.5066 GB, free: 11.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.4484, allocations: 0.5602 MB / 0.5071 GB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.45, allocations: 302.6 kB / 0.5074 GB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.4535, allocations: 1.718 MB / 0.5091 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/0.454, allocations: 397.1 kB / 0.5095 GB, free: 8.285 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000552/0.4545, allocations: 196.6 kB / 0.5096 GB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4547, allocations: 44.5 kB / 0.5097 GB, free: 8.047 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.4547, allocations: 0 / 0.5097 GB, free: 8.047 MB / 394.7 MB Notification: Performance of Templates: time 0.07377/0.5284, allocations: 43.05 MB / 0.5517 GB, free: 13.22 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.189842925989069]