Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001443/0.001443, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001529/0.001529, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.473/1.473, allocations: 177.2 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.1504/0.1504, allocations: 19.73 MB / 280.8 MB, free: 9.297 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.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.702e-05, allocations: 6.25 kB / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.05335/0.05339, allocations: 40.72 MB / 397.9 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.06713, allocations: 8.413 MB / 406.3 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.06748, allocations: 19.81 kB / 406.4 MB, free: 5.637 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.06815, allocations: 210.3 kB / 406.6 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.06884, allocations: 325.5 kB / 406.9 MB, free: 5.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1369/0.2057, allocations: 5.205 MB / 412.1 MB, free: 18.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.2068, allocations: 0.9197 MB / 413 MB, free: 18.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.2071, allocations: 238.6 kB / 413.2 MB, free: 18.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008147/0.2079, allocations: 0.5339 MB / 413.8 MB, free: 18.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.2083, allocations: 265.7 kB / 414 MB, free: 18.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.2083, allocations: 33.22 kB / 414.1 MB, free: 18.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009731/0.2181, allocations: 5.905 MB / 420 MB, free: 18.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.2182, allocations: 97.39 kB / 420.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.2186, allocations: 183.8 kB / 420.2 MB, free: 18.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006836/0.2254, allocations: 4.742 MB / 425 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2254, allocations: 0 / 425 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2254, allocations: 0 / 425 MB, free: 18.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.2254, allocations: 0.8125 kB / 425 MB, free: 18.66 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002879/0.2283, allocations: 1.241 MB / 426.2 MB, free: 17.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2284, allocations: 8.875 kB / 426.2 MB, free: 17.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004822/0.2288, allocations: 146.2 kB / 426.4 MB, free: 17.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.2294, allocations: 368.3 kB / 426.7 MB, free: 17.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.2295, allocations: 148.7 kB / 426.9 MB, free: 17.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.2295, allocations: 36.34 kB / 426.9 MB, free: 17.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2306, allocations: 484 kB / 427.4 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2306, allocations: 0 / 427.4 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/0.2307, allocations: 23.72 kB / 427.4 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2307, allocations: 5.938 kB / 427.4 MB, free: 17.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.2322, allocations: 0.4893 MB / 427.9 MB, free: 17.54 MB / 330.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.001751/0.2339, allocations: 1.287 MB / 429.2 MB, free: 16.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2354, allocations: 417.6 kB / 429.6 MB, free: 16.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.2359, allocations: 134.7 kB / 429.7 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/0.2363, allocations: 44.84 kB / 429.8 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.2363, allocations: 41.41 kB / 429.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.2363, allocations: 0 / 429.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.00205/0.2383, allocations: 0.5609 MB / 430.4 MB, free: 16.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.2384, allocations: 79.86 kB / 430.5 MB, free: 16.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.2386, allocations: 359.8 kB / 430.8 MB, free: 16.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.2387, allocations: 29.64 kB / 430.8 MB, free: 16.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.2388, allocations: 255.7 kB / 431.1 MB, free: 16.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.2388, allocations: 77.33 kB / 431.2 MB, free: 16.26 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.2389, allocations: 62.73 kB / 431.2 MB, free: 16.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.239, allocations: 353.2 kB / 431.6 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.2394, allocations: 119.3 kB / 431.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.2398, allocations: 171.9 kB / 431.9 MB, free: 15.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008122/0.2406, allocations: 273.7 kB / 432.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2406, allocations: 0 / 432.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001028/0.2417, allocations: 360.8 kB / 432.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2417, allocations: 5 kB / 432.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2417, allocations: 2.719 kB / 432.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.2417, allocations: 6.312 kB / 432.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/0.2421, allocations: 77.31 kB / 432.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.2421, allocations: 2.656 kB / 432.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.2425, allocations: 49.06 kB / 432.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.2425, allocations: 11.72 kB / 432.6 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004762/0.243, allocations: 214.2 kB / 432.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003969/0.2434, allocations: 153.3 kB / 433 MB, free: 15.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007496/0.2441, allocations: 252.1 kB / 433.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.2441, allocations: 0 / 433.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0009429/0.2451, allocations: 348.6 kB / 433.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.2451, allocations: 6.062 kB / 433.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-06/0.2451, allocations: 0 / 433.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.957e-06/0.2451, allocations: 2.969 kB / 433.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.2454, allocations: 75.88 kB / 433.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2454, allocations: 13.17 kB / 433.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.2458, allocations: 35.02 kB / 433.7 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2458, allocations: 12.92 kB / 433.7 MB, free: 15.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (29): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/0.2459, allocations: 201 kB / 433.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.246, allocations: 43.7 kB / 434 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.247, allocations: 357.3 kB / 434.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.247, allocations: 9.969 kB / 434.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.247, allocations: 0 / 434.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.247, allocations: 0.875 kB / 434.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.2474, allocations: 304.3 kB / 434.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2474, allocations: 7.25 kB / 434.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.2478, allocations: 62.45 kB / 434.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2478, allocations: 2.562 kB / 434.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.2478, allocations: 9.234 kB / 434.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2478, allocations: 3.375 kB / 434.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2478, allocations: 9.375 kB / 434.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009769/0.2488, allocations: 0.4904 MB / 435.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.2489, allocations: 45.86 kB / 435.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.2489, allocations: 6.406 kB / 435.2 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.2493, allocations: 27.62 kB / 435.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.2494, allocations: 27.64 kB / 435.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.2494, allocations: 13.16 kB / 435.3 MB, free: 14.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.2496, allocations: 252.4 kB / 435.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2496, allocations: 0 / 435.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002775/0.2523, allocations: 0.9714 MB / 436.5 MB, free: 14.43 MB / 330.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: 2 (ValveLiqChocked.fluidState.phase,ValveVap.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.00361/0.256, allocations: 1.076 MB / 437.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.2574, allocations: 418.4 kB / 438 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2574, allocations: 0 / 438 MB, free: 14.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.2579, allocations: 131.6 kB / 438.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.2591, allocations: 233 kB / 438.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2607, allocations: 0.7961 MB / 439.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.2608, allocations: 219.5 kB / 439.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005478/0.2614, allocations: 439.3 kB / 439.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2615, allocations: 45.05 kB / 439.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2615, allocations: 0 / 439.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of Templates: time 0.04744/0.3089, allocations: 34.3 MB / 474.2 MB, free: 12.81 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.754243848961778]