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.00188/0.00188, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002503/0.002503, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1465/0.1465, allocations: 26.82 MB / 340.7 MB, free: 7.949 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.002042/0.002042, allocations: 71.83 kB / 477.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2958, allocations: 60.47 MB / 0.5251 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.04397/0.3398, allocations: 40.98 MB / 0.5652 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.352, allocations: 8.364 MB / 0.5733 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.3525, allocations: 19.75 kB / 0.5733 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007282/0.3532, allocations: 198.5 kB / 0.5735 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007925/0.354, allocations: 309.9 kB / 0.5738 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01396/0.3679, allocations: 5.098 MB / 0.5788 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001225/0.3692, allocations: 0.8759 MB / 0.5797 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.3696, allocations: 230.7 kB / 0.5799 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008203/0.3704, allocations: 426.2 kB / 0.5803 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004078/0.3708, allocations: 302.6 kB / 0.5806 GB, free: 11.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.3709, allocations: 32 kB / 0.5806 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01108/0.382, allocations: 5.9 MB / 0.5864 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.3821, allocations: 91.56 kB / 0.5865 GB, free: 5.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.3824, allocations: 226.9 kB / 0.5867 GB, free: 5.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00718/0.3896, allocations: 3.772 MB / 0.5904 GB, free: 1.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3896, allocations: 0 / 0.5904 GB, free: 1.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3896, allocations: 0 / 0.5904 GB, free: 1.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3896, allocations: 4 kB / 0.5904 GB, free: 1.836 MB / 430.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.003214/0.3929, allocations: 1.227 MB / 0.5916 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3929, allocations: 8.031 kB / 0.5916 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.3933, allocations: 96.53 kB / 0.5917 GB, free: 484 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.394, allocations: 355 kB / 0.592 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3941, allocations: 144 kB / 0.5921 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.3942, allocations: 40.12 kB / 0.5922 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.3954, allocations: 487.6 kB / 0.5926 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.3954, allocations: 3.938 kB / 0.5926 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.727e-05/0.3955, allocations: 16 kB / 0.5927 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3955, allocations: 8 kB / 0.5927 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.3971, allocations: 0.4885 MB / 0.5931 GB, free: 14.88 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.002148/0.3993, allocations: 1.295 MB / 0.5944 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.401, allocations: 444.9 kB / 0.5948 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.4014, allocations: 133.6 kB / 0.595 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004/0.4018, allocations: 43.95 kB / 0.595 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4019, allocations: 42.5 kB / 0.595 GB, free: 12.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.104e-06/0.4019, allocations: 0 / 0.595 GB, free: 12.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002134/0.404, allocations: 0.5633 MB / 0.5956 GB, free: 12.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.4041, allocations: 85.05 kB / 0.5957 GB, free: 12.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004107/0.4045, allocations: 345.7 kB / 0.596 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.4045, allocations: 33.7 kB / 0.596 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.4047, allocations: 252.4 kB / 0.5963 GB, free: 11.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.4048, allocations: 79.23 kB / 0.5964 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4049, allocations: 65.67 kB / 0.5964 GB, free: 11.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4051, allocations: 346.8 kB / 0.5967 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004591/0.4056, allocations: 120.7 kB / 0.5969 GB, free: 10.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/0.4061, allocations: 173.6 kB / 0.597 GB, free: 10.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009079/0.407, allocations: 276.5 kB / 0.5973 GB, free: 10.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.407, allocations: 3.938 kB / 0.5973 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001116/0.4081, allocations: 365.2 kB / 0.5976 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4081, allocations: 11.94 kB / 0.5977 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4081, allocations: 0 / 0.5977 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4081, allocations: 4 kB / 0.5977 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.4086, allocations: 83.98 kB / 0.5977 GB, free: 9.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.4086, allocations: 4 kB / 0.5977 GB, free: 9.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.4089, allocations: 39.81 kB / 0.5978 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4089, allocations: 12 kB / 0.5978 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005303/0.4095, allocations: 224 kB / 0.598 GB, free: 9.715 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004496/0.4099, allocations: 165.6 kB / 0.5982 GB, free: 9.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008224/0.4108, allocations: 264.6 kB / 0.5984 GB, free: 9.262 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.4108, allocations: 3.938 kB / 0.5984 GB, free: 9.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001038/0.4118, allocations: 349.1 kB / 0.5988 GB, free: 8.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4118, allocations: 4.125 kB / 0.5988 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4118, allocations: 11.98 kB / 0.5988 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.153e-06/0.4118, allocations: 3.938 kB / 0.5988 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.4122, allocations: 75.89 kB / 0.5988 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.4122, allocations: 11.92 kB / 0.5989 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.4125, allocations: 31.88 kB / 0.5989 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.4126, allocations: 11.98 kB / 0.5989 GB, free: 8.762 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.0001562/0.4127, allocations: 196.2 kB / 0.5991 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.4128, allocations: 47.66 kB / 0.5991 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.414, allocations: 360.4 kB / 0.5995 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.414, allocations: 4 kB / 0.5995 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.414, allocations: 3.938 kB / 0.5995 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.414, allocations: 3.984 kB / 0.5995 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.4145, allocations: 305 kB / 0.5998 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.4145, allocations: 0 / 0.5998 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.4148, allocations: 71.94 kB / 0.5998 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4148, allocations: 0 / 0.5998 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.4148, allocations: 15.94 kB / 0.5999 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.4149, allocations: 3.984 kB / 0.5999 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4149, allocations: 0 / 0.5999 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.4159, allocations: 0.4983 MB / 0.6004 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.416, allocations: 43.64 kB / 0.6004 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.4161, allocations: 15.94 kB / 0.6004 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.4164, allocations: 27.95 kB / 0.6004 GB, free: 7.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.4165, allocations: 23.95 kB / 0.6005 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4165, allocations: 8 kB / 0.6005 GB, free: 7.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.4168, allocations: 247.2 kB / 0.6007 GB, free: 6.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4168, allocations: 3.938 kB / 0.6007 GB, free: 6.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002452/0.4193, allocations: 0.9785 MB / 0.6017 GB, free: 5.867 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.003287/0.4225, allocations: 0.9724 MB / 0.6026 GB, free: 4.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.4241, allocations: 423.5 kB / 0.603 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4241, allocations: 0 / 0.603 GB, free: 4.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.4246, allocations: 148 kB / 0.6032 GB, free: 4.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.4258, allocations: 201.7 kB / 0.6033 GB, free: 4.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.4277, allocations: 0.8202 MB / 0.6041 GB, free: 3.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.4279, allocations: 223.9 kB / 0.6044 GB, free: 3.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007403/0.4286, allocations: 442.1 kB / 0.6048 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.4288, allocations: 43.42 kB / 0.6048 GB, free: 2.559 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4288, allocations: 0 / 0.6048 GB, free: 2.559 MB / 446.1 MB Notification: Performance of Templates: time 0.04928/0.478, allocations: 34.98 MB / 0.639 GB, free: 15.7 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.962618060410023] Failed to read output from testmodel.py, exit status != 0: 0.486868167296052 0.5128922330000001 0.11780771500000001 Calling exit ...