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.00132/0.00132, allocations: 77.16 kB / 21.28 MB, free: 0.5312 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.001482/0.001482, allocations: 161.8 kB / 24.54 MB, free: 3.836 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.407/1.407, allocations: 177.2 MB / 204.9 MB, free: 9.262 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.1399/0.1399, allocations: 19.71 MB / 281 MB, free: 13.04 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.002148/0.002148, allocations: 67.84 kB / 417.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2805, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04953/0.33, allocations: 40.8 MB / 0.5067 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.3427, allocations: 8.36 MB / 0.5149 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.3432, allocations: 19.81 kB / 0.5149 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.3439, allocations: 202.5 kB / 0.5151 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007108/0.3446, allocations: 305.9 kB / 0.5154 GB, free: 440 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01441/0.359, allocations: 5.096 MB / 0.5203 GB, free: 11.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.3603, allocations: 0.8759 MB / 0.5212 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.3608, allocations: 222.9 kB / 0.5214 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009843/0.3617, allocations: 0.5566 MB / 0.522 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.3622, allocations: 306.5 kB / 0.5223 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.774e-05/0.3622, allocations: 36 kB / 0.5223 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.3735, allocations: 5.896 MB / 0.528 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.3737, allocations: 95.61 kB / 0.5281 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.374, allocations: 226.9 kB / 0.5284 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008279/0.3823, allocations: 3.772 MB / 0.532 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3823, allocations: 0 / 0.532 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3823, allocations: 0 / 0.532 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.3823, allocations: 0 / 0.532 GB, free: 15.34 MB / 446.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.003514/0.3858, allocations: 1.231 MB / 0.5332 GB, free: 14.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3859, allocations: 8.031 kB / 0.5332 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.3863, allocations: 100.5 kB / 0.5333 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.387, allocations: 351 kB / 0.5337 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.3871, allocations: 148 kB / 0.5338 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.3872, allocations: 40.06 kB / 0.5339 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3885, allocations: 491.6 kB / 0.5343 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.3885, allocations: 3.938 kB / 0.5343 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.3886, allocations: 12 kB / 0.5343 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3886, allocations: 8 kB / 0.5343 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.3903, allocations: 0.4924 MB / 0.5348 GB, free: 12.37 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.002353/0.3926, allocations: 1.292 MB / 0.5361 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.3944, allocations: 433 kB / 0.5365 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.3949, allocations: 137.6 kB / 0.5366 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/0.3953, allocations: 47.95 kB / 0.5367 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3954, allocations: 34.5 kB / 0.5367 GB, free: 10.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.314e-06/0.3954, allocations: 4 kB / 0.5367 GB, free: 10.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.00245/0.3978, allocations: 0.5672 MB / 0.5373 GB, free: 9.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.3979, allocations: 81.11 kB / 0.5373 GB, free: 9.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.3983, allocations: 345.7 kB / 0.5377 GB, free: 9.336 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3983, allocations: 33.7 kB / 0.5377 GB, free: 9.297 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.3985, allocations: 248.4 kB / 0.5379 GB, free: 9.051 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.3986, allocations: 91.22 kB / 0.538 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.3988, allocations: 57.67 kB / 0.5381 GB, free: 8.898 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.3989, allocations: 350.8 kB / 0.5384 GB, free: 8.547 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/0.3994, allocations: 120.8 kB / 0.5385 GB, free: 8.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.4, allocations: 173.5 kB / 0.5387 GB, free: 8.238 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/0.401, allocations: 283.8 kB / 0.539 GB, free: 7.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.401, allocations: 0 / 0.539 GB, free: 7.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001163/0.4022, allocations: 361.2 kB / 0.5393 GB, free: 7.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4022, allocations: 7.938 kB / 0.5393 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.4022, allocations: 4 kB / 0.5393 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4022, allocations: 0 / 0.5393 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.4027, allocations: 87.98 kB / 0.5394 GB, free: 7.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4027, allocations: 4 kB / 0.5394 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.4031, allocations: 39.81 kB / 0.5395 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.4031, allocations: 12 kB / 0.5395 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005782/0.4037, allocations: 232 kB / 0.5397 GB, free: 7.203 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004707/0.4042, allocations: 153.6 kB / 0.5398 GB, free: 7.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008626/0.405, allocations: 264.6 kB / 0.5401 GB, free: 6.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.405, allocations: 4 kB / 0.5401 GB, free: 6.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001105/0.4061, allocations: 345.1 kB / 0.5404 GB, free: 6.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4061, allocations: 4 kB / 0.5404 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4061, allocations: 8.109 kB / 0.5404 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.4061, allocations: 11.88 kB / 0.5404 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.4066, allocations: 71.95 kB / 0.5405 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4066, allocations: 7.922 kB / 0.5405 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003285/0.4069, allocations: 35.81 kB / 0.5406 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.4069, allocations: 15.98 kB / 0.5406 GB, free: 6.262 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.0001724/0.4071, allocations: 204.1 kB / 0.5408 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4072, allocations: 51.59 kB / 0.5408 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4084, allocations: 352.3 kB / 0.5411 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4084, allocations: 7.938 kB / 0.5412 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4084, allocations: 0 / 0.5412 GB, free: 5.645 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4084, allocations: 7.984 kB / 0.5412 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005615/0.4089, allocations: 301 kB / 0.5415 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.4089, allocations: 0 / 0.5415 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.4093, allocations: 67.94 kB / 0.5415 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.4094, allocations: 4 kB / 0.5415 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.4094, allocations: 7.938 kB / 0.5415 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4094, allocations: 11.98 kB / 0.5415 GB, free: 5.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.4094, allocations: 3.938 kB / 0.5415 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.4105, allocations: 0.4915 MB / 0.542 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.4106, allocations: 43.64 kB / 0.5421 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.4107, allocations: 11.94 kB / 0.5421 GB, free: 4.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/0.411, allocations: 23.97 kB / 0.5421 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.4111, allocations: 23.95 kB / 0.5421 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.4112, allocations: 12 kB / 0.5421 GB, free: 4.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000274/0.4114, allocations: 247.2 kB / 0.5424 GB, free: 4.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4114, allocations: 0 / 0.5424 GB, free: 4.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002609/0.414, allocations: 0.9707 MB / 0.5433 GB, free: 3.379 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.003334/0.4174, allocations: 0.9926 MB / 0.5443 GB, free: 2.379 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.419, allocations: 423.5 kB / 0.5447 GB, free: 1.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4191, allocations: 4 kB / 0.5447 GB, free: 1.961 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.4195, allocations: 152.1 kB / 0.5448 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4208, allocations: 200.5 kB / 0.545 GB, free: 1.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.4229, allocations: 0.8569 MB / 0.5459 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.4231, allocations: 219.9 kB / 0.5461 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.4233, allocations: 48.48 kB / 0.5461 GB, free: 448 kB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4233, allocations: 0 / 0.5461 GB, free: 448 kB / 446.1 MB Notification: Performance of Templates: time 0.0318/0.4551, allocations: 20.23 MB / 0.5659 GB, free: 12.21 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.127179539995268] Failed to read output from testmodel.py, exit status != 0: 0.4646912149619311 0.47941928599999994 0.093764791 Calling exit ...