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.0009373/0.0009373, allocations: 80.31 kB / 22.21 MB, free: 2.293 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.001005/0.001005, allocations: 170.5 kB / 25.61 MB, free: 8.914 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.9389/0.9389, allocations: 177.1 MB / 206 MB, free: 4.504 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.1135/0.1135, allocations: 19.74 MB / 282.3 MB, free: 12.26 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.453e-06/1.453e-06, allocations: 0 / 359.2 MB, free: 44.17 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.359e-05, allocations: 6.094 kB / 359.2 MB, free: 44.17 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.01567/0.01569, allocations: 24.54 MB / 383.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.02152, allocations: 8.379 MB / 392.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.02178, allocations: 15.81 kB / 392.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.02217, allocations: 162.6 kB / 392.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.02257, allocations: 325.5 kB / 392.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00759/0.03016, allocations: 5.114 MB / 397.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006001/0.03076, allocations: 0.9261 MB / 398.7 MB, free: 5.371 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.03101, allocations: 250.8 kB / 398.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005696/0.03158, allocations: 0.5296 MB / 399.4 MB, free: 4.586 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.03181, allocations: 267.2 kB / 399.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.03185, allocations: 36 kB / 399.7 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005907/0.03775, allocations: 5.833 MB / 405.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.582e-05/0.03783, allocations: 99.53 kB / 405.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.03798, allocations: 179.6 kB / 405.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005325/0.0433, allocations: 4.556 MB / 410.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.0433, allocations: 0 / 410.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.04331, allocations: 0 / 410.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.04331, allocations: 4 kB / 410.4 MB, free: 9.605 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.002189/0.0455, allocations: 1.307 MB / 411.7 MB, free: 8.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.04553, allocations: 8.031 kB / 411.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.04583, allocations: 144.4 kB / 411.8 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.04621, allocations: 369.1 kB / 412.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.0463, allocations: 144 kB / 412.3 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.04633, allocations: 32.38 kB / 412.4 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.04689, allocations: 413.8 kB / 412.8 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.0469, allocations: 7.938 kB / 412.8 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.04692, allocations: 8 kB / 412.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.04693, allocations: 8 kB / 412.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.04732, allocations: 257.2 kB / 413.1 MB, free: 6.812 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.001178/0.0485, allocations: 1.459 MB / 414.5 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.04912, allocations: 310.1 kB / 414.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.761e-05/0.0492, allocations: 67.33 kB / 414.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.04939, allocations: 39.95 kB / 414.9 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.04941, allocations: 41.33 kB / 415 MB, free: 4.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.04941, allocations: 0 / 415 MB, free: 4.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.0006729/0.05009, allocations: 365.2 kB / 415.3 MB, free: 4.449 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.05012, allocations: 81.05 kB / 415.4 MB, free: 4.352 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.05033, allocations: 398.5 kB / 415.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.05035, allocations: 29.7 kB / 415.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.05047, allocations: 295.1 kB / 416.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.05052, allocations: 87.23 kB / 416.2 MB, free: 3.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/0.05059, allocations: 59.33 kB / 416.2 MB, free: 3.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.05073, allocations: 0.5273 MB / 416.8 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.77e-05/0.05079, allocations: 39.66 kB / 416.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.17e-05/0.05089, allocations: 102.5 kB / 416.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.05105, allocations: 149.9 kB / 417.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.05105, allocations: 0 / 417.1 MB, free: 2.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002743/0.05133, allocations: 214.8 kB / 417.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.05134, allocations: 4.625 kB / 417.3 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.05135, allocations: 4 kB / 417.3 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.05135, allocations: 4 kB / 417.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.05154, allocations: 67.83 kB / 417.3 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.05154, allocations: 4 kB / 417.4 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.05167, allocations: 31.83 kB / 417.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.05169, allocations: 11.98 kB / 417.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001155/0.0518, allocations: 166.8 kB / 417.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.038e-05/0.05188, allocations: 94.08 kB / 417.6 MB, free: 1.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001402/0.05202, allocations: 140.4 kB / 417.8 MB, free: 1.797 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.91e-07/0.05202, allocations: 4 kB / 417.8 MB, free: 1.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000235/0.05226, allocations: 208.6 kB / 418 MB, free: 1.586 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.563e-06/0.05226, allocations: 8 kB / 418 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-06/0.05227, allocations: 0 / 418 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.476e-06/0.05227, allocations: 4 kB / 418 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.05241, allocations: 60.02 kB / 418.1 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.05241, allocations: 15.88 kB / 418.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.05253, allocations: 27.88 kB / 418.1 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.05254, allocations: 8 kB / 418.1 MB, free: 1.465 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 (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 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 0.0001042/0.05264, allocations: 284 kB / 418.4 MB, free: 1.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.05271, allocations: 51.7 kB / 418.4 MB, free: 1.129 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.05298, allocations: 197.7 kB / 418.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.05299, allocations: 8 kB / 418.6 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.05299, allocations: 3.938 kB / 418.6 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.05299, allocations: 7.969 kB / 418.7 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.05327, allocations: 244.9 kB / 418.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.05327, allocations: 0 / 418.9 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.0534, allocations: 55.95 kB / 418.9 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.0534, allocations: 3.938 kB / 419 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.05342, allocations: 8 kB / 419 MB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.05342, allocations: 4 kB / 419 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.05342, allocations: 7.938 kB / 419 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.05371, allocations: 455.3 kB / 419.4 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.05375, allocations: 43.66 kB / 419.5 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.05379, allocations: 7.984 kB / 419.5 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.05393, allocations: 12 kB / 419.5 MB, free: 44 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.05398, allocations: 27.95 kB / 419.5 MB, free: 16 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.05399, allocations: 11.92 kB / 419.5 MB, free: 4 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.05412, allocations: 255 kB / 419.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.05412, allocations: 4 kB / 419.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001805/0.05593, allocations: 0.9785 MB / 420.8 MB, free: 14.77 MB / 346.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.002421/0.05835, allocations: 1.108 MB / 421.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.05869, allocations: 217.1 kB / 422.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.05869, allocations: 0 / 422.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.05878, allocations: 80.02 kB / 422.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/0.0595, allocations: 227.3 kB / 422.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.06082, allocations: 0.7561 MB / 423.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.976e-05/0.06089, allocations: 113.2 kB / 423.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004592/0.06135, allocations: 438.1 kB / 423.7 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.06162, allocations: 202.1 kB / 423.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.06162, allocations: 0 / 423.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of Templates: time 0.04196/0.1036, allocations: 39.47 MB / 463.3 MB, free: 4.27 MB / 378.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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.810640947893262]