Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001375/0.001375, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001372/0.001372, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3055/0.3055, allocations: 49.6 MB / 337.2 MB, free: 3.871 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002272/0.002272, allocations: 76.44 kB / 477.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1087, allocations: 62.44 MB / 0.5274 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2303/0.3391, allocations: 40.63 MB / 0.5671 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.351, allocations: 8.217 MB / 0.5751 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005451/0.3515, allocations: 14.75 kB / 0.5751 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.3523, allocations: 196.9 kB / 0.5753 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009302/0.3532, allocations: 292.7 kB / 0.5756 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01352/0.3667, allocations: 4.991 MB / 0.5804 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001085/0.3678, allocations: 0.7919 MB / 0.5812 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00034/0.3682, allocations: 205.6 kB / 0.5814 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.3689, allocations: 404.8 kB / 0.5818 GB, free: 6.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.3692, allocations: 279.8 kB / 0.5821 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.3693, allocations: 38.64 kB / 0.5821 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0112/0.3805, allocations: 5.875 MB / 0.5878 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3806, allocations: 88.8 kB / 0.5879 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003583/0.381, allocations: 198.4 kB / 0.5881 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008109/0.3891, allocations: 3.718 MB / 0.5917 GB, free: 0.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3891, allocations: 5.297 kB / 0.5917 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3891, allocations: 0 / 0.5917 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3891, allocations: 0 / 0.5917 GB, free: 0.4961 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003392/0.3925, allocations: 1.129 MB / 0.5928 GB, free: 15.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3925, allocations: 14.75 kB / 0.5929 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.3928, allocations: 74.73 kB / 0.5929 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005758/0.3934, allocations: 311.6 kB / 0.5932 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.3934, allocations: 24.38 kB / 0.5932 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.3934, allocations: 31.19 kB / 0.5933 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/0.3944, allocations: 441.5 kB / 0.5937 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.3944, allocations: 1.344 kB / 0.5937 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.3944, allocations: 14.77 kB / 0.5937 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.3945, allocations: 8.094 kB / 0.5937 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.3956, allocations: 353.8 kB / 0.5941 GB, free: 14.87 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.002038/0.3976, allocations: 1.535 MB / 0.5956 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.3988, allocations: 288.2 kB / 0.5958 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.3991, allocations: 111.2 kB / 0.5959 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0605/0.4596, allocations: 16.87 MB / 0.6124 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.4597, allocations: 38.55 kB / 0.6124 GB, free: 13.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.4597, allocations: 4 kB / 0.6125 GB, free: 13.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.00168/0.4613, allocations: 406.7 kB / 0.6128 GB, free: 13.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.4614, allocations: 85.05 kB / 0.6129 GB, free: 13.11 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.4618, allocations: 345.6 kB / 0.6133 GB, free: 12.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.4618, allocations: 25.7 kB / 0.6133 GB, free: 12.73 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.462, allocations: 240.4 kB / 0.6135 GB, free: 12.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.954e-05/0.4621, allocations: 67.81 kB / 0.6136 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.256e-05/0.4622, allocations: 49.62 kB / 0.6136 GB, free: 12.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4624, allocations: 350.7 kB / 0.614 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.4628, allocations: 100.8 kB / 0.614 GB, free: 11.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.4632, allocations: 159.6 kB / 0.6142 GB, free: 11.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008003/0.464, allocations: 255.4 kB / 0.6144 GB, free: 11.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.464, allocations: 0 / 0.6144 GB, free: 11.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009422/0.4649, allocations: 321.1 kB / 0.6147 GB, free: 11.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4649, allocations: 11.94 kB / 0.6148 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.465, allocations: 0 / 0.6148 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.465, allocations: 8.219 kB / 0.6148 GB, free: 11.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.4653, allocations: 63.94 kB / 0.6148 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.4653, allocations: 3.938 kB / 0.6148 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.4657, allocations: 36.06 kB / 0.6149 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.4657, allocations: 15.98 kB / 0.6149 GB, free: 11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000441/0.4662, allocations: 200 kB / 0.6151 GB, free: 10.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003888/0.4666, allocations: 161.8 kB / 0.6152 GB, free: 10.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007322/0.4673, allocations: 257.5 kB / 0.6155 GB, free: 10.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.353e-06/0.4673, allocations: 3.938 kB / 0.6155 GB, free: 10.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008785/0.4682, allocations: 305.1 kB / 0.6158 GB, free: 10.02 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4682, allocations: 8 kB / 0.6158 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.4682, allocations: 7.562 kB / 0.6158 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.4682, allocations: 4 kB / 0.6158 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.4685, allocations: 64.14 kB / 0.6158 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4685, allocations: 4 kB / 0.6159 GB, free: 9.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002958/0.4688, allocations: 35.86 kB / 0.6159 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.4689, allocations: 12 kB / 0.6159 GB, free: 9.891 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (25): * Single equations (assignments): 25 * 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.0001306/0.469, allocations: 192.1 kB / 0.6161 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.4691, allocations: 39.77 kB / 0.6161 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.4702, allocations: 475.9 kB / 0.6166 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4702, allocations: 0 / 0.6166 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4702, allocations: 192 / 0.6166 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4702, allocations: 8 kB / 0.6166 GB, free: 9.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.4707, allocations: 344.8 kB / 0.6169 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4707, allocations: 3.984 kB / 0.6169 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.471, allocations: 47.91 kB / 0.617 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.471, allocations: 3.984 kB / 0.617 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.471, allocations: 8 kB / 0.617 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.471, allocations: 0 / 0.617 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.471, allocations: 0 / 0.617 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009256/0.4719, allocations: 446.3 kB / 0.6174 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.472, allocations: 47.64 kB / 0.6174 GB, free: 8.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.323e-05/0.472, allocations: 15.83 kB / 0.6175 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.4724, allocations: 27.97 kB / 0.6175 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4724, allocations: 7.984 kB / 0.6175 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.4724, allocations: 19.92 kB / 0.6175 GB, free: 8.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003918/0.4728, allocations: 342.9 kB / 0.6178 GB, free: 7.844 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4728, allocations: 0 / 0.6178 GB, free: 7.844 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002951/0.4758, allocations: 0.9551 MB / 0.6188 GB, free: 6.887 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003189/0.479, allocations: 0.9628 MB / 0.6197 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.4803, allocations: 347.9 kB / 0.62 GB, free: 5.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4803, allocations: 4 kB / 0.62 GB, free: 5.57 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.4806, allocations: 100.4 kB / 0.6201 GB, free: 5.473 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/0.4816, allocations: 164.9 kB / 0.6203 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4831, allocations: 0.8061 MB / 0.6211 GB, free: 4.469 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4833, allocations: 225.1 kB / 0.6213 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4835, allocations: 39.41 kB / 0.6213 GB, free: 4.188 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4835, allocations: 0 / 0.6213 GB, free: 4.188 MB / 462.1 MB Notification: Performance of Templates: time 0.02987/0.5133, allocations: 19.61 MB / 0.6405 GB, free: 0.5508 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.98674727929756] Failed to read output from testmodel.py, exit status != 0: 0.5221098931506276 0.535970683 0.14378095300000002 Calling exit ...