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.001076/0.001076, allocations: 112.6 kB / 17.07 MB, free: 5.988 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.001092/0.001093, allocations: 191 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.394/1.394, 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.304/0.304, allocations: 48.84 MB / 320.1 MB, free: 11.01 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.001588/0.001589, allocations: 67.89 kB / 450.5 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1388, 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.336/0.4748, allocations: 44.33 MB / 0.541 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.4869, allocations: 9.256 MB / 0.5501 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.4875, allocations: 14.34 kB / 0.5501 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008268/0.4884, allocations: 215 kB / 0.5503 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007184/0.4891, allocations: 281.3 kB / 0.5506 GB, free: 3.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01716/0.5063, allocations: 5.039 MB / 0.5555 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.5075, allocations: 0.7926 MB / 0.5563 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.5079, allocations: 258.1 kB / 0.5565 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006939/0.5086, allocations: 400.8 kB / 0.5569 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003418/0.509, allocations: 297.9 kB / 0.5572 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.376e-05/0.509, allocations: 33.31 kB / 0.5572 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/0.5235, allocations: 6.144 MB / 0.5632 GB, free: 15.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.5237, allocations: 84.42 kB / 0.5633 GB, free: 15.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.5242, allocations: 241.1 kB / 0.5635 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00993/0.5341, allocations: 3.712 MB / 0.5671 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5341, allocations: 0 / 0.5671 GB, free: 12.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5342, allocations: 1.094 kB / 0.5671 GB, free: 12.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.485e-05/0.5342, allocations: 4 kB / 0.5671 GB, free: 12.57 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.004739/0.5389, allocations: 1.212 MB / 0.5683 GB, free: 11.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.539, allocations: 13.02 kB / 0.5683 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003588/0.5394, allocations: 75.11 kB / 0.5684 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.5401, allocations: 377 kB / 0.5688 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.5402, allocations: 29.42 kB / 0.5688 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.5402, allocations: 29.28 kB / 0.5688 GB, free: 11.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.5414, allocations: 436.1 kB / 0.5692 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.5414, allocations: 5.219 kB / 0.5692 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/0.5415, allocations: 11.28 kB / 0.5693 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.5415, allocations: 8.031 kB / 0.5693 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.5428, allocations: 367.2 kB / 0.5696 GB, free: 10.75 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.002685/0.5455, allocations: 2.116 MB / 0.5717 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.5468, allocations: 302.5 kB / 0.572 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004205/0.5472, allocations: 118 kB / 0.5721 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07039/0.6176, allocations: 32.26 MB / 0.6036 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.6177, allocations: 34.56 kB / 0.6036 GB, free: 9.785 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.407e-06/0.6177, allocations: 0 / 0.6036 GB, free: 9.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.002003/0.6197, allocations: 425 kB / 0.604 GB, free: 9.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.6198, allocations: 85.11 kB / 0.6041 GB, free: 9.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006158/0.6204, allocations: 438 kB / 0.6045 GB, free: 8.824 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.6205, allocations: 29.7 kB / 0.6045 GB, free: 8.789 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.6207, allocations: 228.3 kB / 0.6048 GB, free: 8.559 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.6208, allocations: 63.42 kB / 0.6048 GB, free: 8.496 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.6209, allocations: 45.69 kB / 0.6049 GB, free: 8.445 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.621, allocations: 362.7 kB / 0.6052 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.6215, allocations: 104.8 kB / 0.6053 GB, free: 7.977 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004242/0.6219, allocations: 156.5 kB / 0.6055 GB, free: 7.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008061/0.6228, allocations: 255.8 kB / 0.6057 GB, free: 7.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.6228, allocations: 4 kB / 0.6057 GB, free: 7.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00105/0.6238, allocations: 341 kB / 0.606 GB, free: 7.176 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.6239, allocations: 7.906 kB / 0.606 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6239, allocations: 4 kB / 0.606 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.6239, allocations: 0 / 0.606 GB, free: 7.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.6243, allocations: 67.88 kB / 0.6061 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.6243, allocations: 8.062 kB / 0.6061 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.6248, allocations: 47.75 kB / 0.6062 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.6249, allocations: 15.94 kB / 0.6062 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004599/0.6254, allocations: 192.5 kB / 0.6064 GB, free: 6.836 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004177/0.6258, allocations: 165.3 kB / 0.6065 GB, free: 6.641 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008229/0.6266, allocations: 253.1 kB / 0.6068 GB, free: 6.359 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.6267, allocations: 4 kB / 0.6068 GB, free: 6.355 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0009782/0.6276, allocations: 321.3 kB / 0.6071 GB, free: 6.035 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6277, allocations: 4 kB / 0.6071 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6277, allocations: 4.469 kB / 0.6071 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.6277, allocations: 4 kB / 0.6071 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.628, allocations: 64.64 kB / 0.6071 GB, free: 5.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.628, allocations: 7.938 kB / 0.6072 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/0.6285, allocations: 39.89 kB / 0.6072 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.6285, allocations: 12 kB / 0.6072 GB, free: 5.902 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.0001394/0.6286, allocations: 196.2 kB / 0.6074 GB, free: 5.703 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.6288, allocations: 47.91 kB / 0.6074 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.6299, allocations: 448.6 kB / 0.6079 GB, free: 5.207 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6299, allocations: 4 kB / 0.6079 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6299, allocations: 0.875 kB / 0.6079 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6299, allocations: 3.938 kB / 0.6079 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006609/0.6306, allocations: 465 kB / 0.6083 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.6306, allocations: 0 / 0.6083 GB, free: 4.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002855/0.6309, allocations: 55.89 kB / 0.6084 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.6309, allocations: 4 kB / 0.6084 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.631, allocations: 5.734 kB / 0.6084 GB, free: 4.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.631, allocations: 4 kB / 0.6084 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.631, allocations: 0 / 0.6084 GB, free: 4.629 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.6319, allocations: 454.2 kB / 0.6088 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.6321, allocations: 132.7 kB / 0.6089 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.6322, allocations: 16.08 kB / 0.609 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.6325, allocations: 19.97 kB / 0.609 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/0.6326, allocations: 19.92 kB / 0.609 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.6326, allocations: 7.938 kB / 0.609 GB, free: 3.957 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000524/0.6332, allocations: 414.8 kB / 0.6094 GB, free: 3.555 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6332, allocations: 0 / 0.6094 GB, free: 3.555 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004136/0.6373, allocations: 0.9358 MB / 0.6103 GB, free: 2.617 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.006036/0.6434, allocations: 0.9682 MB / 0.6113 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.645, allocations: 356.3 kB / 0.6116 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.645, allocations: 4.25 kB / 0.6116 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.6454, allocations: 107.9 kB / 0.6117 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6469, allocations: 245.4 kB / 0.6119 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.6486, allocations: 0.7797 MB / 0.6127 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004737/0.6491, allocations: 0.8269 MB / 0.6135 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00044/0.6495, allocations: 155.1 kB / 0.6137 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.6497, allocations: 39.42 kB / 0.6137 GB, free: 15.11 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6497, allocations: 0 / 0.6137 GB, free: 15.11 MB / 478.1 MB Notification: Performance of Templates: time 0.06039/0.7101, allocations: 34.4 MB / 0.6473 GB, free: 12.66 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)