Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.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.00188/0.00188, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002/0.002, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 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 1.335/1.335, allocations: 158.6 MB / 186.1 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.2864/0.2864, allocations: 36.35 MB / 274.7 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 179] 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.096e-06/3.096e-06, allocations: 3.984 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.265e-05, allocations: 6.312 kB / 353.1 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.05828/0.05831, allocations: 45.28 MB / 398.3 MB, free: 6.344 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01454/0.07285, allocations: 9.068 MB / 407.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.07325, allocations: 15.81 kB / 407.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.074, allocations: 202.5 kB / 407.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006999/0.0747, allocations: 293.8 kB / 407.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01433/0.08903, allocations: 5.061 MB / 413 MB, free: 7.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.09037, allocations: 0.8289 MB / 413.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004295/0.0908, allocations: 234.8 kB / 414 MB, free: 6.594 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009388/0.09174, allocations: 0.4905 MB / 414.5 MB, free: 6.102 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.09218, allocations: 247.3 kB / 414.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.09224, allocations: 28 kB / 414.8 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/0.1049, allocations: 5.895 MB / 420.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1051, allocations: 83.61 kB / 420.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.1055, allocations: 167.6 kB / 420.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.1161, allocations: 4.669 MB / 425.6 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.1161, allocations: 3.984 kB / 425.6 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1161, allocations: 3.938 kB / 425.6 MB, free: 11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1161, allocations: 0 / 425.6 MB, free: 11 MB / 362.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.003246/0.1193, allocations: 1.237 MB / 426.8 MB, free: 9.719 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1194, allocations: 8.031 kB / 426.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.1197, allocations: 120.4 kB / 427 MB, free: 9.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/0.1205, allocations: 325.2 kB / 427.3 MB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.1206, allocations: 25.03 kB / 427.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.1206, allocations: 28.38 kB / 427.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.1217, allocations: 459.3 kB / 427.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1217, allocations: 192 / 427.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.1217, allocations: 15.94 kB / 427.8 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.1217, allocations: 8 kB / 427.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1228, allocations: 323.6 kB / 428.1 MB, free: 8.359 MB / 362.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.002598/0.1254, allocations: 2.06 MB / 430.2 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1264, allocations: 270.1 kB / 430.4 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.1267, allocations: 99.33 kB / 430.5 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.223/0.3497, allocations: 16.86 MB / 447.4 MB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.3498, allocations: 44.75 kB / 447.4 MB, free: 87.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.175e-06/0.3498, allocations: 0 / 447.4 MB, free: 87.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001927/0.3517, allocations: 366.6 kB / 447.8 MB, free: 87.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.3517, allocations: 81.67 kB / 447.9 MB, free: 87.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.3522, allocations: 448.1 kB / 448.3 MB, free: 87.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.3522, allocations: 25.7 kB / 448.3 MB, free: 87.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3524, allocations: 308.7 kB / 448.7 MB, free: 86.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.3524, allocations: 68.42 kB / 448.7 MB, free: 86.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3525, allocations: 59.34 kB / 448.8 MB, free: 86.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3527, allocations: 0.5311 MB / 449.3 MB, free: 86.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.353, allocations: 87.64 kB / 449.4 MB, free: 86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.3534, allocations: 173.3 kB / 449.6 MB, free: 85.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007886/0.3542, allocations: 252.9 kB / 449.8 MB, free: 85.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3542, allocations: 4 kB / 449.8 MB, free: 85.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00105/0.3553, allocations: 296.7 kB / 450.1 MB, free: 85.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3553, allocations: 8.219 kB / 450.1 MB, free: 85.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3553, allocations: 4 kB / 450.1 MB, free: 85.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.3553, allocations: 4 kB / 450.1 MB, free: 85.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.3558, allocations: 63.89 kB / 450.2 MB, free: 85.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.3558, allocations: 0 / 450.2 MB, free: 85.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.3561, allocations: 28.53 kB / 450.2 MB, free: 85.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/0.3562, allocations: 16.53 kB / 450.2 MB, free: 85.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004248/0.3566, allocations: 230.8 kB / 450.5 MB, free: 84.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003885/0.357, allocations: 184.4 kB / 450.6 MB, free: 84.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007301/0.3577, allocations: 260 kB / 450.9 MB, free: 84.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.3577, allocations: 4 kB / 450.9 MB, free: 84.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.001017/0.3587, allocations: 287.2 kB / 451.2 MB, free: 84.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3588, allocations: 4 kB / 451.2 MB, free: 84.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3588, allocations: 4 kB / 451.2 MB, free: 84.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3588, allocations: 4 kB / 451.2 MB, free: 84.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.3591, allocations: 52.19 kB / 451.2 MB, free: 84.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.3592, allocations: 8 kB / 451.2 MB, free: 84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.3596, allocations: 26.33 kB / 451.3 MB, free: 83.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.3596, allocations: 11.98 kB / 451.3 MB, free: 83.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.3598, allocations: 290.5 kB / 451.6 MB, free: 83.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.36, allocations: 47.7 kB / 451.6 MB, free: 83.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.3611, allocations: 340.2 kB / 451.9 MB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3611, allocations: 4 kB / 451.9 MB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.3611, allocations: 3.984 kB / 451.9 MB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3611, allocations: 0 / 451.9 MB, free: 83.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006536/0.3618, allocations: 388.5 kB / 452.3 MB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3618, allocations: 0 / 452.3 MB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.3621, allocations: 46.97 kB / 452.4 MB, free: 82.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3621, allocations: 0 / 452.4 MB, free: 82.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.3621, allocations: 7.984 kB / 452.4 MB, free: 82.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.3621, allocations: 7.938 kB / 452.4 MB, free: 82.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3621, allocations: 0 / 452.4 MB, free: 82.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009127/0.363, allocations: 0.5045 MB / 452.9 MB, free: 82.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3631, allocations: 34 kB / 452.9 MB, free: 82.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.254e-05/0.3632, allocations: 20.73 kB / 452.9 MB, free: 82.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3637, allocations: 15.98 kB / 453 MB, free: 82.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.3638, allocations: 15.97 kB / 453 MB, free: 82.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.3638, allocations: 4 kB / 453 MB, free: 82.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004998/0.3643, allocations: 394.8 kB / 453.4 MB, free: 81.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3643, allocations: 0 / 453.4 MB, free: 81.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003208/0.3675, allocations: 0.9605 MB / 454.3 MB, free: 80.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005295/0.3728, allocations: 1.085 MB / 455.4 MB, free: 79.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001327/0.3741, allocations: 332.6 kB / 455.7 MB, free: 79.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3741, allocations: 4.25 kB / 455.7 MB, free: 79.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.3745, allocations: 103.5 kB / 455.8 MB, free: 79.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.376, allocations: 186.4 kB / 456 MB, free: 79.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3773, allocations: 0.7562 MB / 456.8 MB, free: 78.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3775, allocations: 225.1 kB / 457 MB, free: 78.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.3778, allocations: 164 kB / 457.2 MB, free: 78.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.3779, allocations: 40.48 kB / 457.2 MB, free: 78.07 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3779, allocations: 0 / 457.2 MB, free: 78.07 MB / 362.7 MB Notification: Performance of Templates: time 0.03876/0.4166, allocations: 33.85 MB / 491 MB, free: 44.24 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.187912880093791]