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.001956/0.001956, allocations: 82.5 kB / 20.68 MB, free: 1.039 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.002319/0.002319, allocations: 163.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.481/1.481, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 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.1406/0.1406, allocations: 19.74 MB / 280.4 MB, free: 12.93 MB / 270.1 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.293e-06/1.293e-06, allocations: 0 / 417 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.723e-05, allocations: 6.219 kB / 417.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2207/0.2207, allocations: 40.7 MB / 457.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009936/0.2307, allocations: 8.409 MB / 466.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.2312, allocations: 18.53 kB / 466.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.2318, allocations: 208.5 kB / 466.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00066/0.2325, allocations: 329.7 kB / 466.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.2452, allocations: 5.223 MB / 471.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.2462, allocations: 0.9173 MB / 472.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.2466, allocations: 238.1 kB / 473.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007992/0.2474, allocations: 0.5284 MB / 473.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.2477, allocations: 264.5 kB / 473.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.2478, allocations: 33.59 kB / 473.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.258, allocations: 5.915 MB / 479.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2581, allocations: 95.34 kB / 479.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.2584, allocations: 188 kB / 480.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.2649, allocations: 4.732 MB / 484.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2649, allocations: 0 / 484.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.2649, allocations: 1.312 kB / 484.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.2649, allocations: 0 / 484.8 MB, free: 7.891 MB / 366.1 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.002766/0.2676, allocations: 1.236 MB / 486.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2677, allocations: 8.625 kB / 486.1 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/0.2681, allocations: 103.6 kB / 486.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.2686, allocations: 352.2 kB / 486.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2687, allocations: 143.3 kB / 486.7 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.2687, allocations: 37.08 kB / 486.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.2698, allocations: 497.8 kB / 487.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2698, allocations: 0 / 487.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.2699, allocations: 18.69 kB / 487.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2699, allocations: 11.03 kB / 487.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.2714, allocations: 0.4924 MB / 487.7 MB, free: 5.953 MB / 366.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.001622/0.273, allocations: 1.287 MB / 489 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.2745, allocations: 412.9 kB / 489.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.275, allocations: 136.1 kB / 489.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/0.2754, allocations: 41.05 kB / 489.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2754, allocations: 37.34 kB / 489.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.373e-06/0.2754, allocations: 0 / 489.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.001998/0.2774, allocations: 0.5446 MB / 490.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.2774, allocations: 87.89 kB / 490.2 MB, free: 4.168 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.2777, allocations: 365.1 kB / 490.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2777, allocations: 33.64 kB / 490.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2778, allocations: 256.5 kB / 490.9 MB, free: 3.664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.2778, allocations: 79.86 kB / 490.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.69e-05/0.2779, allocations: 57.16 kB / 491 MB, free: 3.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.278, allocations: 349.7 kB / 491.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004398/0.2784, allocations: 122.6 kB / 491.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.2789, allocations: 162.6 kB / 491.6 MB, free: 3.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.2797, allocations: 266.2 kB / 491.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2797, allocations: 0 / 491.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001003/0.2807, allocations: 365 kB / 492.2 MB, free: 2.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2807, allocations: 4.375 kB / 492.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2807, allocations: 8.125 kB / 492.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2807, allocations: 3.938 kB / 492.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.2811, allocations: 75.88 kB / 492.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2811, allocations: 4 kB / 492.3 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.2815, allocations: 38.05 kB / 492.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2815, allocations: 19.92 kB / 492.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000478/0.282, allocations: 220.1 kB / 492.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000426/0.2824, allocations: 149.1 kB / 492.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007526/0.2831, allocations: 252.2 kB / 493 MB, free: 1.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.2831, allocations: 4 kB / 493 MB, free: 1.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0009254/0.2841, allocations: 345.2 kB / 493.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.2841, allocations: 4 kB / 493.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-06/0.2841, allocations: 0 / 493.3 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.2841, allocations: 7.984 kB / 493.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.2844, allocations: 67.89 kB / 493.4 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2844, allocations: 7.938 kB / 493.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.2847, allocations: 35.86 kB / 493.5 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.2848, allocations: 19.98 kB / 493.5 MB, free: 1.422 MB / 366.1 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.357e-05/0.2849, allocations: 192.2 kB / 493.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.2849, allocations: 43.72 kB / 493.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.2859, allocations: 344.7 kB / 494 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.286, allocations: 7.938 kB / 494.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.286, allocations: 0 / 494.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.286, allocations: 3.984 kB / 494.1 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.2863, allocations: 301 kB / 494.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2863, allocations: 0 / 494.4 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.2867, allocations: 69.12 kB / 494.4 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2867, allocations: 8 kB / 494.4 MB, free: 444 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.2867, allocations: 4 kB / 494.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.2867, allocations: 4 kB / 494.4 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2867, allocations: 3.938 kB / 494.4 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009776/0.2877, allocations: 490.3 kB / 494.9 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.2877, allocations: 39.66 kB / 495 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.2878, allocations: 8 kB / 495 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.2882, allocations: 27.91 kB / 495 MB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.2882, allocations: 34.2 kB / 495 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.2883, allocations: 8 kB / 495 MB, free: 15.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.2885, allocations: 255.2 kB / 495.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2885, allocations: 7.938 kB / 495.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00259/0.2911, allocations: 0.9745 MB / 496.3 MB, free: 14.59 MB / 382.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: 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.003554/0.2947, allocations: 1.084 MB / 497.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.2962, allocations: 419.8 kB / 497.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2962, allocations: 4.438 kB / 497.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.2967, allocations: 135.9 kB / 497.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.298, allocations: 197.4 kB / 498.1 MB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.2999, allocations: 0.7704 MB / 498.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.3001, allocations: 221.8 kB / 499.1 MB, free: 11.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000684/0.3008, allocations: 453.9 kB / 499.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.3009, allocations: 44.47 kB / 499.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3009, allocations: 4 kB / 499.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of Templates: time 0.04936/0.3502, allocations: 34.13 MB / 0.5212 GB, free: 9.199 MB / 414.1 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.934995647519827] Failed to read output from testmodel.py, exit status != 0: 0.3589617498219013 0.372969608 0.104919882 Calling exit ...