Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.777/1.777, allocations: 288.3 MB / 303.2 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001274, allocations: 191.3 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009527/0.0009528, allocations: 93.64 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004217/0.0004217, allocations: 11.16 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2489, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.26, allocations: 426.7 MB / 1.396 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/1.261, allocations: 105.1 kB / 1.396 GB, free: 2.562 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.357/3.617, allocations: 0.5553 GB / 1.952 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.395e-06/3.618, allocations: 0 / 1.952 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001876/3.618, allocations: 45.34 kB / 1.952 GB, free: 174.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.006941/3.625, allocations: 2.239 MB / 1.954 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/3.625, allocations: 10.34 kB / 1.954 GB, free: 172.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005898/3.631, allocations: 0.687 MB / 1.954 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/3.635, allocations: 1.868 MB / 1.956 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/3.636, allocations: 136.2 kB / 1.956 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002219/3.636, allocations: 125.2 kB / 1.957 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/3.64, allocations: 1.739 MB / 1.958 GB, free: 170 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/3.64, allocations: 3.5 kB / 1.958 GB, free: 170 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/3.641, allocations: 54.06 kB / 1.958 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.417e-05/3.641, allocations: 40.42 kB / 1.958 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/3.646, allocations: 1.535 MB / 1.96 GB, free: 169.2 MB / 0.9323 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.01265/3.658, allocations: 7.521 MB / 1.967 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/3.663, allocations: 1.228 MB / 1.968 GB, free: 162.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/3.664, allocations: 1.266 MB / 1.97 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002338/3.666, allocations: 0.7269 MB / 1.97 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 3.938e-06/3.666, allocations: 2.25 kB / 1.97 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.02402/3.69, allocations: 3.579 MB / 1.974 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/3.69, allocations: 162.9 kB / 1.974 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/3.693, allocations: 1.188 MB / 1.975 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003248/3.693, allocations: 53.7 kB / 1.975 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005958/3.694, allocations: 0.727 MB / 1.976 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/3.694, allocations: 268 kB / 1.976 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/3.694, allocations: 20 kB / 1.976 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.825e-05/3.694, allocations: 344.3 kB / 1.976 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/3.696, allocations: 0.5454 MB / 1.977 GB, free: 153 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/3.698, allocations: 0.8488 MB / 1.978 GB, free: 152 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/3.7, allocations: 0.5935 MB / 1.978 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/3.7, allocations: 2.688 kB / 1.978 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005704/3.706, allocations: 1.694 MB / 1.98 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005073/3.706, allocations: 2.41 MB / 1.982 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/3.707, allocations: 7.984 kB / 1.982 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/3.708, allocations: 0.5766 MB / 1.983 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/3.71, allocations: 253.5 kB / 1.983 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/3.712, allocations: 1.174 MB / 1.984 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/3.714, allocations: 252.6 kB / 1.985 GB, free: 145 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/3.715, allocations: 59.94 kB / 1.985 GB, free: 145 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/3.715, allocations: 6.781 kB / 1.985 GB, free: 145 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005338/3.72, allocations: 1.503 MB / 1.986 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/3.72, allocations: 8 kB / 1.986 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/3.722, allocations: 0.5704 MB / 1.987 GB, free: 142.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/3.723, allocations: 238.9 kB / 1.987 GB, free: 142.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/3.725, allocations: 1.192 MB / 1.988 GB, free: 141.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002557/3.728, allocations: 221.3 kB / 1.988 GB, free: 141.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/3.728, allocations: 59.2 kB / 1.988 GB, free: 141.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001178/3.729, allocations: 474.6 kB / 1.989 GB, free: 140.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/3.73, allocations: 150.2 kB / 1.989 GB, free: 140.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005745/3.736, allocations: 1.669 MB / 1.991 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/3.736, allocations: 12 kB / 1.991 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/3.736, allocations: 0 / 1.991 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004423/3.74, allocations: 1.446 MB / 1.992 GB, free: 137.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009427/3.75, allocations: 3.344 MB / 1.995 GB, free: 134 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/3.75, allocations: 0 / 1.995 GB, free: 134 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/3.751, allocations: 179.9 kB / 1.995 GB, free: 133.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/3.753, allocations: 0.558 MB / 1.996 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.385e-05/3.753, allocations: 39.89 kB / 1.996 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/3.755, allocations: 1.173 MB / 1.997 GB, free: 132.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/3.755, allocations: 0 / 1.997 GB, free: 132.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005296/3.76, allocations: 1.71 MB / 1.999 GB, free: 130.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/3.761, allocations: 426.8 kB / 1.999 GB, free: 129.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/3.761, allocations: 16 kB / 1.999 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/3.763, allocations: 171.7 kB / 1.999 GB, free: 129.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/3.763, allocations: 52.53 kB / 1.999 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/3.763, allocations: 55.92 kB / 2 GB, free: 129.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001397/3.765, allocations: 0.9258 MB / 2 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/3.765, allocations: 0 / 2 GB, free: 128.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00384/3.769, allocations: 1.072 MB / 2.001 GB, free: 127.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002808/3.771, allocations: 1.239 MB / 2.003 GB, free: 126.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008162/3.78, allocations: 2.066 MB / 2.005 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-05/3.78, allocations: 0 / 2.005 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002493/3.782, allocations: 0.6711 MB / 2.005 GB, free: 123.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004233/3.786, allocations: 0.7585 MB / 2.006 GB, free: 123.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/3.793, allocations: 3.288 MB / 2.009 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/3.794, allocations: 1.294 MB / 2.011 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002055/3.796, allocations: 390.2 kB / 2.011 GB, free: 118.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/3.796, allocations: 151.2 kB / 2.011 GB, free: 118 MB / 0.9323 GB Notification: Performance of SimCode: time 1.392e-06/3.796, allocations: 4 kB / 2.011 GB, free: 118 MB / 0.9323 GB Notification: Performance of Templates: time 0.06713/3.864, allocations: 41.92 MB / 2.052 GB, free: 76.87 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)