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.001785/0.001785, allocations: 78.17 kB / 21.27 MB, free: 0.5352 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.002339/0.002339, allocations: 160.4 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 2.12/2.12, allocations: 177.2 MB / 204.9 MB, free: 9.297 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.1701/0.1701, allocations: 19.7 MB / 281 MB, free: 13.07 MB / 270.1 MB " [Timeout remaining time 179] 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.003185/0.003185, allocations: 67.91 kB / 417.6 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4241, 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.1072/0.5313, allocations: 40.8 MB / 0.5067 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02108/0.5524, allocations: 8.363 MB / 0.5149 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.553, allocations: 19.81 kB / 0.5149 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5541, allocations: 210.4 kB / 0.5151 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.5553, allocations: 297.9 kB / 0.5154 GB, free: 464 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.03712/0.5924, allocations: 5.088 MB / 0.5203 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.5944, allocations: 0.8759 MB / 0.5212 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006107/0.595, allocations: 226.8 kB / 0.5214 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.5966, allocations: 0.5567 MB / 0.522 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007088/0.5973, allocations: 310.5 kB / 0.5223 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.115e-05/0.5974, allocations: 35.98 kB / 0.5223 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03444/0.6318, allocations: 5.896 MB / 0.5281 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.632, allocations: 91.56 kB / 0.5281 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.6325, allocations: 223 kB / 0.5284 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.6459, allocations: 3.776 MB / 0.532 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6459, allocations: 0 / 0.532 GB, free: 15.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.6459, allocations: 0 / 0.532 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.6459, allocations: 0 / 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.005302/0.6512, allocations: 1.231 MB / 0.5332 GB, free: 14.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.6513, allocations: 12.03 kB / 0.5333 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.652, allocations: 96.53 kB / 0.5333 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009303/0.6529, allocations: 347 kB / 0.5337 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.6531, allocations: 148 kB / 0.5338 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.022e-05/0.6532, allocations: 40.06 kB / 0.5339 GB, free: 13.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.655, allocations: 487.6 kB / 0.5343 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6551, allocations: 0 / 0.5343 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.6551, allocations: 16 kB / 0.5343 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.6551, allocations: 8 kB / 0.5343 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.6576, allocations: 0.4964 MB / 0.5348 GB, free: 12.4 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.003081/0.6607, allocations: 1.292 MB / 0.5361 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.6631, allocations: 441 kB / 0.5365 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000683/0.6638, allocations: 141.6 kB / 0.5366 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/0.6643, allocations: 43.95 kB / 0.5367 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.6644, allocations: 34.56 kB / 0.5367 GB, free: 10.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.6644, allocations: 4 kB / 0.5367 GB, free: 10.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.003472/0.6679, allocations: 0.5672 MB / 0.5373 GB, free: 9.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.6679, allocations: 77.11 kB / 0.5374 GB, free: 9.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.6686, allocations: 345.7 kB / 0.5377 GB, free: 9.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.476e-05/0.6686, allocations: 33.69 kB / 0.5377 GB, free: 9.324 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.6689, allocations: 248.4 kB / 0.5379 GB, free: 9.078 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.669, allocations: 83.17 kB / 0.538 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.6692, allocations: 65.67 kB / 0.5381 GB, free: 8.926 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.6694, allocations: 346.8 kB / 0.5384 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007417/0.6701, allocations: 128.8 kB / 0.5385 GB, free: 8.449 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/0.6709, allocations: 165.5 kB / 0.5387 GB, free: 8.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.6724, allocations: 284 kB / 0.539 GB, free: 7.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6724, allocations: 0 / 0.539 GB, free: 7.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001802/0.6742, allocations: 361.3 kB / 0.5393 GB, free: 7.617 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.6742, allocations: 11.94 kB / 0.5393 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6742, allocations: 3.984 kB / 0.5393 GB, free: 7.602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.6743, allocations: 4 kB / 0.5393 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.6749, allocations: 75.88 kB / 0.5394 GB, free: 7.523 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.675, allocations: 4 kB / 0.5394 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.6755, allocations: 43.81 kB / 0.5395 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.6756, allocations: 15.98 kB / 0.5395 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008677/0.6764, allocations: 224 kB / 0.5397 GB, free: 7.238 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007532/0.6772, allocations: 165.5 kB / 0.5398 GB, free: 7.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001298/0.6785, allocations: 263.8 kB / 0.5401 GB, free: 6.785 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.096e-06/0.6785, allocations: 0 / 0.5401 GB, free: 6.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001468/0.68, allocations: 348.8 kB / 0.5404 GB, free: 6.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.68, allocations: 7.984 kB / 0.5404 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.68, allocations: 4 kB / 0.5404 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.68, allocations: 3.938 kB / 0.5404 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.6805, allocations: 79.88 kB / 0.5405 GB, free: 6.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.6805, allocations: 7.938 kB / 0.5405 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.681, allocations: 43.8 kB / 0.5406 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.681, allocations: 12 kB / 0.5406 GB, free: 6.285 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.0002059/0.6812, allocations: 196.8 kB / 0.5408 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.6814, allocations: 47.66 kB / 0.5408 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.6831, allocations: 356.6 kB / 0.5412 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6831, allocations: 0 / 0.5412 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.6832, allocations: 7.984 kB / 0.5412 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.6832, allocations: 4 kB / 0.5412 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007323/0.6839, allocations: 301 kB / 0.5415 GB, free: 5.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6839, allocations: 4 kB / 0.5415 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000541/0.6844, allocations: 71.88 kB / 0.5415 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6844, allocations: 4 kB / 0.5415 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.6845, allocations: 11.92 kB / 0.5415 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6845, allocations: 0 / 0.5415 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6845, allocations: 0 / 0.5415 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.6861, allocations: 0.4945 MB / 0.542 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.6862, allocations: 43.64 kB / 0.5421 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.6863, allocations: 11.94 kB / 0.5421 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.6868, allocations: 27.91 kB / 0.5421 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6869, allocations: 27.95 kB / 0.5421 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.6869, allocations: 15.98 kB / 0.5421 GB, free: 4.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000375/0.6873, allocations: 243.2 kB / 0.5424 GB, free: 4.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6873, allocations: 0 / 0.5424 GB, free: 4.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003406/0.6907, allocations: 0.9707 MB / 0.5433 GB, free: 3.402 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.005151/0.6959, allocations: 0.9814 MB / 0.5443 GB, free: 2.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.6984, allocations: 435.5 kB / 0.5447 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6984, allocations: 0 / 0.5447 GB, free: 1.988 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007789/0.6992, allocations: 139.8 kB / 0.5448 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.701, allocations: 202 kB / 0.545 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.704, allocations: 0.8318 MB / 0.5458 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.7043, allocations: 215.9 kB / 0.546 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.7055, allocations: 449.9 kB / 0.5465 GB, free: 112 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.7057, allocations: 44.48 kB / 0.5465 GB, free: 68 kB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.7057, allocations: 4 kB / 0.5465 GB, free: 64 kB / 446.1 MB Notification: Performance of Templates: time 0.07816/0.7838, allocations: 34.24 MB / 0.5799 GB, free: 13.93 MB / 494.1 MB " [Timeout remaining time 659] 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 cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.9370342399925] Failed to read output from testmodel.py, exit status != 0: 0.8013686649501324 0.817222478 0.16670392999999994 Calling exit ...