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.001369/0.001369, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001575/0.001575, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.443/1.443, allocations: 207.7 MB / 234.6 MB, free: 9.816 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.3068/0.3068, allocations: 49.6 MB / 336.4 MB, free: 3.883 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.002633/0.002633, allocations: 75.89 kB / 476.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1336, allocations: 62.44 MB / 0.5266 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2991/0.4327, allocations: 40.64 MB / 0.5663 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.4466, allocations: 8.21 MB / 0.5743 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005842/0.4472, allocations: 19.72 kB / 0.5744 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.448, allocations: 195.8 kB / 0.5746 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007183/0.4487, allocations: 282.3 kB / 0.5748 GB, free: 9.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.4655, allocations: 4.994 MB / 0.5797 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001364/0.4669, allocations: 0.7957 MB / 0.5805 GB, free: 6.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.4674, allocations: 213.1 kB / 0.5807 GB, free: 6.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.4682, allocations: 392.7 kB / 0.5811 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.4687, allocations: 284.9 kB / 0.5813 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.712e-05/0.4688, allocations: 30 kB / 0.5814 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/0.4825, allocations: 5.883 MB / 0.5871 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.4827, allocations: 89.06 kB / 0.5872 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.4831, allocations: 201.1 kB / 0.5874 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.4941, allocations: 3.713 MB / 0.591 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4941, allocations: 0.625 kB / 0.591 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4941, allocations: 0 / 0.591 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.4941, allocations: 0 / 0.591 GB, free: 0.5078 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.004449/0.4985, allocations: 1.139 MB / 0.5921 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.4986, allocations: 8.844 kB / 0.5921 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.4989, allocations: 71.25 kB / 0.5922 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006777/0.4996, allocations: 318.5 kB / 0.5925 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.4996, allocations: 24.22 kB / 0.5925 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.4997, allocations: 30.28 kB / 0.5925 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.5007, allocations: 437.8 kB / 0.593 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.5007, allocations: 3.938 kB / 0.593 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.5008, allocations: 10.94 kB / 0.593 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.5008, allocations: 11.97 kB / 0.593 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.502, allocations: 354.4 kB / 0.5933 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.002132/0.5041, allocations: 1.54 MB / 0.5948 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5053, allocations: 290.2 kB / 0.5951 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.5057, allocations: 105.9 kB / 0.5952 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06442/0.5701, allocations: 16.87 MB / 0.6117 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.5701, allocations: 38.48 kB / 0.6117 GB, free: 13.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.5701, allocations: 0 / 0.6117 GB, free: 13.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001808/0.5719, allocations: 401.1 kB / 0.6121 GB, free: 13.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.572, allocations: 89.09 kB / 0.6122 GB, free: 13.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.5724, allocations: 337.6 kB / 0.6125 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.5725, allocations: 37.69 kB / 0.6125 GB, free: 12.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.5727, allocations: 232.5 kB / 0.6128 GB, free: 12.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.5728, allocations: 71.41 kB / 0.6128 GB, free: 12.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.5729, allocations: 53.62 kB / 0.6129 GB, free: 12.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5731, allocations: 346.8 kB / 0.6132 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.5735, allocations: 104.8 kB / 0.6133 GB, free: 11.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.5739, allocations: 160.5 kB / 0.6135 GB, free: 11.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/0.5747, allocations: 255.8 kB / 0.6137 GB, free: 11.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5747, allocations: 0 / 0.6137 GB, free: 11.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001001/0.5757, allocations: 325.2 kB / 0.614 GB, free: 11.15 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5757, allocations: 4 kB / 0.614 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5757, allocations: 4 kB / 0.614 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5758, allocations: 4 kB / 0.614 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.5761, allocations: 67.88 kB / 0.6141 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5761, allocations: 4 kB / 0.6141 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.5765, allocations: 37.03 kB / 0.6141 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.5765, allocations: 11.98 kB / 0.6141 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004912/0.577, allocations: 200 kB / 0.6143 GB, free: 10.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004632/0.5775, allocations: 157.8 kB / 0.6145 GB, free: 10.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007455/0.5782, allocations: 255.1 kB / 0.6147 GB, free: 10.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.5782, allocations: 0 / 0.6147 GB, free: 10.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008995/0.5791, allocations: 316.1 kB / 0.615 GB, free: 10.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.5792, allocations: 12.28 kB / 0.615 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-06/0.5792, allocations: 3.938 kB / 0.615 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.5792, allocations: 4 kB / 0.6151 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.5795, allocations: 67.89 kB / 0.6151 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.5795, allocations: 4 kB / 0.6151 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.5798, allocations: 35.86 kB / 0.6152 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.5798, allocations: 10.56 kB / 0.6152 GB, free: 9.91 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.0001494/0.58, allocations: 200.1 kB / 0.6154 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.023e-05/0.5801, allocations: 35.77 kB / 0.6154 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.5812, allocations: 471.9 kB / 0.6158 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5812, allocations: 4 kB / 0.6158 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5812, allocations: 0 / 0.6158 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5812, allocations: 0 / 0.6158 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005112/0.5817, allocations: 336.8 kB / 0.6162 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5817, allocations: 0 / 0.6162 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.582, allocations: 51.95 kB / 0.6162 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.582, allocations: 4 kB / 0.6162 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.582, allocations: 7.984 kB / 0.6162 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.582, allocations: 4 kB / 0.6162 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5821, allocations: 0 / 0.6162 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009341/0.583, allocations: 450.2 kB / 0.6167 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.5831, allocations: 39.7 kB / 0.6167 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.95e-05/0.5831, allocations: 23.83 kB / 0.6167 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.5835, allocations: 19.97 kB / 0.6167 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.5835, allocations: 11.98 kB / 0.6168 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.5835, allocations: 7.984 kB / 0.6168 GB, free: 8.219 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.5839, allocations: 342.9 kB / 0.6171 GB, free: 7.883 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5839, allocations: 0 / 0.6171 GB, free: 7.883 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003336/0.5873, allocations: 0.963 MB / 0.618 GB, free: 6.918 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.003786/0.5911, allocations: 0.9686 MB / 0.619 GB, free: 5.938 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.5924, allocations: 348.2 kB / 0.6193 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5924, allocations: 0 / 0.6193 GB, free: 5.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.5928, allocations: 112 kB / 0.6194 GB, free: 5.488 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5939, allocations: 169.1 kB / 0.6196 GB, free: 5.332 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.5955, allocations: 0.7732 MB / 0.6203 GB, free: 4.523 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.5957, allocations: 221.1 kB / 0.6205 GB, free: 4.285 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003492/0.5961, allocations: 146.7 kB / 0.6207 GB, free: 4.145 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.5962, allocations: 39.42 kB / 0.6207 GB, free: 4.105 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5962, allocations: 0 / 0.6207 GB, free: 4.105 MB / 462.1 MB Notification: Performance of Templates: time 0.05225/0.6484, allocations: 33.73 MB / 0.6537 GB, free: 2.316 MB / 494.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: 7.339488744735718] Failed to read output from testmodel.py, exit status != 0: 0.6588084846735001 0.673791873 0.17620427600000002 Calling exit ...