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.001391/0.001391, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001527/0.001527, allocations: 213.8 kB / 23.75 MB, free: 4.668 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.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.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.1453/0.1453, allocations: 26.81 MB / 340.7 MB, free: 8.18 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.002011/0.002011, allocations: 72.11 kB / 477.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2804, allocations: 60.49 MB / 0.5252 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04603/0.3265, allocations: 45.38 MB / 0.5695 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01331/0.3398, allocations: 9.491 MB / 0.5788 GB, free: 13.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.3402, allocations: 19.81 kB / 0.5788 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.341, allocations: 214.4 kB / 0.579 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007933/0.3418, allocations: 305.9 kB / 0.5793 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01489/0.3566, allocations: 5.159 MB / 0.5843 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.358, allocations: 0.8798 MB / 0.5852 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004399/0.3585, allocations: 234.8 kB / 0.5854 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008274/0.3593, allocations: 434.2 kB / 0.5858 GB, free: 6.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000446/0.3598, allocations: 330.5 kB / 0.5862 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.3598, allocations: 32 kB / 0.5862 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/0.3714, allocations: 6.185 MB / 0.5922 GB, free: 188 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.3715, allocations: 95.56 kB / 0.5923 GB, free: 92 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.3719, allocations: 266.7 kB / 0.5926 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007021/0.3789, allocations: 3.776 MB / 0.5963 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3789, allocations: 3.938 kB / 0.5963 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3789, allocations: 0 / 0.5963 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.3789, allocations: 0 / 0.5963 GB, free: 12.04 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.003256/0.3822, allocations: 1.231 MB / 0.5975 GB, free: 10.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3822, allocations: 15.97 kB / 0.5975 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004271/0.3827, allocations: 96.52 kB / 0.5976 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006454/0.3833, allocations: 347.1 kB / 0.5979 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.3835, allocations: 144 kB / 0.598 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.3835, allocations: 40.12 kB / 0.5981 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.3848, allocations: 495.6 kB / 0.5986 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3848, allocations: 0 / 0.5986 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.3848, allocations: 19.98 kB / 0.5986 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3848, allocations: 12 kB / 0.5986 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.3865, allocations: 0.4886 MB / 0.5991 GB, free: 9.066 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.002537/0.389, allocations: 1.883 MB / 0.6009 GB, free: 7.023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.3907, allocations: 433 kB / 0.6013 GB, free: 6.582 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.3911, allocations: 133.6 kB / 0.6014 GB, free: 6.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/0.3915, allocations: 47.89 kB / 0.6015 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.3916, allocations: 38.5 kB / 0.6015 GB, free: 6.352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/0.3916, allocations: 4 kB / 0.6015 GB, free: 6.348 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002187/0.3938, allocations: 0.5752 MB / 0.6021 GB, free: 5.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.3938, allocations: 81.11 kB / 0.6022 GB, free: 5.672 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.3943, allocations: 450.2 kB / 0.6026 GB, free: 5.219 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3943, allocations: 29.7 kB / 0.6026 GB, free: 5.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.3945, allocations: 236.4 kB / 0.6029 GB, free: 4.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.3946, allocations: 95.16 kB / 0.6029 GB, free: 4.855 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3947, allocations: 57.69 kB / 0.603 GB, free: 4.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3949, allocations: 358.8 kB / 0.6033 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.3954, allocations: 128.7 kB / 0.6035 GB, free: 4.305 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.3958, allocations: 173.6 kB / 0.6036 GB, free: 4.117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.3967, allocations: 273 kB / 0.6039 GB, free: 3.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3967, allocations: 0 / 0.6039 GB, free: 3.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00114/0.3979, allocations: 388.7 kB / 0.6043 GB, free: 3.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3979, allocations: 8 kB / 0.6043 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3979, allocations: 0 / 0.6043 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3979, allocations: 4.125 kB / 0.6043 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.3983, allocations: 83.88 kB / 0.6044 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3983, allocations: 0 / 0.6044 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.3987, allocations: 51.7 kB / 0.6044 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.3988, allocations: 11.98 kB / 0.6044 GB, free: 3.293 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005375/0.3993, allocations: 228 kB / 0.6046 GB, free: 3.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004635/0.3998, allocations: 161 kB / 0.6048 GB, free: 2.891 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008279/0.4006, allocations: 253 kB / 0.605 GB, free: 2.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.4006, allocations: 0 / 0.605 GB, free: 2.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001109/0.4017, allocations: 368.3 kB / 0.6054 GB, free: 2.262 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.4017, allocations: 10.59 kB / 0.6054 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.4017, allocations: 0 / 0.6054 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.4017, allocations: 7.984 kB / 0.6054 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.4021, allocations: 80 kB / 0.6055 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.4021, allocations: 0 / 0.6055 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.4024, allocations: 39.8 kB / 0.6055 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4025, allocations: 12 kB / 0.6055 GB, free: 2.117 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.0001582/0.4026, allocations: 204.1 kB / 0.6057 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.4027, allocations: 59.61 kB / 0.6058 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4039, allocations: 369.2 kB / 0.6061 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4039, allocations: 4 kB / 0.6061 GB, free: 1.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4039, allocations: 4 kB / 0.6061 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4039, allocations: 3.984 kB / 0.6061 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005629/0.4045, allocations: 404.2 kB / 0.6065 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4045, allocations: 3.984 kB / 0.6065 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.4048, allocations: 67.83 kB / 0.6066 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4048, allocations: 4 kB / 0.6066 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.4048, allocations: 11.98 kB / 0.6066 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4049, allocations: 0 / 0.6066 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4049, allocations: 0 / 0.6066 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.4059, allocations: 0.51 MB / 0.6071 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.4061, allocations: 63.53 kB / 0.6072 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.4061, allocations: 0 / 0.6072 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.4065, allocations: 27.97 kB / 0.6072 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.4065, allocations: 27.95 kB / 0.6072 GB, free: 312 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4066, allocations: 8 kB / 0.6072 GB, free: 304 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003792/0.4069, allocations: 322.9 kB / 0.6075 GB, free: 15.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4069, allocations: 0 / 0.6075 GB, free: 15.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002507/0.4095, allocations: 0.9514 MB / 0.6085 GB, free: 15.03 MB / 462.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.003253/0.4127, allocations: 0.9696 MB / 0.6094 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.4143, allocations: 427.5 kB / 0.6098 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4143, allocations: 4.188 kB / 0.6098 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.4148, allocations: 139.8 kB / 0.61 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.4162, allocations: 277.3 kB / 0.6102 GB, free: 13.22 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.4181, allocations: 0.8397 MB / 0.611 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.4186, allocations: 0.823 MB / 0.6118 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007245/0.4193, allocations: 446.6 kB / 0.6123 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.4195, allocations: 55.36 kB / 0.6123 GB, free: 11 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4195, allocations: 0 / 0.6123 GB, free: 11 MB / 462.1 MB Notification: Performance of Templates: time 0.05085/0.4703, allocations: 35.74 MB / 0.6472 GB, free: 7.316 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.9574313927441835] Failed to read output from testmodel.py, exit status != 0: 0.47958333045244217 0.49472846400000003 0.112326695 Calling exit ...