Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.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.0009621/0.0009621, allocations: 80.31 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.0009595/0.0009595, allocations: 173.9 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.889/0.889, allocations: 177.1 MB / 206 MB, free: 4.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.09196/0.09196, allocations: 19.73 MB / 282.3 MB, free: 12.24 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.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 359.2 MB, free: 44.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.175e-05, allocations: 4 kB / 359.2 MB, free: 44.13 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01495/0.01498, allocations: 21.76 MB / 381 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.02568, allocations: 14.39 MB / 395.4 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.02594, allocations: 7.938 kB / 395.4 MB, free: 8.648 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.02632, allocations: 138.9 kB / 395.5 MB, free: 8.512 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.02659, allocations: 266 kB / 395.8 MB, free: 8.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01049/0.03708, allocations: 6.592 MB / 402.4 MB, free: 1.633 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005315/0.03761, allocations: 0.6917 MB / 403 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.03789, allocations: 203.7 kB / 403.2 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.03814, allocations: 351 kB / 403.6 MB, free: 400 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.03843, allocations: 215.3 kB / 403.8 MB, free: 184 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.03849, allocations: 28 kB / 403.8 MB, free: 156 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01094/0.04943, allocations: 8.576 MB / 412.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.525e-05/0.04951, allocations: 75.56 kB / 412.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.04968, allocations: 151.6 kB / 412.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009927/0.0596, allocations: 6.544 MB / 419.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.05961, allocations: 0 / 419.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.05961, allocations: 0 / 419.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.05962, allocations: 0 / 419.2 MB, free: 0.7812 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00279/0.06241, allocations: 1.34 MB / 420.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.06244, allocations: 8.031 kB / 420.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.06265, allocations: 104.6 kB / 420.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.06293, allocations: 276.4 kB / 420.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.06295, allocations: 21.03 kB / 420.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.06299, allocations: 36.38 kB / 420.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.06341, allocations: 369 kB / 421.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.06342, allocations: 3.938 kB / 421.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.06344, allocations: 16 kB / 421.3 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.06345, allocations: 11.94 kB / 421.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.06369, allocations: 153.2 kB / 421.5 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009869/0.06468, allocations: 1.405 MB / 422.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.0651, allocations: 168.5 kB / 423.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.361e-05/0.06515, allocations: 35.67 kB / 423.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0542/0.1193, allocations: 30.68 MB / 453.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1194, allocations: 37.3 kB / 453.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 2.195e-06/0.1194, allocations: 0 / 453.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008564/0.1202, allocations: 324.7 kB / 454.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.1203, allocations: 51.41 kB / 454.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1205, allocations: 330.1 kB / 454.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1205, allocations: 33.64 kB / 454.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1206, allocations: 271.1 kB / 454.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1206, allocations: 67.42 kB / 454.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.1207, allocations: 59.33 kB / 454.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1208, allocations: 0.5156 MB / 455.4 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.1209, allocations: 31.66 kB / 455.5 MB, free: 12.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.1209, allocations: 102.2 kB / 455.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1211, allocations: 147 kB / 455.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1211, allocations: 4 kB / 455.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002802/0.1213, allocations: 225.3 kB / 455.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1214, allocations: 11.94 kB / 455.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1214, allocations: 0 / 455.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.1216, allocations: 83.47 kB / 456 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1217, allocations: 43.91 kB / 456.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.123, allocations: 2.553 MB / 458.6 MB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1231, allocations: 15.89 kB / 458.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1231, allocations: 16.06 kB / 458.7 MB, free: 8.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.332e-05/0.1232, allocations: 158.8 kB / 458.8 MB, free: 8.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.439e-05/0.1233, allocations: 101.8 kB / 458.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001081/0.1234, allocations: 134 kB / 459 MB, free: 8.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.223e-06/0.1234, allocations: 0 / 459 MB, free: 8.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002479/0.1237, allocations: 244.4 kB / 459.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/0.1237, allocations: 4.625 kB / 459.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.1237, allocations: 4 kB / 459.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.1238, allocations: 71.42 kB / 459.4 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.1239, allocations: 48.17 kB / 459.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009916/0.1249, allocations: 2.568 MB / 462 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.472e-05/0.125, allocations: 15.89 kB / 462 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.125, allocations: 11.98 kB / 462 MB, free: 5.195 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (SensT1.fluidState.phase,ST.fluidState_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 9.816e-05/0.1251, allocations: 292.1 kB / 462.3 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.1251, allocations: 35.81 kB / 462.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.1256, allocations: 0.4904 MB / 462.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.1256, allocations: 19.95 kB / 462.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1256, allocations: 7.938 kB / 462.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1256, allocations: 0 / 462.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.1258, allocations: 323.5 kB / 463.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1258, allocations: 0 / 463.2 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.126, allocations: 35.98 kB / 463.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.612e-05/0.126, allocations: 31.66 kB / 463.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1261, allocations: 11.94 kB / 463.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008348/0.1269, allocations: 1.706 MB / 464.9 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1269, allocations: 4.125 kB / 464.9 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.1273, allocations: 0.5379 MB / 465.5 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.1273, allocations: 47.58 kB / 465.5 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1273, allocations: 8 kB / 465.5 MB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.1274, allocations: 4 kB / 465.5 MB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.1274, allocations: 15.97 kB / 465.6 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1274, allocations: 8 kB / 465.6 MB, free: 1.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.289e-05/0.1275, allocations: 218.9 kB / 465.8 MB, free: 1.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1275, allocations: 0 / 465.8 MB, free: 1.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002678/0.1302, allocations: 1.376 MB / 467.1 MB, free: 15.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (ST.P_HP,ST.P_LP,Inertia1.phi,Inertia1.w) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003902/0.1341, allocations: 1.641 MB / 468.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.1347, allocations: 0.5982 MB / 469.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1347, allocations: 4.25 kB / 469.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1348, allocations: 275.3 kB / 469.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1353, allocations: 125.3 kB / 469.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1366, allocations: 1.009 MB / 470.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1369, allocations: 118.8 kB / 470.9 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.1371, allocations: 145.3 kB / 471.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.1372, allocations: 154.1 kB / 471.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1372, allocations: 0 / 471.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of Templates: time 0.1832/0.3204, allocations: 57.74 MB / 0.5165 GB, free: 100.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.3164994632825255]