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.001415/0.001415, allocations: 74.33 kB / 20.52 MB, free: 1.355 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.001609/0.001609, allocations: 161 kB / 23.78 MB, free: 4.531 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.41/1.41, allocations: 177.2 MB / 204.2 MB, free: 9.293 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.1499/0.1499, allocations: 19.71 MB / 280.3 MB, free: 13.07 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.002154/0.002154, allocations: 67.89 kB / 416.9 MB, free: 0.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2702, allocations: 60.46 MB / 477.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04924/0.3194, allocations: 40.79 MB / 0.506 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.3328, allocations: 8.371 MB / 0.5141 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005242/0.3334, allocations: 19.81 kB / 0.5142 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000828/0.3342, allocations: 202.5 kB / 0.5143 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.3351, allocations: 301.9 kB / 0.5146 GB, free: 476 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01365/0.3487, allocations: 5.088 MB / 0.5196 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.3499, allocations: 0.8798 MB / 0.5205 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004196/0.3504, allocations: 222.8 kB / 0.5207 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009513/0.3513, allocations: 0.5605 MB / 0.5212 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004323/0.3517, allocations: 302.6 kB / 0.5215 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.731e-05/0.3518, allocations: 32 kB / 0.5215 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.3628, allocations: 5.896 MB / 0.5273 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.363, allocations: 95.56 kB / 0.5274 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.3633, allocations: 227 kB / 0.5276 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007566/0.3709, allocations: 3.772 MB / 0.5313 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3709, allocations: 0 / 0.5313 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3709, allocations: 0 / 0.5313 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3709, allocations: 0 / 0.5313 GB, free: 15.38 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.003374/0.3743, allocations: 1.235 MB / 0.5325 GB, free: 14.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3743, allocations: 8.031 kB / 0.5325 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004584/0.3748, allocations: 100.5 kB / 0.5326 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.3754, allocations: 347 kB / 0.5329 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.3756, allocations: 148 kB / 0.5331 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.3757, allocations: 36.12 kB / 0.5331 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.377, allocations: 487.6 kB / 0.5336 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.377, allocations: 4 kB / 0.5336 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.3771, allocations: 12 kB / 0.5336 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3771, allocations: 8 kB / 0.5336 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.3788, allocations: 0.4963 MB / 0.5341 GB, free: 12.41 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.002273/0.3811, allocations: 1.307 MB / 0.5354 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00175/0.3828, allocations: 433 kB / 0.5358 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.3833, allocations: 133.6 kB / 0.5359 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004299/0.3838, allocations: 43.95 kB / 0.5359 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.3838, allocations: 42.55 kB / 0.536 GB, free: 10.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/0.3838, allocations: 0 / 0.536 GB, free: 10.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002288/0.3861, allocations: 0.5633 MB / 0.5365 GB, free: 9.816 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.3862, allocations: 81.11 kB / 0.5366 GB, free: 9.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.3866, allocations: 345.7 kB / 0.5369 GB, free: 9.375 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.3866, allocations: 29.7 kB / 0.537 GB, free: 9.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.3868, allocations: 248.4 kB / 0.5372 GB, free: 9.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/0.3869, allocations: 83.23 kB / 0.5373 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.387, allocations: 65.67 kB / 0.5373 GB, free: 8.941 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3872, allocations: 350.8 kB / 0.5377 GB, free: 8.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/0.3877, allocations: 124.7 kB / 0.5378 GB, free: 8.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.3882, allocations: 169.6 kB / 0.538 GB, free: 8.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009616/0.3892, allocations: 276.8 kB / 0.5382 GB, free: 7.996 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3892, allocations: 0 / 0.5382 GB, free: 7.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001189/0.3904, allocations: 369.3 kB / 0.5386 GB, free: 7.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3904, allocations: 11.94 kB / 0.5386 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3904, allocations: 0 / 0.5386 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3904, allocations: 4 kB / 0.5386 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/0.3909, allocations: 79.88 kB / 0.5387 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3909, allocations: 0 / 0.5387 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.3912, allocations: 43.81 kB / 0.5387 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.3913, allocations: 15.98 kB / 0.5387 GB, free: 7.477 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005459/0.3918, allocations: 220 kB / 0.5389 GB, free: 7.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000477/0.3923, allocations: 173.5 kB / 0.5391 GB, free: 7.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008832/0.3932, allocations: 259.9 kB / 0.5393 GB, free: 6.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.3932, allocations: 0 / 0.5393 GB, free: 6.801 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001126/0.3943, allocations: 353.1 kB / 0.5397 GB, free: 6.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.3943, allocations: 4 kB / 0.5397 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3943, allocations: 4 kB / 0.5397 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.03e-06/0.3943, allocations: 3.938 kB / 0.5397 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.3947, allocations: 87.94 kB / 0.5398 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.3947, allocations: 4 kB / 0.5398 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.3951, allocations: 35.86 kB / 0.5398 GB, free: 6.312 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.3951, allocations: 8 kB / 0.5398 GB, free: 6.305 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.0001643/0.3953, allocations: 196.1 kB / 0.54 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3954, allocations: 47.66 kB / 0.5401 GB, free: 6.059 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.3966, allocations: 363.4 kB / 0.5404 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.3966, allocations: 4 kB / 0.5404 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3966, allocations: 0 / 0.5404 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3966, allocations: 0 / 0.5404 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.3971, allocations: 305 kB / 0.5407 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.3971, allocations: 8 kB / 0.5407 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.3975, allocations: 71.88 kB / 0.5408 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.3975, allocations: 0 / 0.5408 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.3976, allocations: 15.92 kB / 0.5408 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3976, allocations: 0 / 0.5408 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3976, allocations: 0 / 0.5408 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.3988, allocations: 0.5031 MB / 0.5413 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.3988, allocations: 43.64 kB / 0.5413 GB, free: 4.703 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.3989, allocations: 11.94 kB / 0.5413 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.3993, allocations: 31.91 kB / 0.5414 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3994, allocations: 27.95 kB / 0.5414 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.3994, allocations: 7.984 kB / 0.5414 GB, free: 4.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00029/0.3997, allocations: 243.2 kB / 0.5416 GB, free: 4.387 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3997, allocations: 0 / 0.5416 GB, free: 4.387 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002533/0.4022, allocations: 0.9785 MB / 0.5426 GB, free: 3.406 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.003862/0.4061, allocations: 0.9697 MB / 0.5435 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.4077, allocations: 435.2 kB / 0.5439 GB, free: 2.004 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4077, allocations: 0 / 0.5439 GB, free: 2.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004971/0.4082, allocations: 139.8 kB / 0.5441 GB, free: 1.867 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.4093, allocations: 211.3 kB / 0.5443 GB, free: 1.668 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.4114, allocations: 0.8279 MB / 0.5451 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4116, allocations: 215.9 kB / 0.5453 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007272/0.4124, allocations: 450 kB / 0.5457 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.4125, allocations: 48.47 kB / 0.5458 GB, free: 80 kB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4125, allocations: 0 / 0.5458 GB, free: 80 kB / 446.1 MB Notification: Performance of Templates: time 0.05177/0.4643, allocations: 34.24 MB / 0.5792 GB, free: 13.95 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: 7.170769767835736] Failed to read output from testmodel.py, exit status != 0: 0.47311998531222343 0.48755068100000004 0.113408383 Calling exit ...