Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001516, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 196.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 62.19 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2997, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1242/0.4239, allocations: 126.2 MB / 1.191 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02271/0.4467, allocations: 15.43 MB / 1.206 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004232/0.451, allocations: 79.56 kB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003823/0.4549, allocations: 0.9626 MB / 1.207 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008221/0.4631, allocations: 2.607 MB / 1.21 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.4688, allocations: 2.113 MB / 1.212 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006149/0.475, allocations: 4.777 MB / 1.217 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002432/0.4775, allocations: 1.709 MB / 1.218 GB, free: 128 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00375/0.4812, allocations: 1.82 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.4834, allocations: 1.334 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004216/0.4839, allocations: 208 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/0.4884, allocations: 1.981 MB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007253/0.4891, allocations: 0.4944 MB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.4909, allocations: 1.085 MB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.497, allocations: 3.658 MB / 1.229 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.497, allocations: 3.938 kB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.497, allocations: 4 kB / 1.229 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.794e-05/0.4971, allocations: 0 / 1.229 GB, free: 5.516 MB / 0.9825 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.005934/0.5031, allocations: 2.459 MB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.5031, allocations: 8.031 kB / 1.231 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005948/0.5091, allocations: 0.7127 MB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/0.5125, allocations: 1.629 MB / 1.233 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.5127, allocations: 132.1 kB / 1.234 GB, free: 452 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/0.5129, allocations: 128 kB / 1.234 GB, free: 324 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.5174, allocations: 1.728 MB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.5175, allocations: 3.938 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.5176, allocations: 59.91 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.914e-05/0.5177, allocations: 35.98 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005057/0.5228, allocations: 1.508 MB / 1.237 GB, free: 12.88 MB / 0.9981 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.01247/0.5353, allocations: 7.599 MB / 1.244 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004287/0.5396, allocations: 1.161 MB / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.5416, allocations: 0.6008 MB / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.5431, allocations: 1.271 MB / 1.247 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002379/0.5455, allocations: 0.6913 MB / 1.248 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 3.506e-06/0.5455, allocations: 4 kB / 1.248 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.4853/1.031, allocations: 3.155 MB / 1.251 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/1.031, allocations: 140.8 kB / 1.251 GB, free: 179 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/1.033, allocations: 1.291 MB / 1.252 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.033, allocations: 49.42 kB / 1.253 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/1.033, allocations: 0.719 MB / 1.253 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/1.034, allocations: 281.3 kB / 1.253 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/1.034, allocations: 221 kB / 1.254 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.422e-05/1.034, allocations: 342.4 kB / 1.254 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/1.036, allocations: 0.5287 MB / 1.255 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/1.038, allocations: 0.8052 MB / 1.255 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003947/1.042, allocations: 1.231 MB / 1.257 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.042, allocations: 3.609 kB / 1.257 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005169/1.047, allocations: 1.657 MB / 1.258 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/1.048, allocations: 12.62 kB / 1.258 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.048, allocations: 6.234 kB / 1.258 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/1.049, allocations: 0.5621 MB / 1.259 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.051, allocations: 248.8 kB / 1.259 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/1.053, allocations: 1.178 MB / 1.26 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/1.055, allocations: 179.7 kB / 1.26 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.055, allocations: 59.09 kB / 1.26 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002397/1.057, allocations: 0.8283 MB / 1.261 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00208/1.059, allocations: 0.7959 MB / 1.262 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003858/1.063, allocations: 1.219 MB / 1.263 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.102e-06/1.063, allocations: 1.469 kB / 1.263 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.00524/1.068, allocations: 1.632 MB / 1.265 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.068, allocations: 8.469 kB / 1.265 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.068, allocations: 7.375 kB / 1.265 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/1.07, allocations: 0.5657 MB / 1.265 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.072, allocations: 246.1 kB / 1.265 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/1.074, allocations: 1.175 MB / 1.267 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.076, allocations: 160.6 kB / 1.267 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.076, allocations: 56.23 kB / 1.267 GB, free: 173.6 MB / 0.9981 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.0003932/1.076, allocations: 252.3 kB / 1.267 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/1.077, allocations: 153.4 kB / 1.267 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/1.09, allocations: 2.117 MB / 1.269 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/1.09, allocations: 7.969 kB / 1.269 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.09, allocations: 1.062 kB / 1.269 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01277/1.103, allocations: 1.95 MB / 1.271 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008298/1.111, allocations: 3.662 MB / 1.275 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.111, allocations: 1.188 kB / 1.275 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.112, allocations: 172 kB / 1.275 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001876/1.114, allocations: 0.548 MB / 1.275 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-05/1.114, allocations: 36.41 kB / 1.276 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.116, allocations: 1.166 MB / 1.277 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/1.116, allocations: 2.594 kB / 1.277 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/1.121, allocations: 1.589 MB / 1.278 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006298/1.122, allocations: 382 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/1.122, allocations: 15.62 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.124, allocations: 115.7 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.124, allocations: 53.61 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.124, allocations: 60.09 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001203/1.125, allocations: 0.8857 MB / 1.28 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.125, allocations: 0 / 1.28 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002417/1.128, allocations: 0.9701 MB / 1.281 GB, free: 167.6 MB / 0.9981 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.001834/1.129, allocations: 0.8955 MB / 1.282 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007147/1.137, allocations: 2.07 MB / 1.284 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/1.137, allocations: 1.25 kB / 1.284 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/1.139, allocations: 0.635 MB / 1.284 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/1.142, allocations: 0.7649 MB / 1.285 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005343/1.147, allocations: 2.718 MB / 1.288 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/1.148, allocations: 1.262 MB / 1.289 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001831/1.15, allocations: 372.7 kB / 1.289 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/1.15, allocations: 143 kB / 1.289 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.15, allocations: 0 / 1.289 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04845/1.199, allocations: 40.04 MB / 1.328 GB, free: 131.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)