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.001224/0.001224, allocations: 111.8 kB / 17.74 MB, free: 5.332 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.001145/0.001145, allocations: 185.5 kB / 18.66 MB, free: 4.414 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.539/1.539, allocations: 205.1 MB / 224.5 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.2964/0.2964, allocations: 48.85 MB / 320.7 MB, free: 11 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.001489/0.001489, allocations: 68.47 kB / 451.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1301, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValveChoked): time 0.3601/0.4903, allocations: 44.33 MB / 0.5417 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.5018, allocations: 9.26 MB / 0.5507 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005757/0.5024, allocations: 18.34 kB / 0.5508 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000772/0.5032, allocations: 212.2 kB / 0.551 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.504, allocations: 282.8 kB / 0.5512 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01701/0.521, allocations: 5.033 MB / 0.5561 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.5224, allocations: 0.7865 MB / 0.5569 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004384/0.5229, allocations: 260.7 kB / 0.5572 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007424/0.5236, allocations: 407.1 kB / 0.5575 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.524, allocations: 298.8 kB / 0.5578 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.913e-05/0.5241, allocations: 29.91 kB / 0.5579 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0151/0.5392, allocations: 6.144 MB / 0.5639 GB, free: 14.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.5395, allocations: 84.52 kB / 0.5639 GB, free: 14.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000533/0.54, allocations: 241.6 kB / 0.5642 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.5528, allocations: 3.702 MB / 0.5678 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5528, allocations: 0 / 0.5678 GB, free: 12.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5528, allocations: 5.062 kB / 0.5678 GB, free: 12.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.5528, allocations: 0 / 0.5678 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.004641/0.5575, allocations: 1.181 MB / 0.5689 GB, free: 11.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.5576, allocations: 13.02 kB / 0.569 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002714/0.5578, allocations: 74.23 kB / 0.569 GB, free: 11.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.5585, allocations: 376.8 kB / 0.5694 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.5586, allocations: 25.16 kB / 0.5694 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.5586, allocations: 33.66 kB / 0.5694 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.5597, allocations: 445.3 kB / 0.5699 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5597, allocations: 0 / 0.5699 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.5598, allocations: 11.38 kB / 0.5699 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.5598, allocations: 11.19 kB / 0.5699 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.561, allocations: 360.3 kB / 0.5702 GB, free: 10.55 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.002921/0.564, allocations: 2.115 MB / 0.5723 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.5653, allocations: 297.4 kB / 0.5726 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.5657, allocations: 118.6 kB / 0.5727 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06745/0.6332, allocations: 32.25 MB / 0.6042 GB, free: 9.688 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.6333, allocations: 34.5 kB / 0.6042 GB, free: 9.645 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.404e-06/0.6333, allocations: 0 / 0.6042 GB, free: 9.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001797/0.6351, allocations: 425.4 kB / 0.6046 GB, free: 9.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.6352, allocations: 85.11 kB / 0.6047 GB, free: 9.125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.6357, allocations: 430 kB / 0.6051 GB, free: 8.695 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.6357, allocations: 33.7 kB / 0.6051 GB, free: 8.656 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.6359, allocations: 228.1 kB / 0.6054 GB, free: 8.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.636, allocations: 55.2 kB / 0.6054 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.6361, allocations: 49.69 kB / 0.6055 GB, free: 8.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.6362, allocations: 354.7 kB / 0.6058 GB, free: 7.961 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.6366, allocations: 104.8 kB / 0.6059 GB, free: 7.855 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.637, allocations: 160.2 kB / 0.6061 GB, free: 7.672 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.6378, allocations: 259.8 kB / 0.6063 GB, free: 7.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6378, allocations: 3.938 kB / 0.6063 GB, free: 7.387 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009371/0.6388, allocations: 332.8 kB / 0.6066 GB, free: 7.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.6388, allocations: 8 kB / 0.6066 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6388, allocations: 0 / 0.6066 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.6388, allocations: 4 kB / 0.6066 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.6392, allocations: 68.05 kB / 0.6067 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.6392, allocations: 4.297 kB / 0.6067 GB, free: 6.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.6396, allocations: 48.83 kB / 0.6068 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.6397, allocations: 19.92 kB / 0.6068 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004601/0.6401, allocations: 200.5 kB / 0.607 GB, free: 6.707 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003819/0.6405, allocations: 161.2 kB / 0.6071 GB, free: 6.516 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007026/0.6412, allocations: 261.2 kB / 0.6074 GB, free: 6.227 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.6413, allocations: 0 / 0.6074 GB, free: 6.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.00087/0.6421, allocations: 316.9 kB / 0.6077 GB, free: 5.91 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6422, allocations: 11.91 kB / 0.6077 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6422, allocations: 4 kB / 0.6077 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.6422, allocations: 0 / 0.6077 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.6425, allocations: 63.89 kB / 0.6077 GB, free: 5.832 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6425, allocations: 4.062 kB / 0.6077 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.6429, allocations: 39.81 kB / 0.6078 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.6429, allocations: 12.19 kB / 0.6078 GB, free: 5.777 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.0001535/0.6431, allocations: 193 kB / 0.608 GB, free: 5.582 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.642e-05/0.6432, allocations: 51.38 kB / 0.608 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/0.6443, allocations: 444.6 kB / 0.6085 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.6443, allocations: 4 kB / 0.6085 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6443, allocations: 3.938 kB / 0.6085 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6443, allocations: 3.984 kB / 0.6085 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005824/0.6449, allocations: 464.9 kB / 0.6089 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6449, allocations: 0 / 0.6089 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.6452, allocations: 55.89 kB / 0.609 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6452, allocations: 0 / 0.609 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.6452, allocations: 4 kB / 0.609 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6452, allocations: 0 / 0.609 GB, free: 4.516 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.6452, allocations: 3.938 kB / 0.609 GB, free: 4.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008644/0.6461, allocations: 458 kB / 0.6094 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6462, allocations: 128.5 kB / 0.6095 GB, free: 3.902 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.833e-05/0.6463, allocations: 19.78 kB / 0.6095 GB, free: 3.883 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.6466, allocations: 15.98 kB / 0.6096 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.6467, allocations: 19.97 kB / 0.6096 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.6467, allocations: 7.938 kB / 0.6096 GB, free: 3.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004364/0.6472, allocations: 410.8 kB / 0.61 GB, free: 3.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6472, allocations: 0 / 0.61 GB, free: 3.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00428/0.6515, allocations: 0.9368 MB / 0.6109 GB, free: 2.504 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.006187/0.6577, allocations: 0.9562 MB / 0.6118 GB, free: 1.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.6592, allocations: 356.5 kB / 0.6122 GB, free: 1.203 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6592, allocations: 4.062 kB / 0.6122 GB, free: 1.199 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.6596, allocations: 111.8 kB / 0.6123 GB, free: 1.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.6612, allocations: 242.1 kB / 0.6125 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.6627, allocations: 0.7903 MB / 0.6133 GB, free: 36 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.6631, allocations: 0.8269 MB / 0.6141 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.6633, allocations: 47.42 kB / 0.6141 GB, free: 15.14 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6633, allocations: 0 / 0.6141 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Templates: time 0.03291/0.6962, allocations: 20.15 MB / 0.6338 GB, free: 10.95 MB / 494.1 MB 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)