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.627/1.627, allocations: 288.4 MB / 304.3 MB, free: 8.023 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.001046/0.001046, allocations: 177.7 kB / 372.9 MB, free: 10.14 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.705/1.705, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0009321/0.000932, allocations: 94.36 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004304, allocations: 19.3 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2588, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.374, allocations: 426.8 MB / 1.397 GB, free: 2.141 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004372/1.374, allocations: 99.31 kB / 1.398 GB, free: 2.086 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.17/3.544, allocations: 0.5469 GB / 1.944 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.582e-06/3.544, allocations: 0 / 1.944 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000159/3.544, allocations: 44.52 kB / 1.945 GB, free: 177.6 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.004955/3.549, allocations: 2.227 MB / 1.947 GB, free: 176 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/3.549, allocations: 7.781 kB / 1.947 GB, free: 176 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004766/3.554, allocations: 0.6849 MB / 1.947 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/3.558, allocations: 1.871 MB / 1.949 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/3.558, allocations: 139.2 kB / 1.949 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/3.558, allocations: 127.4 kB / 1.949 GB, free: 174.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003687/3.562, allocations: 1.744 MB / 1.951 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/3.562, allocations: 7 kB / 1.951 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/3.562, allocations: 58.11 kB / 1.951 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/3.562, allocations: 37.06 kB / 1.951 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004292/3.566, allocations: 1.532 MB / 1.953 GB, free: 172.3 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.009904/3.576, allocations: 7.489 MB / 1.96 GB, free: 166 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003637/3.58, allocations: 1.209 MB / 1.961 GB, free: 165.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/3.582, allocations: 0.6179 MB / 1.962 GB, free: 165.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/3.583, allocations: 1.274 MB / 1.963 GB, free: 163.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/3.585, allocations: 0.7289 MB / 1.964 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=79): time 2.805e-06/3.585, allocations: 0 / 1.964 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79): time 0.02084/3.606, allocations: 3.612 MB / 1.967 GB, free: 161.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/3.606, allocations: 162.4 kB / 1.967 GB, free: 161.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/3.608, allocations: 1.292 MB / 1.969 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/3.608, allocations: 48.83 kB / 1.969 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/3.609, allocations: 0.733 MB / 1.969 GB, free: 160 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/3.609, allocations: 270.7 kB / 1.97 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/3.609, allocations: 19.88 kB / 1.97 GB, free: 159.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.314e-05/3.609, allocations: 339.9 kB / 1.97 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/3.611, allocations: 0.546 MB / 1.971 GB, free: 159.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/3.613, allocations: 0.8604 MB / 1.971 GB, free: 158.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003527/3.616, allocations: 1.267 MB / 1.973 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/3.616, allocations: 0 / 1.973 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005032/3.621, allocations: 1.697 MB / 1.974 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/3.622, allocations: 270.2 kB / 1.975 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/3.622, allocations: 8 kB / 1.975 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/3.624, allocations: 0.582 MB / 1.975 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/3.625, allocations: 242.4 kB / 1.975 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/3.627, allocations: 1.195 MB / 1.977 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002427/3.629, allocations: 245.2 kB / 1.977 GB, free: 153 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/3.629, allocations: 59.94 kB / 1.977 GB, free: 153 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/3.629, allocations: 4 kB / 1.977 GB, free: 153 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004408/3.634, allocations: 1.503 MB / 1.978 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/3.634, allocations: 8 kB / 1.978 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/3.636, allocations: 0.5692 MB / 1.979 GB, free: 151 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/3.638, allocations: 241.4 kB / 1.979 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/3.64, allocations: 1.179 MB / 1.98 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/3.643, allocations: 217.3 kB / 1.981 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/3.643, allocations: 59.94 kB / 1.981 GB, free: 149.3 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.001386/3.645, allocations: 468.7 kB / 1.981 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004742/3.645, allocations: 150.2 kB / 1.981 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006844/3.652, allocations: 1.675 MB / 1.983 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/3.652, allocations: 8 kB / 1.983 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/3.652, allocations: 0 / 1.983 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005283/3.657, allocations: 1.453 MB / 1.984 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007049/3.664, allocations: 3.327 MB / 1.987 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/3.664, allocations: 0 / 1.987 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/3.665, allocations: 179.9 kB / 1.988 GB, free: 141.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/3.667, allocations: 0.5468 MB / 1.988 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/3.667, allocations: 39.94 kB / 1.988 GB, free: 141.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/3.669, allocations: 1.17 MB / 1.989 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/3.669, allocations: 4 kB / 1.989 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/3.673, allocations: 1.658 MB / 1.991 GB, free: 138.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009093/3.674, allocations: 406.9 kB / 1.991 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/3.675, allocations: 19.98 kB / 1.991 GB, free: 138 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/3.676, allocations: 175.6 kB / 1.992 GB, free: 137.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/3.676, allocations: 52.58 kB / 1.992 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/3.677, allocations: 55.92 kB / 1.992 GB, free: 137.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001246/3.678, allocations: 0.8907 MB / 1.993 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.81e-07/3.678, allocations: 0 / 1.993 GB, free: 136.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002781/3.681, allocations: 1.029 MB / 1.994 GB, free: 135.8 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.002272/3.683, allocations: 1.18 MB / 1.995 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.006538/3.689, allocations: 2.08 MB / 1.997 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/3.689, allocations: 0 / 1.997 GB, free: 132.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/3.691, allocations: 0.663 MB / 1.997 GB, free: 132.2 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/3.696, allocations: 0.767 MB / 1.998 GB, free: 131.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/3.701, allocations: 3.283 MB / 2.001 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/3.702, allocations: 1.263 MB / 2.003 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001839/3.704, allocations: 399 kB / 2.003 GB, free: 126.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/3.704, allocations: 139.3 kB / 2.003 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/3.704, allocations: 0 / 2.003 GB, free: 126.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.05485/3.759, allocations: 41.75 MB / 2.044 GB, free: 85.45 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)