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.001345/0.001345, allocations: 79.05 kB / 21.28 MB, free: 380 kB / 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.001473/0.001473, allocations: 165.1 kB / 24.54 MB, free: 3.586 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.392/1.392, allocations: 177.2 MB / 204.9 MB, free: 9.25 MB / 190.1 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.1392/0.1392, allocations: 19.7 MB / 281 MB, free: 13.02 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.00211/0.00211, allocations: 67.91 kB / 417.6 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2696, allocations: 60.46 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04844/0.318, allocations: 40.79 MB / 0.5067 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01293/0.3309, allocations: 8.363 MB / 0.5149 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.3314, allocations: 19.81 kB / 0.5149 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.3325, allocations: 202.5 kB / 0.5151 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3335, allocations: 305.9 kB / 0.5154 GB, free: 448 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01463/0.3481, allocations: 5.083 MB / 0.5203 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.3495, allocations: 0.8837 MB / 0.5212 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.35, allocations: 226.8 kB / 0.5214 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.3511, allocations: 0.5528 MB / 0.522 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.3517, allocations: 310.5 kB / 0.5223 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-05/0.3517, allocations: 32 kB / 0.5223 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.3631, allocations: 5.892 MB / 0.528 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.3633, allocations: 91.56 kB / 0.5281 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.3636, allocations: 226.9 kB / 0.5284 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007621/0.3712, allocations: 3.776 MB / 0.532 GB, free: 15.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3712, allocations: 0 / 0.532 GB, free: 15.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3712, allocations: 0 / 0.532 GB, free: 15.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.3713, allocations: 0 / 0.532 GB, free: 15.35 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.003763/0.375, allocations: 1.231 MB / 0.5332 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3751, allocations: 12.02 kB / 0.5333 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005001/0.3756, allocations: 96.53 kB / 0.5333 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.3763, allocations: 351 kB / 0.5337 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.3765, allocations: 144 kB / 0.5338 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.289e-05/0.3766, allocations: 44.05 kB / 0.5339 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.3779, allocations: 487.6 kB / 0.5343 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.3779, allocations: 0 / 0.5343 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.378, allocations: 20 kB / 0.5343 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.378, allocations: 8 kB / 0.5344 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.3797, allocations: 0.4924 MB / 0.5348 GB, free: 12.38 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.002347/0.3821, allocations: 1.296 MB / 0.5361 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/0.3838, allocations: 433 kB / 0.5365 GB, free: 10.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.3843, allocations: 141.5 kB / 0.5366 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004537/0.3848, allocations: 43.95 kB / 0.5367 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.3848, allocations: 38.56 kB / 0.5367 GB, free: 10.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.3848, allocations: 0 / 0.5367 GB, free: 10.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002299/0.3871, allocations: 0.5633 MB / 0.5373 GB, free: 9.793 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.3872, allocations: 77.11 kB / 0.5373 GB, free: 9.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.3876, allocations: 349.7 kB / 0.5377 GB, free: 9.352 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.3877, allocations: 29.7 kB / 0.5377 GB, free: 9.316 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.3879, allocations: 248.4 kB / 0.5379 GB, free: 9.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.914e-05/0.3879, allocations: 91.16 kB / 0.538 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3881, allocations: 61.69 kB / 0.5381 GB, free: 8.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3883, allocations: 350.8 kB / 0.5384 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000482/0.3887, allocations: 116.8 kB / 0.5385 GB, free: 8.445 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.3893, allocations: 173.6 kB / 0.5387 GB, free: 8.258 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.3902, allocations: 284.5 kB / 0.539 GB, free: 7.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3902, allocations: 0 / 0.539 GB, free: 7.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001227/0.3915, allocations: 365.2 kB / 0.5393 GB, free: 7.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3915, allocations: 8 kB / 0.5393 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.3915, allocations: 3.938 kB / 0.5393 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3915, allocations: 4 kB / 0.5393 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.392, allocations: 79.86 kB / 0.5394 GB, free: 7.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.392, allocations: 8.062 kB / 0.5394 GB, free: 7.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.3923, allocations: 39.81 kB / 0.5395 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.3924, allocations: 12 kB / 0.5395 GB, free: 7.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005608/0.3929, allocations: 224 kB / 0.5397 GB, free: 7.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004718/0.3934, allocations: 165.6 kB / 0.5398 GB, free: 7.047 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008805/0.3943, allocations: 264.8 kB / 0.5401 GB, free: 6.773 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.3943, allocations: 0 / 0.5401 GB, free: 6.773 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001119/0.3954, allocations: 349.1 kB / 0.5404 GB, free: 6.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3954, allocations: 4 kB / 0.5404 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.3954, allocations: 4 kB / 0.5404 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.3954, allocations: 3.938 kB / 0.5404 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.3958, allocations: 84 kB / 0.5405 GB, free: 6.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.3958, allocations: 3.938 kB / 0.5405 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.3962, allocations: 43.8 kB / 0.5406 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/0.3962, allocations: 11.98 kB / 0.5406 GB, free: 6.273 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.0001775/0.3964, allocations: 196.8 kB / 0.5408 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3965, allocations: 43.72 kB / 0.5408 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.3977, allocations: 367.3 kB / 0.5412 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.3977, allocations: 3.984 kB / 0.5412 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3977, allocations: 4 kB / 0.5412 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.3978, allocations: 39.66 kB / 0.5412 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.3979, allocations: 8 kB / 0.5412 GB, free: 5.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.3983, allocations: 27.97 kB / 0.5412 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.3984, allocations: 23.95 kB / 0.5413 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001346/0.3997, allocations: 491.9 kB / 0.5417 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001215/0.4009, allocations: 0.5791 MB / 0.5423 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004719/0.4014, allocations: 127.9 kB / 0.5424 GB, free: 4.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002896/0.4017, allocations: 251.2 kB / 0.5427 GB, free: 4.102 MB / 446.1 MB Notification: Performance of Backend: time 6.21e-07/0.4017, allocations: 0 / 0.5427 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00606/0.4077, allocations: 1.44 MB / 0.5441 GB, free: 2.656 MB / 446.1 MB Notification: Performance of SimCode: time 0.001949/0.4097, allocations: 1.27 MB / 0.5453 GB, free: 1.344 MB / 446.1 MB Notification: Performance of Templates: time 0.05817/0.4679, allocations: 38.64 MB / 0.583 GB, free: 10.78 MB / 494.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.969482180895284] Failed to read output from testmodel.py, exit status != 0: 0.476521062082611 0.491520068 0.11688365499999995 Calling exit ...