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.001209/0.001209, allocations: 113 kB / 17.06 MB, free: 6 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.001258/0.001259, allocations: 200 kB / 18 MB, free: 5.078 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.497/1.497, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.311/0.311, allocations: 48.84 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.001373/0.001373, allocations: 67.89 kB / 450.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1229, allocations: 59.16 MB / 0.4977 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.3/0.423, allocations: 44.33 MB / 0.541 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.4341, allocations: 9.262 MB / 0.5501 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004215/0.4345, allocations: 14.78 kB / 0.5501 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.4352, allocations: 212.4 kB / 0.5503 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006349/0.4359, allocations: 286.7 kB / 0.5506 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01695/0.4529, allocations: 5.038 MB / 0.5555 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.4541, allocations: 0.799 MB / 0.5563 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.4546, allocations: 253.9 kB / 0.5565 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.4553, allocations: 404.1 kB / 0.5569 GB, free: 1.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000341/0.4556, allocations: 299 kB / 0.5572 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.4557, allocations: 30.47 kB / 0.5572 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.469, allocations: 6.145 MB / 0.5632 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.4692, allocations: 92.45 kB / 0.5633 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.4696, allocations: 233.5 kB / 0.5635 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008859/0.4785, allocations: 3.698 MB / 0.5671 GB, free: 12.35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/0.4785, allocations: 7.984 kB / 0.5671 GB, free: 12.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4785, allocations: 1.062 kB / 0.5671 GB, free: 12.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.4785, allocations: 0 / 0.5671 GB, free: 12.34 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.004796/0.4834, allocations: 1.18 MB / 0.5683 GB, free: 11.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4834, allocations: 13.89 kB / 0.5683 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.4838, allocations: 74.47 kB / 0.5684 GB, free: 11.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007564/0.4846, allocations: 376.6 kB / 0.5687 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.4846, allocations: 26.06 kB / 0.5688 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-05/0.4847, allocations: 30.69 kB / 0.5688 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.4861, allocations: 436.4 kB / 0.5692 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4862, allocations: 4.938 kB / 0.5692 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.4862, allocations: 15.06 kB / 0.5692 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.4862, allocations: 8.344 kB / 0.5692 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.4876, allocations: 364.4 kB / 0.5696 GB, free: 10.57 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.002655/0.4903, allocations: 2.114 MB / 0.5717 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.4916, allocations: 305 kB / 0.5719 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.492, allocations: 118.4 kB / 0.5721 GB, free: 8.301 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06617/0.5581, allocations: 32.24 MB / 0.6035 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.5582, allocations: 38.5 kB / 0.6036 GB, free: 9.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.116e-06/0.5582, allocations: 0 / 0.6036 GB, free: 9.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001976/0.5602, allocations: 412.8 kB / 0.604 GB, free: 9.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.5603, allocations: 81.11 kB / 0.6041 GB, free: 9.129 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006647/0.5609, allocations: 438 kB / 0.6045 GB, free: 8.691 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.561, allocations: 37.7 kB / 0.6045 GB, free: 8.648 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.5612, allocations: 228.1 kB / 0.6047 GB, free: 8.418 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.5613, allocations: 51.2 kB / 0.6048 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.5614, allocations: 53.69 kB / 0.6048 GB, free: 8.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5615, allocations: 362.7 kB / 0.6052 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.5619, allocations: 96.8 kB / 0.6053 GB, free: 7.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.5624, allocations: 164.5 kB / 0.6054 GB, free: 7.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007578/0.5631, allocations: 255.8 kB / 0.6057 GB, free: 7.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5632, allocations: 0 / 0.6057 GB, free: 7.383 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001012/0.5642, allocations: 336.9 kB / 0.606 GB, free: 7.047 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5642, allocations: 4 kB / 0.606 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5642, allocations: 4 kB / 0.606 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.5642, allocations: 4 kB / 0.606 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.5646, allocations: 68.75 kB / 0.6061 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.5646, allocations: 320 / 0.6061 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.5651, allocations: 51.61 kB / 0.6061 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.5652, allocations: 15.92 kB / 0.6061 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004307/0.5656, allocations: 196.5 kB / 0.6063 GB, free: 6.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003769/0.566, allocations: 173.2 kB / 0.6065 GB, free: 6.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006909/0.5667, allocations: 257.2 kB / 0.6067 GB, free: 6.219 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.657e-06/0.5667, allocations: 0 / 0.6067 GB, free: 6.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.001031/0.5678, allocations: 309 kB / 0.607 GB, free: 5.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5678, allocations: 15.94 kB / 0.607 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5678, allocations: 4 kB / 0.607 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.5678, allocations: 0.875 kB / 0.607 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.5681, allocations: 67.89 kB / 0.6071 GB, free: 5.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.5682, allocations: 4 kB / 0.6071 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.5686, allocations: 35.81 kB / 0.6071 GB, free: 5.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.5687, allocations: 12 kB / 0.6072 GB, free: 5.773 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.0001949/0.5689, allocations: 196.1 kB / 0.6073 GB, free: 5.574 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.569, allocations: 47.44 kB / 0.6074 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.5702, allocations: 448.7 kB / 0.6078 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.5703, allocations: 7.938 kB / 0.6078 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.5703, allocations: 2.688 kB / 0.6078 GB, free: 5.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5703, allocations: 3.984 kB / 0.6078 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.5711, allocations: 460.9 kB / 0.6083 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5712, allocations: 0 / 0.6083 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.5714, allocations: 51.95 kB / 0.6083 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.5715, allocations: 5.766 kB / 0.6083 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.5715, allocations: 8 kB / 0.6083 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5715, allocations: 0 / 0.6083 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5715, allocations: 0 / 0.6083 GB, free: 4.504 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009327/0.5724, allocations: 457.8 kB / 0.6088 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.5727, allocations: 124.5 kB / 0.6089 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.5728, allocations: 15.84 kB / 0.6089 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.5732, allocations: 20.17 kB / 0.6089 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.5733, allocations: 19.97 kB / 0.6089 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.5733, allocations: 11.88 kB / 0.6089 GB, free: 3.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005077/0.5738, allocations: 414.8 kB / 0.6093 GB, free: 3.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5738, allocations: 3.938 kB / 0.6093 GB, free: 3.426 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004407/0.5782, allocations: 0.929 MB / 0.6103 GB, free: 2.496 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.00649/0.5847, allocations: 0.9632 MB / 0.6112 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.5861, allocations: 355.7 kB / 0.6115 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5861, allocations: 0 / 0.6115 GB, free: 1.191 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.5865, allocations: 120.6 kB / 0.6116 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.5879, allocations: 226.8 kB / 0.6119 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.5895, allocations: 0.7652 MB / 0.6126 GB, free: 64 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.59, allocations: 0.8309 MB / 0.6134 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004149/0.5904, allocations: 154.5 kB / 0.6136 GB, free: 15.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.5905, allocations: 43.36 kB / 0.6136 GB, free: 15.02 MB / 478.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5906, allocations: 4 kB / 0.6136 GB, free: 15.02 MB / 478.1 MB Notification: Performance of Templates: time 0.04996/0.6405, allocations: 34.39 MB / 0.6472 GB, free: 12.57 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)