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.001347/0.001347, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001496/0.001496, allocations: 209.1 kB / 24.48 MB, free: 3.938 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.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.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.1494/0.1494, allocations: 26.83 MB / 341.5 MB, free: 7.961 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 68.17 kB / 478 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2925, allocations: 60.49 MB / 0.5259 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04264/0.3352, allocations: 40.97 MB / 0.5659 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3476, allocations: 8.367 MB / 0.5741 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.3482, allocations: 19.81 kB / 0.5741 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007669/0.349, allocations: 206.4 kB / 0.5743 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007173/0.3497, allocations: 297.9 kB / 0.5746 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01528/0.365, allocations: 5.095 MB / 0.5795 GB, free: 13.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.3665, allocations: 0.8759 MB / 0.5804 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.367, allocations: 230.7 kB / 0.5806 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.3681, allocations: 414.3 kB / 0.581 GB, free: 12.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.3687, allocations: 310.5 kB / 0.5813 GB, free: 11.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3688, allocations: 36 kB / 0.5813 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.3808, allocations: 5.896 MB / 0.5871 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.381, allocations: 91.56 kB / 0.5872 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003697/0.3813, allocations: 226.9 kB / 0.5874 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007809/0.3891, allocations: 3.78 MB / 0.5911 GB, free: 1.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3891, allocations: 0 / 0.5911 GB, free: 1.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3891, allocations: 0 / 0.5911 GB, free: 1.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.3892, allocations: 0 / 0.5911 GB, free: 1.82 MB / 430.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.003735/0.3929, allocations: 1.223 MB / 0.5923 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3929, allocations: 15.97 kB / 0.5923 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005042/0.3934, allocations: 96.52 kB / 0.5924 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007133/0.3942, allocations: 351 kB / 0.5927 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.3943, allocations: 140 kB / 0.5929 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.114e-05/0.3944, allocations: 40.12 kB / 0.5929 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.3956, allocations: 491.6 kB / 0.5934 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3957, allocations: 0 / 0.5934 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-05/0.3957, allocations: 16 kB / 0.5934 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.3957, allocations: 8 kB / 0.5934 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.3973, allocations: 0.4924 MB / 0.5939 GB, free: 14.86 MB / 446.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.002288/0.3996, allocations: 1.307 MB / 0.5952 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.4013, allocations: 429 kB / 0.5956 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/0.4018, allocations: 133.6 kB / 0.5957 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003922/0.4021, allocations: 51.88 kB / 0.5957 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.4022, allocations: 34.56 kB / 0.5958 GB, free: 12.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.4022, allocations: 0 / 0.5958 GB, free: 12.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002163/0.4044, allocations: 0.5631 MB / 0.5963 GB, free: 12.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.4044, allocations: 85.11 kB / 0.5964 GB, free: 12.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.4048, allocations: 349.7 kB / 0.5967 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.4049, allocations: 33.7 kB / 0.5968 GB, free: 11.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.4051, allocations: 244.4 kB / 0.597 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4052, allocations: 95.09 kB / 0.5971 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4053, allocations: 57.69 kB / 0.5972 GB, free: 11.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4055, allocations: 346.8 kB / 0.5975 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.406, allocations: 128.8 kB / 0.5976 GB, free: 10.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.4065, allocations: 161.6 kB / 0.5978 GB, free: 10.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009066/0.4074, allocations: 273 kB / 0.598 GB, free: 10.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4074, allocations: 0 / 0.598 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001146/0.4085, allocations: 376.8 kB / 0.5984 GB, free: 10.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.4085, allocations: 7.938 kB / 0.5984 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4085, allocations: 4.125 kB / 0.5984 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4086, allocations: 4 kB / 0.5984 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.409, allocations: 79.88 kB / 0.5985 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.409, allocations: 0 / 0.5985 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.4094, allocations: 43.81 kB / 0.5985 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.4094, allocations: 11.98 kB / 0.5985 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005614/0.41, allocations: 228 kB / 0.5987 GB, free: 9.703 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004763/0.4104, allocations: 173.5 kB / 0.5989 GB, free: 9.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008429/0.4113, allocations: 257 kB / 0.5992 GB, free: 9.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.924e-06/0.4113, allocations: 4 kB / 0.5992 GB, free: 9.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001082/0.4124, allocations: 357 kB / 0.5995 GB, free: 8.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4124, allocations: 10.97 kB / 0.5995 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.4124, allocations: 0 / 0.5995 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.667e-06/0.4124, allocations: 7.938 kB / 0.5995 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.4128, allocations: 75.88 kB / 0.5996 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4128, allocations: 4 kB / 0.5996 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.4131, allocations: 39.8 kB / 0.5996 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.4131, allocations: 12 kB / 0.5996 GB, free: 8.746 MB / 446.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 (31): * Single equations (assignments): 31 * 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.0001617/0.4133, allocations: 196.1 kB / 0.5998 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4134, allocations: 47.66 kB / 0.5999 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.4146, allocations: 360.6 kB / 0.6002 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.4146, allocations: 7.984 kB / 0.6002 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4146, allocations: 0 / 0.6002 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4146, allocations: 0 / 0.6002 GB, free: 8.129 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.4151, allocations: 305 kB / 0.6005 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4151, allocations: 0 / 0.6005 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.4155, allocations: 71.88 kB / 0.6006 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4155, allocations: 4 kB / 0.6006 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.4156, allocations: 15.92 kB / 0.6006 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4156, allocations: 0 / 0.6006 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4156, allocations: 4 kB / 0.6006 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.4167, allocations: 0.4983 MB / 0.6011 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.4168, allocations: 43.66 kB / 0.6011 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.4168, allocations: 11.94 kB / 0.6011 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.4172, allocations: 31.91 kB / 0.6012 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.4173, allocations: 23.95 kB / 0.6012 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.4173, allocations: 7.984 kB / 0.6012 GB, free: 7.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002836/0.4176, allocations: 247.2 kB / 0.6014 GB, free: 6.832 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4176, allocations: 4 kB / 0.6014 GB, free: 6.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002621/0.4202, allocations: 0.9785 MB / 0.6024 GB, free: 5.848 MB / 446.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 (27): * Single equations (assignments): 27 * 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.004144/0.4243, allocations: 0.9698 MB / 0.6033 GB, free: 4.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.426, allocations: 423 kB / 0.6038 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.426, allocations: 0.5 kB / 0.6038 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.4265, allocations: 147.8 kB / 0.6039 GB, free: 4.312 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.4278, allocations: 205 kB / 0.6041 GB, free: 4.117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4299, allocations: 0.8569 MB / 0.6049 GB, free: 3.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.4302, allocations: 215.9 kB / 0.6051 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.4303, allocations: 51.41 kB / 0.6052 GB, free: 2.93 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4303, allocations: 0 / 0.6052 GB, free: 2.93 MB / 446.1 MB Notification: Performance of Templates: time 0.03358/0.4639, allocations: 20.23 MB / 0.6249 GB, free: 14.71 MB / 478.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: 9.03918295004405] Failed to read output from testmodel.py, exit status != 0: 0.47377528296783566 0.48908107399999995 0.096581814 Calling exit ...