Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.765/1.765, allocations: 297.8 MB / 313.7 MB, free: 28 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009883/0.0009882, allocations: 183.7 kB / 384.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 0.6626 GB, free: 4.246 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008594/0.0008593, allocations: 98.8 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004324, allocations: 18.55 kB / 0.9088 GB, free: 2.832 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7435/0.744, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.81, allocations: 427.3 MB / 1.444 GB, free: 245 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.811, allocations: 92.92 kB / 1.444 GB, free: 245 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.613/5.424, allocations: 1.046 GB / 2.49 GB, free: 91.23 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.986e-06/5.424, allocations: 0 / 2.49 GB, free: 91.23 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003495/5.424, allocations: 82.02 kB / 2.49 GB, free: 91.23 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.009678/5.434, allocations: 3.645 MB / 2.494 GB, free: 89.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/5.434, allocations: 8.531 kB / 2.494 GB, free: 89.99 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008502/5.443, allocations: 1.217 MB / 2.495 GB, free: 89.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008023/5.451, allocations: 3.303 MB / 2.498 GB, free: 89.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/5.451, allocations: 253 kB / 2.498 GB, free: 89.23 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005467/5.452, allocations: 236 kB / 2.498 GB, free: 89.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007794/5.459, allocations: 3.151 MB / 2.502 GB, free: 88.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-05/5.459, allocations: 7.812 kB / 2.502 GB, free: 88.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/5.46, allocations: 100.9 kB / 2.502 GB, free: 88.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-05/5.46, allocations: 71.5 kB / 2.502 GB, free: 88.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008426/5.468, allocations: 2.766 MB / 2.504 GB, free: 88.7 MB / 0.9948 GB 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.01995/5.488, allocations: 13.09 MB / 2.517 GB, free: 83.23 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/5.492, allocations: 1.479 MB / 2.519 GB, free: 83.02 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/5.494, allocations: 0.8913 MB / 2.519 GB, free: 83 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/5.496, allocations: 1.779 MB / 2.521 GB, free: 81.03 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002945/5.499, allocations: 1.213 MB / 2.522 GB, free: 80.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=118): time 3.307e-06/5.499, allocations: 0 / 2.522 GB, free: 80.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=118): time 0.019/5.518, allocations: 4.299 MB / 2.527 GB, free: 80.35 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000249/5.518, allocations: 0.9453 MB / 2.528 GB, free: 79.22 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004193/5.522, allocations: 2.513 MB / 2.53 GB, free: 78.98 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003549/5.523, allocations: 57.61 kB / 2.53 GB, free: 78.95 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/5.524, allocations: 1.366 MB / 2.531 GB, free: 78.45 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/5.524, allocations: 414.1 kB / 2.532 GB, free: 78.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/5.524, allocations: 31.84 kB / 2.532 GB, free: 78.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.525e-05/5.524, allocations: 369.7 kB / 2.532 GB, free: 77.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003011/5.527, allocations: 0.9373 MB / 2.533 GB, free: 77.89 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/5.531, allocations: 1.568 MB / 2.535 GB, free: 77.24 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005558/5.536, allocations: 2.158 MB / 2.537 GB, free: 76.77 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/5.536, allocations: 3.062 kB / 2.537 GB, free: 76.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.008283/5.544, allocations: 2.908 MB / 2.54 GB, free: 76.52 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002199/5.545, allocations: 475.7 kB / 2.54 GB, free: 75.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/5.545, allocations: 15.66 kB / 2.54 GB, free: 75.98 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002143/5.547, allocations: 0.7308 MB / 2.541 GB, free: 75.96 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/5.549, allocations: 483.9 kB / 2.541 GB, free: 75.96 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/5.551, allocations: 1.79 MB / 2.543 GB, free: 74.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/5.556, allocations: 0.5127 MB / 2.543 GB, free: 74.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002774/5.556, allocations: 106.1 kB / 2.544 GB, free: 74.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/5.556, allocations: 5.969 kB / 2.544 GB, free: 74.8 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007217/5.563, allocations: 2.591 MB / 2.546 GB, free: 74.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/5.564, allocations: 11.91 kB / 2.546 GB, free: 74.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002074/5.566, allocations: 0.7177 MB / 2.547 GB, free: 74.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/5.568, allocations: 467.6 kB / 2.547 GB, free: 74.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/5.57, allocations: 1.792 MB / 2.549 GB, free: 73.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/5.574, allocations: 435 kB / 2.549 GB, free: 73.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/5.574, allocations: 107.6 kB / 2.549 GB, free: 73.55 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001719/5.576, allocations: 0.6963 MB / 2.55 GB, free: 73.36 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/5.577, allocations: 275.6 kB / 2.55 GB, free: 73.22 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007936/5.585, allocations: 2.271 MB / 2.553 GB, free: 73.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/5.585, allocations: 20.55 kB / 2.553 GB, free: 73.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/5.585, allocations: 6.141 kB / 2.553 GB, free: 73.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007122/5.592, allocations: 2.059 MB / 2.555 GB, free: 72.81 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/5.606, allocations: 6.936 MB / 2.561 GB, free: 70.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/5.606, allocations: 12.69 kB / 2.561 GB, free: 70.82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/5.608, allocations: 298.6 kB / 2.562 GB, free: 70.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/5.61, allocations: 0.706 MB / 2.562 GB, free: 70.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/5.61, allocations: 54.25 kB / 2.562 GB, free: 70.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/5.612, allocations: 1.783 MB / 2.564 GB, free: 69.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/5.612, allocations: 16.8 kB / 2.564 GB, free: 69.75 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009826/5.621, allocations: 3.468 MB / 2.568 GB, free: 69.15 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/5.624, allocations: 0.6378 MB / 2.568 GB, free: 68.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006658/5.624, allocations: 33.25 kB / 2.568 GB, free: 68.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/5.628, allocations: 283.1 kB / 2.569 GB, free: 68.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/5.628, allocations: 115.8 kB / 2.569 GB, free: 68.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/5.628, allocations: 71.55 kB / 2.569 GB, free: 68.89 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003011/5.631, allocations: 1.742 MB / 2.57 GB, free: 68.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.122e-06/5.631, allocations: 0 / 2.57 GB, free: 68.75 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006499/5.638, allocations: 1.758 MB / 2.572 GB, free: 68.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002795/5.64, allocations: 1.388 MB / 2.574 GB, free: 68.12 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0105/5.651, allocations: 3.49 MB / 2.577 GB, free: 67.95 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/5.651, allocations: 4.062 kB / 2.577 GB, free: 67.95 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003152/5.654, allocations: 1.031 MB / 2.578 GB, free: 67.94 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009697/5.664, allocations: 1.439 MB / 2.579 GB, free: 67.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/5.677, allocations: 6.117 MB / 2.585 GB, free: 65.33 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/5.679, allocations: 1.709 MB / 2.587 GB, free: 64.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004227/5.683, allocations: 0.6893 MB / 2.588 GB, free: 64.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007117/5.684, allocations: 239.7 kB / 2.588 GB, free: 64.56 MB / 0.9948 GB Notification: Performance of SimCode: time 5.91e-07/5.684, allocations: 0 / 2.588 GB, free: 64.56 MB / 0.9948 GB Notification: Performance of Templates: time 0.116/5.8, allocations: 73.17 MB / 2.659 GB, free: 60.39 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)