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.001223/0.001223, allocations: 80.31 kB / 22.21 MB, free: 2.281 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.001034/0.001034, allocations: 175.2 kB / 25.61 MB, free: 8.871 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.9031/0.9031, allocations: 177.1 MB / 206.1 MB, free: 4.52 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.08874/0.08874, allocations: 19.73 MB / 282.3 MB, free: 12.27 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 / 359.2 MB, free: 44.15 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.234e-05, allocations: 5.812 kB / 359.2 MB, free: 44.15 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.02914/0.02915, allocations: 37.99 MB / 397.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009834/0.03898, allocations: 9.324 MB / 406.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003827/0.03937, allocations: 43.62 kB / 406.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005492/0.03992, allocations: 273.7 kB / 406.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.04095, allocations: 0.7412 MB / 407.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008875/0.04983, allocations: 5.442 MB / 413 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.05112, allocations: 1.791 MB / 414.8 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004964/0.05161, allocations: 0.5149 MB / 415.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.05307, allocations: 1.509 MB / 416.8 MB, free: 3.117 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.05362, allocations: 0.6522 MB / 417.5 MB, free: 2.465 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.901e-05/0.05369, allocations: 64 kB / 417.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007058/0.06075, allocations: 6.009 MB / 423.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.06086, allocations: 187.2 kB / 423.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.06108, allocations: 335.2 kB / 424.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00406/0.06515, allocations: 5.012 MB / 429.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.06515, allocations: 0 / 429.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.06515, allocations: 0 / 429.1 MB, free: 6.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.06516, allocations: 0 / 429.1 MB, free: 6.852 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.002085/0.06724, allocations: 1.708 MB / 430.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.06727, allocations: 8.031 kB / 430.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003246/0.0676, allocations: 224.1 kB / 431 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.06809, allocations: 0.5271 MB / 431.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001662/0.06825, allocations: 383 kB / 431.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-05/0.06832, allocations: 66.58 kB / 432 MB, free: 3.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007324/0.06906, allocations: 0.6754 MB / 432.6 MB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.06907, allocations: 3.938 kB / 432.6 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.06912, allocations: 28 kB / 432.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.06913, allocations: 16 kB / 432.7 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.06954, allocations: 304.8 kB / 433 MB, free: 2.734 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.001818/0.07136, allocations: 2.519 MB / 435.5 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.07196, allocations: 400.3 kB / 435.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.07209, allocations: 109.1 kB / 436 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02682/0.0989, allocations: 15.36 MB / 451.4 MB, free: 268 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.09894, allocations: 45.89 kB / 451.4 MB, free: 212 kB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 2.255e-06/0.09894, allocations: 0 / 451.4 MB, free: 212 kB / 362.7 MB Notification: Performance of matching and sorting (n=53): time 0.003099/0.102, allocations: 1.24 MB / 452.6 MB, free: 14.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1021, allocations: 59.84 kB / 452.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.1025, allocations: 0.5022 MB / 453.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/0.1026, allocations: 33.7 kB / 453.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1028, allocations: 435.3 kB / 453.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.1029, allocations: 198.3 kB / 453.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.103, allocations: 111.9 kB / 454 MB, free: 13.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1032, allocations: 0.5468 MB / 454.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.1033, allocations: 86.25 kB / 454.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.1035, allocations: 191.8 kB / 454.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.1038, allocations: 306.6 kB / 455.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1038, allocations: 0 / 455.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000868/0.1047, allocations: 0.5935 MB / 455.7 MB, free: 11.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1047, allocations: 7.938 kB / 455.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1047, allocations: 4 kB / 455.7 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.1058, allocations: 430.9 kB / 456.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.1059, allocations: 63.91 kB / 456.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.1073, allocations: 2.696 MB / 458.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.1076, allocations: 59.66 kB / 458.9 MB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.1076, allocations: 19.98 kB / 458.9 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001795/0.1078, allocations: 208.1 kB / 459.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001426/0.1079, allocations: 187.7 kB / 459.3 MB, free: 7.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002401/0.1082, allocations: 274.7 kB / 459.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.452e-06/0.1082, allocations: 0 / 459.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0008803/0.1091, allocations: 0.5268 MB / 460.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1091, allocations: 8.625 kB / 460.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/0.1091, allocations: 0 / 460.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.1094, allocations: 175.2 kB / 460.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.1096, allocations: 99.81 kB / 460.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003075/0.1127, allocations: 6.476 MB / 466.9 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.1129, allocations: 43.67 kB / 466.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.1129, allocations: 16 kB / 466.9 MB, free: 15.94 MB / 394.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.0003965/0.1133, allocations: 299 kB / 467.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.1134, allocations: 91.58 kB / 467.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.1143, allocations: 0.9024 MB / 468.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.1143, allocations: 16.05 kB / 468.2 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1143, allocations: 4 kB / 468.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1143, allocations: 7.922 kB / 468.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.1148, allocations: 490.9 kB / 468.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1148, allocations: 4 kB / 468.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.115, allocations: 67.91 kB / 468.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006075/0.1156, allocations: 0.5552 MB / 469.4 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.1156, allocations: 12 kB / 469.4 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.1169, allocations: 2.907 MB / 472.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1169, allocations: 0 / 472.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.118, allocations: 1.086 MB / 473.4 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.1181, allocations: 131.2 kB / 473.5 MB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.1182, allocations: 19.98 kB / 473.5 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.1183, allocations: 35.81 kB / 473.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.47e-05/0.1184, allocations: 48.41 kB / 473.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.1184, allocations: 19.98 kB / 473.6 MB, free: 9.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.1186, allocations: 306.7 kB / 473.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1186, allocations: 0 / 473.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002563/0.1211, allocations: 1.201 MB / 475.1 MB, free: 7.57 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.002803/0.1239, allocations: 1.195 MB / 476.3 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.1257, allocations: 1.191 MB / 477.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1257, allocations: 0 / 477.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.1265, allocations: 388.1 kB / 477.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.1278, allocations: 296.5 kB / 478.2 MB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.1302, allocations: 1.686 MB / 479.9 MB, free: 2.719 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1303, allocations: 180.6 kB / 480 MB, free: 2.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.1306, allocations: 184.5 kB / 480.2 MB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/0.1309, allocations: 258 kB / 480.5 MB, free: 2.094 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1309, allocations: 0 / 480.5 MB, free: 2.094 MB / 394.7 MB Notification: Performance of Templates: time 0.152/0.2829, allocations: 49.14 MB / 0.5172 GB, free: 101.8 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: 5.636917492840439]