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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") translateModel(ThermoPower.Test.WaterComponents.TestValveChoked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001084, allocations: 107.3 kB / 17.06 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 195.9 kB / 18 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2771/0.2771, allocations: 48.85 MB / 320.1 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.89 kB / 450.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.2595/0.3666, allocations: 44.34 MB / 0.541 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01012/0.3767, allocations: 9.263 MB / 0.5501 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004296/0.3772, allocations: 13.62 kB / 0.5501 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006958/0.378, allocations: 208.2 kB / 0.5503 GB, free: 3.254 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007129/0.3787, allocations: 281.4 kB / 0.5506 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01322/0.3919, allocations: 5.035 MB / 0.5555 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009808/0.3929, allocations: 0.7883 MB / 0.5563 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003678/0.3933, allocations: 262.6 kB / 0.5565 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.3939, allocations: 413.1 kB / 0.5569 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3942, allocations: 288 kB / 0.5572 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.3943, allocations: 30.72 kB / 0.5572 GB, free: 1.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01234/0.4066, allocations: 6.147 MB / 0.5632 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.4068, allocations: 84.31 kB / 0.5633 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.4073, allocations: 238.9 kB / 0.5635 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008929/0.4162, allocations: 3.709 MB / 0.5671 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4163, allocations: 0 / 0.5671 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4163, allocations: 0 / 0.5671 GB, free: 12.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.4163, allocations: 1.125 kB / 0.5671 GB, free: 12.33 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.003588/0.4199, allocations: 1.184 MB / 0.5683 GB, free: 11.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4199, allocations: 12.83 kB / 0.5683 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.4202, allocations: 70.45 kB / 0.5684 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.4208, allocations: 377 kB / 0.5687 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.4208, allocations: 25.72 kB / 0.5688 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.4208, allocations: 32.56 kB / 0.5688 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.4218, allocations: 441.4 kB / 0.5692 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4219, allocations: 0 / 0.5692 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.4219, allocations: 11.91 kB / 0.5692 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4219, allocations: 7.906 kB / 0.5692 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.4232, allocations: 359.5 kB / 0.5696 GB, free: 10.56 MB / 430.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.00233/0.4255, allocations: 2.117 MB / 0.5716 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.4268, allocations: 298.2 kB / 0.5719 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.4272, allocations: 122.2 kB / 0.572 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06427/0.4915, allocations: 32.25 MB / 0.6035 GB, free: 9.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.4915, allocations: 36.69 kB / 0.6036 GB, free: 9.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.327e-06/0.4915, allocations: 4 kB / 0.6036 GB, free: 9.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001742/0.4933, allocations: 417.4 kB / 0.604 GB, free: 9.246 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.4933, allocations: 81.11 kB / 0.604 GB, free: 9.148 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000473/0.4938, allocations: 434 kB / 0.6045 GB, free: 8.715 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.4939, allocations: 29.7 kB / 0.6045 GB, free: 8.68 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.494, allocations: 232.1 kB / 0.6047 GB, free: 8.445 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.492e-05/0.4941, allocations: 55.19 kB / 0.6048 GB, free: 8.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.4942, allocations: 57.69 kB / 0.6048 GB, free: 8.328 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.4944, allocations: 350.7 kB / 0.6051 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.4948, allocations: 108.7 kB / 0.6053 GB, free: 7.867 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/0.4952, allocations: 152.9 kB / 0.6054 GB, free: 7.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.496, allocations: 263.4 kB / 0.6056 GB, free: 7.406 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.496, allocations: 0 / 0.6056 GB, free: 7.406 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009116/0.4969, allocations: 332.7 kB / 0.606 GB, free: 7.074 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.497, allocations: 11.91 kB / 0.606 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.497, allocations: 1.875 kB / 0.606 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.497, allocations: 4.219 kB / 0.606 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.4974, allocations: 71.89 kB / 0.6061 GB, free: 6.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.4974, allocations: 7.984 kB / 0.6061 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.4978, allocations: 39.58 kB / 0.6061 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/0.4978, allocations: 19.92 kB / 0.6061 GB, free: 6.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004248/0.4983, allocations: 196.5 kB / 0.6063 GB, free: 6.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003664/0.4986, allocations: 165.2 kB / 0.6065 GB, free: 6.531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007034/0.4993, allocations: 253.7 kB / 0.6067 GB, free: 6.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.927e-06/0.4994, allocations: 3.984 kB / 0.6067 GB, free: 6.246 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000951/0.5003, allocations: 320.7 kB / 0.607 GB, free: 5.926 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5003, allocations: 8 kB / 0.607 GB, free: 5.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5004, allocations: 4 kB / 0.607 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.5004, allocations: 4 kB / 0.607 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.5007, allocations: 64.14 kB / 0.6071 GB, free: 5.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5007, allocations: 4 kB / 0.6071 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.5011, allocations: 36.69 kB / 0.6071 GB, free: 5.809 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.5011, allocations: 12 kB / 0.6071 GB, free: 5.797 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.0001205/0.5012, allocations: 192.1 kB / 0.6073 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.513e-05/0.5013, allocations: 47.44 kB / 0.6074 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.5025, allocations: 440.5 kB / 0.6078 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5025, allocations: 7.938 kB / 0.6078 GB, free: 5.105 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5025, allocations: 4 kB / 0.6078 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.5025, allocations: 3.984 kB / 0.6078 GB, free: 5.098 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.5031, allocations: 461.8 kB / 0.6082 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5031, allocations: 0 / 0.6082 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.5034, allocations: 52.14 kB / 0.6083 GB, free: 4.547 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5034, allocations: 0 / 0.6083 GB, free: 4.547 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.5034, allocations: 7.938 kB / 0.6083 GB, free: 4.539 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.6e-05/0.5034, allocations: 5.312 kB / 0.6083 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5035, allocations: 4.156 kB / 0.6083 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008584/0.5043, allocations: 457.8 kB / 0.6087 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.5044, allocations: 124.5 kB / 0.6089 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.5045, allocations: 15.84 kB / 0.6089 GB, free: 3.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.5049, allocations: 23.98 kB / 0.6089 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.5049, allocations: 11.97 kB / 0.6089 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.505, allocations: 7.938 kB / 0.6089 GB, free: 3.867 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004676/0.5054, allocations: 414.8 kB / 0.6093 GB, free: 3.465 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5054, allocations: 0 / 0.6093 GB, free: 3.465 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003413/0.5089, allocations: 0.9329 MB / 0.6102 GB, free: 2.531 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.003336/0.5122, allocations: 0.975 MB / 0.6112 GB, free: 1.566 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.5135, allocations: 356.1 kB / 0.6115 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5135, allocations: 0 / 0.6115 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.5139, allocations: 115.8 kB / 0.6116 GB, free: 1.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5151, allocations: 231.8 kB / 0.6119 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.5165, allocations: 0.7574 MB / 0.6126 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.5169, allocations: 0.8308 MB / 0.6134 GB, free: 15.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003361/0.5173, allocations: 159 kB / 0.6136 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.5174, allocations: 43.42 kB / 0.6136 GB, free: 15.05 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.5174, allocations: 0 / 0.6136 GB, free: 15.05 MB / 478.1 MB Notification: Performance of Templates: time 0.04404/0.5614, allocations: 34.39 MB / 0.6472 GB, free: 12.61 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValveChoked.makefile (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)