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.001372/0.001372, allocations: 85.09 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00144/0.00144, allocations: 168.3 kB / 23.96 MB, free: 4.145 MB / 14.72 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.307/1.307, allocations: 158.6 MB / 185.7 MB, free: 6.41 MB / 174.1 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.2691/0.2691, allocations: 36.34 MB / 274.3 MB, free: 0.6094 MB / 254.1 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.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 1.273e-06/1.273e-06, allocations: 0 / 414.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.79e-05/2.918e-05, allocations: 6.219 kB / 414.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04879/0.04882, allocations: 40.37 MB / 455.2 MB, free: 3.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.06122, allocations: 8.207 MB / 463.4 MB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004197/0.06164, allocations: 15.81 kB / 463.4 MB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.06239, allocations: 202.4 kB / 463.6 MB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007712/0.06316, allocations: 297.8 kB / 463.9 MB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01348/0.07664, allocations: 5.066 MB / 469 MB, free: 5.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.07782, allocations: 0.8211 MB / 469.8 MB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.07827, allocations: 218.7 kB / 470 MB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009864/0.07926, allocations: 0.4906 MB / 470.5 MB, free: 3.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.07969, allocations: 255.2 kB / 470.8 MB, free: 3.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.07976, allocations: 28 kB / 470.8 MB, free: 3.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1902/0.27, allocations: 5.877 MB / 476.7 MB, free: 20.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.2701, allocations: 86.05 kB / 476.8 MB, free: 20.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.2705, allocations: 166.1 kB / 476.9 MB, free: 20.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008718/0.2792, allocations: 4.681 MB / 481.6 MB, free: 20.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2792, allocations: 0 / 481.6 MB, free: 20.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2792, allocations: 0 / 481.6 MB, free: 20.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2792, allocations: 4.844 kB / 481.6 MB, free: 20.65 MB / 398.1 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.003149/0.2823, allocations: 1.118 MB / 482.7 MB, free: 20.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2824, allocations: 8.906 kB / 482.7 MB, free: 20.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.2827, allocations: 74.59 kB / 482.8 MB, free: 20 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.2832, allocations: 320.9 kB / 483.1 MB, free: 19.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.2832, allocations: 24.53 kB / 483.1 MB, free: 19.81 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.2833, allocations: 31.69 kB / 483.2 MB, free: 19.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.2844, allocations: 431.5 kB / 483.6 MB, free: 19.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2844, allocations: 1.062 kB / 483.6 MB, free: 19.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.553e-05/0.2845, allocations: 18.91 kB / 483.6 MB, free: 19.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.2845, allocations: 8.5 kB / 483.6 MB, free: 19.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.2859, allocations: 360.3 kB / 484 MB, free: 19.69 MB / 398.1 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.001696/0.2876, allocations: 1.516 MB / 485.5 MB, free: 18.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.2888, allocations: 287.6 kB / 485.8 MB, free: 18.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.2891, allocations: 108.1 kB / 485.9 MB, free: 18.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05627/0.3454, allocations: 16.87 MB / 0.491 GB, free: 16.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3454, allocations: 36.69 kB / 0.491 GB, free: 16.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.074e-06/0.3454, allocations: 0 / 0.491 GB, free: 16.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001685/0.3471, allocations: 411.8 kB / 0.4914 GB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.3471, allocations: 77.11 kB / 0.4915 GB, free: 15.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.3474, allocations: 338.5 kB / 0.4918 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3474, allocations: 32.77 kB / 0.4918 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3475, allocations: 246.8 kB / 0.4921 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.3476, allocations: 62.67 kB / 0.4921 GB, free: 15.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.3477, allocations: 51.38 kB / 0.4922 GB, free: 15.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.3477, allocations: 339.6 kB / 0.4925 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003693/0.3481, allocations: 106.1 kB / 0.4926 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.3485, allocations: 163.1 kB / 0.4927 GB, free: 14.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/0.3492, allocations: 257.9 kB / 0.493 GB, free: 14.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3492, allocations: 3.938 kB / 0.493 GB, free: 14.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009006/0.3501, allocations: 326.5 kB / 0.4933 GB, free: 14.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3501, allocations: 10.81 kB / 0.4933 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3501, allocations: 3.719 kB / 0.4933 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3501, allocations: 0 / 0.4933 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.3505, allocations: 62.48 kB / 0.4934 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.3505, allocations: 7.328 kB / 0.4934 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.3508, allocations: 38.39 kB / 0.4934 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.3509, allocations: 19.08 kB / 0.4934 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004051/0.3513, allocations: 193 kB / 0.4936 GB, free: 14.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003458/0.3516, allocations: 154.6 kB / 0.4938 GB, free: 14.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006677/0.3523, allocations: 262 kB / 0.494 GB, free: 14.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.512e-06/0.3523, allocations: 0 / 0.494 GB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008232/0.3531, allocations: 315 kB / 0.4943 GB, free: 14.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.3531, allocations: 8.578 kB / 0.4943 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.3531, allocations: 288 / 0.4943 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.995e-06/0.3531, allocations: 7.719 kB / 0.4943 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.3534, allocations: 62.27 kB / 0.4944 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3534, allocations: 4 kB / 0.4944 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3537, allocations: 33.02 kB / 0.4944 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.3537, allocations: 8.125 kB / 0.4944 GB, free: 14.24 MB / 398.1 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 8.506e-05/0.3538, allocations: 209.3 kB / 0.4946 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.3539, allocations: 41.95 kB / 0.4947 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009808/0.3549, allocations: 460.5 kB / 0.4951 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3549, allocations: 4 kB / 0.4951 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3549, allocations: 3.594 kB / 0.4951 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3549, allocations: 0 / 0.4951 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.3553, allocations: 337.6 kB / 0.4954 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3553, allocations: 6.625 kB / 0.4955 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.3556, allocations: 49.47 kB / 0.4955 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3556, allocations: 3.281 kB / 0.4955 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.3556, allocations: 7.609 kB / 0.4955 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3556, allocations: 7.594 kB / 0.4955 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3556, allocations: 2.562 kB / 0.4955 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008126/0.3564, allocations: 435.4 kB / 0.4959 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.3565, allocations: 50.41 kB / 0.496 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.3565, allocations: 16.14 kB / 0.496 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.3569, allocations: 21.45 kB / 0.496 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.3569, allocations: 15.78 kB / 0.496 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3569, allocations: 11.42 kB / 0.496 GB, free: 13.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002687/0.3572, allocations: 338.2 kB / 0.4964 GB, free: 13.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3572, allocations: 0 / 0.4964 GB, free: 13.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002723/0.3599, allocations: 0.961 MB / 0.4973 GB, free: 12.69 MB / 398.1 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.003109/0.363, allocations: 1.077 MB / 0.4984 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.3642, allocations: 348.5 kB / 0.4987 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3642, allocations: 0.9375 kB / 0.4987 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.3645, allocations: 111.2 kB / 0.4988 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3656, allocations: 172.3 kB / 0.499 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3668, allocations: 0.7419 MB / 0.4997 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.367, allocations: 231.1 kB / 0.4999 GB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.3672, allocations: 147.5 kB / 0.5 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.616e-05/0.3673, allocations: 35.61 kB / 0.5001 GB, free: 10.12 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3673, allocations: 0 / 0.5001 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Templates: time 0.04553/0.4128, allocations: 33.06 MB / 0.5324 GB, free: 9.164 MB / 430.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.825997583568096] Failed to read output from testmodel.py, exit status != 0: 0.4215494133532047 0.43578627000000003 0.153285098 Calling exit ...