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.001853/0.001853, allocations: 78.25 kB / 21.27 MB, free: 0.5391 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.001484/0.001484, allocations: 161.7 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.44/1.44, allocations: 177.2 MB / 204.9 MB, free: 9.277 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.1447/0.1447, allocations: 19.72 MB / 281 MB, free: 13.05 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.002102/0.002102, allocations: 67.91 kB / 417.6 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2658, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04944/0.3153, allocations: 40.8 MB / 0.5067 GB, free: 9.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.3279, allocations: 8.356 MB / 0.5149 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.3283, allocations: 19.81 kB / 0.5149 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.3289, allocations: 214.4 kB / 0.5151 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006742/0.3296, allocations: 297.9 kB / 0.5154 GB, free: 460 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/0.3441, allocations: 5.091 MB / 0.5203 GB, free: 11.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.3453, allocations: 0.876 MB / 0.5212 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.3457, allocations: 222.8 kB / 0.5214 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.3469, allocations: 0.5566 MB / 0.522 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004775/0.3473, allocations: 306.5 kB / 0.5222 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.3474, allocations: 32 kB / 0.5223 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.3591, allocations: 5.9 MB / 0.528 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001726/0.3593, allocations: 99.55 kB / 0.5281 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.3596, allocations: 215 kB / 0.5283 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008489/0.3681, allocations: 3.776 MB / 0.532 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3681, allocations: 0 / 0.532 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3681, allocations: 0 / 0.532 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.3681, allocations: 4 kB / 0.532 GB, free: 15.36 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.00361/0.3718, allocations: 1.223 MB / 0.5332 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3718, allocations: 12.03 kB / 0.5332 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004563/0.3723, allocations: 96.52 kB / 0.5333 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.3729, allocations: 355 kB / 0.5337 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.3731, allocations: 144 kB / 0.5338 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.3732, allocations: 44.06 kB / 0.5338 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.3745, allocations: 499.6 kB / 0.5343 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3745, allocations: 0 / 0.5343 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.3745, allocations: 12 kB / 0.5343 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3745, allocations: 8 kB / 0.5343 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.3762, allocations: 0.4885 MB / 0.5348 GB, free: 12.39 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.002314/0.3785, allocations: 1.296 MB / 0.5361 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.3801, allocations: 437 kB / 0.5365 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.3806, allocations: 137.6 kB / 0.5366 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/0.381, allocations: 43.95 kB / 0.5367 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.3811, allocations: 38.5 kB / 0.5367 GB, free: 10.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.3811, allocations: 0 / 0.5367 GB, free: 10.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.00223/0.3833, allocations: 0.5633 MB / 0.5373 GB, free: 9.805 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.3833, allocations: 89.09 kB / 0.5373 GB, free: 9.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004226/0.3838, allocations: 345.6 kB / 0.5377 GB, free: 9.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.3838, allocations: 29.7 kB / 0.5377 GB, free: 9.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.384, allocations: 248.4 kB / 0.5379 GB, free: 9.074 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/0.3841, allocations: 91.2 kB / 0.538 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.3842, allocations: 61.62 kB / 0.5381 GB, free: 8.918 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3844, allocations: 346.8 kB / 0.5384 GB, free: 8.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.3848, allocations: 128.8 kB / 0.5385 GB, free: 8.441 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.3853, allocations: 165.6 kB / 0.5387 GB, free: 8.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/0.3863, allocations: 280.6 kB / 0.539 GB, free: 7.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3863, allocations: 0 / 0.539 GB, free: 7.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001157/0.3874, allocations: 361.2 kB / 0.5393 GB, free: 7.613 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3875, allocations: 11.94 kB / 0.5393 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3875, allocations: 0 / 0.5393 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3875, allocations: 8.125 kB / 0.5393 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.3879, allocations: 83.86 kB / 0.5394 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.3879, allocations: 0 / 0.5394 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.3883, allocations: 43.77 kB / 0.5395 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3883, allocations: 15.98 kB / 0.5395 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005594/0.3889, allocations: 228 kB / 0.5397 GB, free: 7.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004783/0.3894, allocations: 157.6 kB / 0.5398 GB, free: 7.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008536/0.3902, allocations: 260.8 kB / 0.5401 GB, free: 6.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.3902, allocations: 0 / 0.5401 GB, free: 6.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001065/0.3913, allocations: 349.2 kB / 0.5404 GB, free: 6.438 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3913, allocations: 8 kB / 0.5404 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.3913, allocations: 4 kB / 0.5404 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/0.3913, allocations: 7.938 kB / 0.5404 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.3917, allocations: 75.88 kB / 0.5405 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.3917, allocations: 4 kB / 0.5405 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.392, allocations: 43.73 kB / 0.5406 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3921, allocations: 19.98 kB / 0.5406 GB, free: 6.277 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.0001771/0.3922, allocations: 196.1 kB / 0.5408 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3924, allocations: 47.66 kB / 0.5408 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.3936, allocations: 360.6 kB / 0.5411 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3936, allocations: 4 kB / 0.5412 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3936, allocations: 0 / 0.5412 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3936, allocations: 3.984 kB / 0.5412 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.3941, allocations: 301 kB / 0.5414 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3941, allocations: 0 / 0.5414 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.3945, allocations: 75.88 kB / 0.5415 GB, free: 5.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3945, allocations: 4 kB / 0.5415 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.3945, allocations: 11.94 kB / 0.5415 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3945, allocations: 0 / 0.5415 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3945, allocations: 4 kB / 0.5415 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3957, allocations: 0.503 MB / 0.542 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.3957, allocations: 43.64 kB / 0.5421 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.3958, allocations: 7.938 kB / 0.5421 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.3962, allocations: 23.97 kB / 0.5421 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.3962, allocations: 27.95 kB / 0.5421 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3963, allocations: 8 kB / 0.5421 GB, free: 4.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.3965, allocations: 247.2 kB / 0.5424 GB, free: 4.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3965, allocations: 0 / 0.5424 GB, free: 4.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002669/0.3992, allocations: 0.9785 MB / 0.5433 GB, free: 3.391 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.003567/0.4028, allocations: 0.9775 MB / 0.5443 GB, free: 2.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.4044, allocations: 423.5 kB / 0.5447 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4044, allocations: 0.5 kB / 0.5447 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004868/0.4049, allocations: 151.7 kB / 0.5448 GB, free: 1.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.4061, allocations: 206 kB / 0.545 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.4082, allocations: 0.8279 MB / 0.5458 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.4084, allocations: 219.9 kB / 0.546 GB, free: 0.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007713/0.4092, allocations: 454 kB / 0.5465 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.4093, allocations: 40.48 kB / 0.5465 GB, free: 60 kB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4093, allocations: 0 / 0.5465 GB, free: 60 kB / 446.1 MB Notification: Performance of Templates: time 0.05239/0.4617, allocations: 34.24 MB / 0.5799 GB, free: 13.92 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 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.016581233008765] Failed to read output from testmodel.py, exit status != 0: 0.4714452549815178 0.48766576 0.116000689 Calling exit ...