Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 292.3 MB / 308.1 MB, free: 4.312 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.001266/0.001265, allocations: 190.4 kB / 376.9 MB, free: 1.82 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.733/1.733, allocations: 205.1 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000948/0.0009477, allocations: 98.62 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 55.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.251, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.5177/0.7687, allocations: 125.3 MB / 1.105 GB, free: 31.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.7868, allocations: 15.38 MB / 1.12 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.7898, allocations: 65.69 kB / 1.12 GB, free: 20.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002779/0.7926, allocations: 0.795 MB / 1.12 GB, free: 20.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0069/0.7995, allocations: 2.373 MB / 1.123 GB, free: 18.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005504/0.8051, allocations: 1.909 MB / 1.125 GB, free: 17.87 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007315/0.8124, allocations: 6.01 MB / 1.13 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.8152, allocations: 1.396 MB / 1.132 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/0.8192, allocations: 1.554 MB / 1.133 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.8237, allocations: 1.314 MB / 1.135 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007274/0.8244, allocations: 93.28 kB / 1.135 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005119/0.8296, allocations: 1.808 MB / 1.136 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0009017/0.8305, allocations: 398.8 kB / 1.137 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.8328, allocations: 0.9765 MB / 1.138 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.007191/0.84, allocations: 3.599 MB / 1.141 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.84, allocations: 0 / 1.141 GB, free: 11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.84, allocations: 0 / 1.141 GB, free: 11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001229/0.8402, allocations: 3.281 kB / 1.141 GB, free: 11 MB / 0.7448 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.006437/0.8466, allocations: 2.451 MB / 1.144 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.8467, allocations: 13.59 kB / 1.144 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005682/0.8523, allocations: 0.7115 MB / 1.144 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003269/0.8556, allocations: 1.655 MB / 1.146 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.8558, allocations: 130.1 kB / 1.146 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.8562, allocations: 127.8 kB / 1.146 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004084/0.8603, allocations: 1.735 MB / 1.148 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/0.8603, allocations: 3.125 kB / 1.148 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.8605, allocations: 52.44 kB / 1.148 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.364e-05/0.8605, allocations: 42.72 kB / 1.148 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004685/0.8652, allocations: 1.513 MB / 1.15 GB, free: 6.793 MB / 0.7448 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.009974/0.8752, allocations: 7.542 MB / 1.157 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.8793, allocations: 1.167 MB / 1.158 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.8812, allocations: 0.5918 MB / 1.159 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.8825, allocations: 1.265 MB / 1.16 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002476/0.885, allocations: 0.6986 MB / 1.161 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=80): time 4.879e-06/0.8851, allocations: 0 / 1.161 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80): time 0.01868/0.9038, allocations: 3.169 MB / 1.164 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.9039, allocations: 143 kB / 1.164 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.9062, allocations: 1.275 MB / 1.165 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002536/0.9065, allocations: 48.23 kB / 1.165 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007511/0.9073, allocations: 0.7139 MB / 1.166 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.9077, allocations: 286.7 kB / 1.166 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004403/0.9081, allocations: 222.2 kB / 1.166 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.9083, allocations: 344.8 kB / 1.167 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.9104, allocations: 0.5302 MB / 1.167 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.9128, allocations: 0.8011 MB / 1.168 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/0.9169, allocations: 1.231 MB / 1.169 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.9169, allocations: 2.125 kB / 1.169 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005563/0.9225, allocations: 1.647 MB / 1.171 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.9225, allocations: 8.062 kB / 1.171 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.9226, allocations: 5.312 kB / 1.171 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/0.9248, allocations: 0.5603 MB / 1.171 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/0.9262, allocations: 248.3 kB / 1.171 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.9285, allocations: 1.18 MB / 1.173 GB, free: 9.441 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.9308, allocations: 229.9 kB / 1.173 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.931, allocations: 56.91 kB / 1.173 GB, free: 9.355 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002859/0.9339, allocations: 0.8281 MB / 1.174 GB, free: 8.977 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002303/0.9362, allocations: 0.7943 MB / 1.174 GB, free: 8.488 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00413/0.9404, allocations: 1.221 MB / 1.176 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.257e-06/0.9404, allocations: 2 kB / 1.176 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005736/0.9461, allocations: 1.636 MB / 1.177 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.9462, allocations: 7.438 kB / 1.177 GB, free: 7.246 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.9462, allocations: 14.88 kB / 1.177 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.9482, allocations: 0.5721 MB / 1.178 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.9496, allocations: 251.4 kB / 1.178 GB, free: 7.062 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/0.9518, allocations: 1.164 MB / 1.179 GB, free: 6.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.9542, allocations: 205 kB / 1.179 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.9544, allocations: 56.53 kB / 1.179 GB, free: 6.215 MB / 0.7605 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005319/0.9549, allocations: 247.9 kB / 1.18 GB, free: 5.984 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006127/0.9556, allocations: 147.8 kB / 1.18 GB, free: 5.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.9689, allocations: 2.117 MB / 1.182 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.147e-05/0.969, allocations: 11.97 kB / 1.182 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.969, allocations: 3.938 kB / 1.182 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01277/0.9818, allocations: 1.951 MB / 1.184 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.9923, allocations: 3.639 MB / 1.187 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.9924, allocations: 2.812 kB / 1.187 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.9936, allocations: 178.8 kB / 1.188 GB, free: 2.734 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/0.9957, allocations: 0.5471 MB / 1.188 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.9958, allocations: 37.89 kB / 1.188 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.998, allocations: 1.151 MB / 1.189 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.9981, allocations: 1.156 kB / 1.189 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008934/1.007, allocations: 3.059 MB / 1.192 GB, free: 140 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/1.008, allocations: 382.5 kB / 1.193 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002459/1.008, allocations: 22.28 kB / 1.193 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.01, allocations: 151 kB / 1.193 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/1.01, allocations: 55.69 kB / 1.193 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.01, allocations: 60.22 kB / 1.193 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001441/1.012, allocations: 0.863 MB / 1.194 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.41e-07/1.012, allocations: 4 kB / 1.194 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003297/1.015, allocations: 0.9985 MB / 1.195 GB, free: 15.19 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002223/1.017, allocations: 0.8633 MB / 1.196 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.007569/1.025, allocations: 2.014 MB / 1.198 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.025, allocations: 1.125 kB / 1.198 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002365/1.027, allocations: 0.627 MB / 1.198 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/1.032, allocations: 0.7742 MB / 1.199 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/1.039, allocations: 3.753 MB / 1.203 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.04, allocations: 1.285 MB / 1.204 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00212/1.042, allocations: 371.7 kB / 1.204 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/1.042, allocations: 143.3 kB / 1.204 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/1.042, allocations: 0 / 1.204 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of Templates: time 0.06426/1.106, allocations: 39.7 MB / 1.243 GB, free: 10.5 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)