Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0008587/0.0008587, allocations: 80.8 kB / 21.49 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.0009091/0.0009091, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8445/0.8445, allocations: 158.6 MB / 186.8 MB, free: 2.805 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2043/0.2043, allocations: 36.33 MB / 275.4 MB, free: 14.45 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestST1") translateModel(ThermoPower.Test.WaterComponents.TestST1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestST1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 305.2 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.56e-05, allocations: 5.406 kB / 305.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestST1): time 0.01879/0.01881, allocations: 21.84 MB / 327.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01476/0.03357, allocations: 14.6 MB / 341.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.0339, allocations: 11.88 kB / 341.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.03436, allocations: 134.9 kB / 341.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004209/0.03478, allocations: 258.1 kB / 342.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01468/0.04946, allocations: 6.61 MB / 348.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008056/0.05027, allocations: 0.6916 MB / 349.4 MB, free: 4.336 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.05062, allocations: 208.3 kB / 349.6 MB, free: 4.125 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.05102, allocations: 351 kB / 349.9 MB, free: 3.781 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.05126, allocations: 211.3 kB / 350.1 MB, free: 3.574 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.0513, allocations: 28 kB / 350.1 MB, free: 3.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.178/0.2292, allocations: 8.547 MB / 358.7 MB, free: 26.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.2294, allocations: 82.03 kB / 358.8 MB, free: 26.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.2296, allocations: 150.5 kB / 358.9 MB, free: 26.25 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.2424, allocations: 6.532 MB / 365.4 MB, free: 26.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2424, allocations: 3.094 kB / 365.4 MB, free: 26.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2424, allocations: 0 / 365.4 MB, free: 26.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.2424, allocations: 3.625 kB / 365.4 MB, free: 26.18 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.003499/0.2459, allocations: 1.216 MB / 366.7 MB, free: 25.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2459, allocations: 12.17 kB / 366.7 MB, free: 25.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.2462, allocations: 89.22 kB / 366.8 MB, free: 25.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2464, allocations: 246.4 kB / 367 MB, free: 25.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.2464, allocations: 20.09 kB / 367 MB, free: 25.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/0.2465, allocations: 34.48 kB / 367.1 MB, free: 25.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.2469, allocations: 358.3 kB / 367.4 MB, free: 25.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2469, allocations: 0 / 367.4 MB, free: 25.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.2469, allocations: 19.84 kB / 367.4 MB, free: 25.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2469, allocations: 9.344 kB / 367.4 MB, free: 25.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.2472, allocations: 143 kB / 367.6 MB, free: 25.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.248, allocations: 1.011 MB / 368.6 MB, free: 24.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.2483, allocations: 152.7 kB / 368.7 MB, free: 24.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.2484, allocations: 29.02 kB / 368.8 MB, free: 24.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.208/0.4563, allocations: 116.5 MB / 485.3 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.4563, allocations: 31.44 kB / 485.3 MB, free: 11.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 4.659e-06/0.4564, allocations: 0 / 485.3 MB, free: 11.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008157/0.4572, allocations: 292.6 kB / 485.6 MB, free: 10.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.4572, allocations: 55.41 kB / 485.7 MB, free: 10.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.4574, allocations: 268.9 kB / 485.9 MB, free: 10.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4574, allocations: 27.78 kB / 486 MB, free: 10.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.689e-05/0.4575, allocations: 195 kB / 486.2 MB, free: 10.24 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.4575, allocations: 70.56 kB / 486.2 MB, free: 10.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.4576, allocations: 56.33 kB / 486.3 MB, free: 10.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.4577, allocations: 347.9 kB / 486.6 MB, free: 9.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.4577, allocations: 20.86 kB / 486.6 MB, free: 9.766 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.4578, allocations: 80.23 kB / 486.7 MB, free: 9.672 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4579, allocations: 120.3 kB / 486.8 MB, free: 9.543 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4579, allocations: 0 / 486.8 MB, free: 9.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002845/0.4582, allocations: 185.2 kB / 487 MB, free: 9.363 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4582, allocations: 7.281 kB / 487 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4582, allocations: 4 kB / 487 MB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000241/0.4585, allocations: 70.72 kB / 487.1 MB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4586, allocations: 39.86 kB / 487.1 MB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008905/0.4595, allocations: 1.731 MB / 488.9 MB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4596, allocations: 23.83 kB / 488.9 MB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.4596, allocations: 12.06 kB / 488.9 MB, free: 7.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.907e-05/0.4597, allocations: 116 kB / 489 MB, free: 7.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.405e-05/0.4598, allocations: 68.69 kB / 489.1 MB, free: 7.199 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 9.597e-05/0.4598, allocations: 120.5 kB / 489.2 MB, free: 7.066 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.4599, allocations: 7.719 kB / 489.2 MB, free: 7.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0002149/0.4601, allocations: 187 kB / 489.4 MB, free: 6.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.4601, allocations: 8 kB / 489.4 MB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-06/0.4601, allocations: 0 / 489.4 MB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.4602, allocations: 61.84 kB / 489.5 MB, free: 6.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.087e-05/0.4603, allocations: 46.98 kB / 489.5 MB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000992/0.4613, allocations: 1.726 MB / 491.2 MB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.594e-05/0.4614, allocations: 19.88 kB / 491.2 MB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4614, allocations: 5.797 kB / 491.3 MB, free: 4.934 MB / 426.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 0.0001041/0.4615, allocations: 199.8 kB / 491.5 MB, free: 4.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.4615, allocations: 15.98 kB / 491.5 MB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004606/0.462, allocations: 0.5198 MB / 492 MB, free: 4.203 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.462, allocations: 15.97 kB / 492 MB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.462, allocations: 2.438 kB / 492 MB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.462, allocations: 0 / 492 MB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.4623, allocations: 281.4 kB / 492.3 MB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4623, allocations: 2.078 kB / 492.3 MB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.4624, allocations: 43.97 kB / 492.3 MB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.27e-05/0.4625, allocations: 35.72 kB / 492.4 MB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.4625, allocations: 7.938 kB / 492.4 MB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005297/0.4631, allocations: 1.153 MB / 493.5 MB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4631, allocations: 4.031 kB / 493.5 MB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.4634, allocations: 499.4 kB / 494 MB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.4635, allocations: 47.53 kB / 494.1 MB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4635, allocations: 7.562 kB / 494.1 MB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.4636, allocations: 4 kB / 494.1 MB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.4636, allocations: 18.92 kB / 494.1 MB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.4636, allocations: 4 kB / 494.1 MB, free: 2.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.262e-05/0.4637, allocations: 103.3 kB / 494.2 MB, free: 1.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4637, allocations: 0 / 494.2 MB, free: 1.938 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003847/0.4675, allocations: 1.376 MB / 495.6 MB, free: 0.5586 MB / 426.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.005097/0.4726, allocations: 1.687 MB / 497.3 MB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008359/0.4735, allocations: 469.4 kB / 497.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.4735, allocations: 8.125 kB / 497.7 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4736, allocations: 211.5 kB / 497.9 MB, free: 14.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.4741, allocations: 124.9 kB / 498 MB, free: 14.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.4757, allocations: 0.9695 MB / 499 MB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.715e-05/0.4758, allocations: 122.8 kB / 499.1 MB, free: 13.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.476, allocations: 143.6 kB / 499.3 MB, free: 12.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4761, allocations: 123.3 kB / 499.4 MB, free: 12.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4761, allocations: 0 / 499.4 MB, free: 12.82 MB / 442.7 MB Notification: Performance of Templates: time 0.1939/0.67, allocations: 56.34 MB / 0.5427 GB, free: 147.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestST1.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestST1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestST1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.606693554203957]