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.001331/0.001331, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001464/0.001464, allocations: 210 kB / 24.5 MB, free: 4.133 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.145/0.145, allocations: 26.81 MB / 341.5 MB, free: 8.207 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.002036/0.002036, allocations: 71.89 kB / 478.1 MB, free: 3.191 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 60.48 MB / 0.5259 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.05399/0.3832, allocations: 45.39 MB / 0.5703 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.3982, allocations: 9.491 MB / 0.5795 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006547/0.3989, allocations: 19.81 kB / 0.5796 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009739/0.3998, allocations: 210.5 kB / 0.5798 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.401, allocations: 309.9 kB / 0.5801 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01688/0.4179, allocations: 5.166 MB / 0.5851 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.4194, allocations: 0.8759 MB / 0.586 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005133/0.4199, allocations: 230.8 kB / 0.5862 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.4209, allocations: 446.1 kB / 0.5866 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.4216, allocations: 326.5 kB / 0.5869 GB, free: 6.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.046e-05/0.4216, allocations: 32 kB / 0.5869 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01288/0.4345, allocations: 6.185 MB / 0.593 GB, free: 268 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.4347, allocations: 91.62 kB / 0.5931 GB, free: 176 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.4351, allocations: 266.7 kB / 0.5933 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009627/0.4448, allocations: 3.784 MB / 0.597 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4448, allocations: 0 / 0.597 GB, free: 12.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4448, allocations: 0 / 0.597 GB, free: 12.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.4448, allocations: 0 / 0.597 GB, free: 12.12 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.003998/0.4488, allocations: 1.235 MB / 0.5982 GB, free: 10.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4488, allocations: 12.03 kB / 0.5982 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004877/0.4493, allocations: 96.53 kB / 0.5983 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007629/0.4501, allocations: 351 kB / 0.5987 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.4502, allocations: 144 kB / 0.5988 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.369e-05/0.4503, allocations: 40.12 kB / 0.5988 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.4517, allocations: 491.6 kB / 0.5993 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4517, allocations: 0 / 0.5993 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.4517, allocations: 23.94 kB / 0.5993 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.4517, allocations: 8 kB / 0.5993 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.4535, allocations: 0.4964 MB / 0.5998 GB, free: 9.137 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.00291/0.4564, allocations: 1.875 MB / 0.6017 GB, free: 7.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.4581, allocations: 429 kB / 0.6021 GB, free: 6.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005018/0.4586, allocations: 137.6 kB / 0.6022 GB, free: 6.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.4591, allocations: 43.95 kB / 0.6022 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.4591, allocations: 42.5 kB / 0.6023 GB, free: 6.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.294e-06/0.4591, allocations: 3.938 kB / 0.6023 GB, free: 6.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002296/0.4614, allocations: 0.571 MB / 0.6028 GB, free: 5.852 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.4615, allocations: 85.11 kB / 0.6029 GB, free: 5.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005428/0.462, allocations: 446.2 kB / 0.6033 GB, free: 5.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.4621, allocations: 25.7 kB / 0.6034 GB, free: 5.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.4623, allocations: 244.4 kB / 0.6036 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.484e-05/0.4624, allocations: 87.23 kB / 0.6037 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.4625, allocations: 57.67 kB / 0.6037 GB, free: 4.879 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4627, allocations: 358.8 kB / 0.6041 GB, free: 4.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.4632, allocations: 132.7 kB / 0.6042 GB, free: 4.387 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.4637, allocations: 173.5 kB / 0.6044 GB, free: 4.199 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.4646, allocations: 277 kB / 0.6046 GB, free: 3.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4646, allocations: 0 / 0.6046 GB, free: 3.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00118/0.4658, allocations: 384.4 kB / 0.605 GB, free: 3.531 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4658, allocations: 6.812 kB / 0.605 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4658, allocations: 128 / 0.605 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.4658, allocations: 8 kB / 0.605 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.4662, allocations: 83.86 kB / 0.6051 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4662, allocations: 0 / 0.6051 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.4666, allocations: 51.7 kB / 0.6051 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.4667, allocations: 16 kB / 0.6052 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00057/0.4673, allocations: 224 kB / 0.6054 GB, free: 3.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004658/0.4677, allocations: 157 kB / 0.6055 GB, free: 2.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008272/0.4685, allocations: 260.9 kB / 0.6058 GB, free: 2.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.258e-06/0.4686, allocations: 3.984 kB / 0.6058 GB, free: 2.699 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization_lambda0): time 0.001112/0.4697, allocations: 360.6 kB / 0.6061 GB, free: 2.344 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4697, allocations: 7.938 kB / 0.6061 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.4697, allocations: 0 / 0.6061 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.4697, allocations: 4 kB / 0.6061 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.4701, allocations: 84 kB / 0.6062 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.4701, allocations: 0 / 0.6062 GB, free: 2.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.4705, allocations: 35.86 kB / 0.6063 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.4705, allocations: 15.98 kB / 0.6063 GB, free: 2.199 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.0002007/0.4707, allocations: 208.1 kB / 0.6065 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4708, allocations: 59.55 kB / 0.6065 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.472, allocations: 361.2 kB / 0.6069 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.4721, allocations: 8 kB / 0.6069 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.4721, allocations: 0 / 0.6069 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4721, allocations: 4 kB / 0.6069 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.4728, allocations: 404.2 kB / 0.6073 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4728, allocations: 0 / 0.6073 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.4732, allocations: 75.81 kB / 0.6073 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4732, allocations: 4 kB / 0.6073 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.4732, allocations: 8 kB / 0.6073 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4732, allocations: 0 / 0.6073 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4732, allocations: 4 kB / 0.6074 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.4744, allocations: 0.5061 MB / 0.6078 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.4746, allocations: 63.52 kB / 0.6079 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.4746, allocations: 4 kB / 0.6079 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.475, allocations: 27.97 kB / 0.6079 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.803e-05/0.4751, allocations: 27.89 kB / 0.608 GB, free: 396 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.4751, allocations: 11.98 kB / 0.608 GB, free: 384 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003951/0.4755, allocations: 318.9 kB / 0.6083 GB, free: 68 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4755, allocations: 0 / 0.6083 GB, free: 68 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.002959/0.4785, allocations: 0.9554 MB / 0.6092 GB, free: 15.11 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.004243/0.4827, allocations: 0.9579 MB / 0.6101 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.4845, allocations: 435.3 kB / 0.6106 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4845, allocations: 0 / 0.6106 GB, free: 13.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.485, allocations: 139.8 kB / 0.6107 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4867, allocations: 293.8 kB / 0.611 GB, free: 13.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.4889, allocations: 0.8571 MB / 0.6118 GB, free: 12.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.4894, allocations: 0.8192 MB / 0.6126 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.4896, allocations: 59.41 kB / 0.6127 GB, free: 11.49 MB / 462.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4896, allocations: 0 / 0.6127 GB, free: 11.49 MB / 462.1 MB Notification: Performance of Templates: time 0.03369/0.5233, allocations: 20.79 MB / 0.633 GB, free: 6.719 MB / 478.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 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValveChoked.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.540385206928477] Failed to read output from testmodel.py, exit status != 0: 0.532315258984454 0.547810305 0.09967170800000001 Calling exit ...