Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.00129/0.00129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 198.5 kB / 16.14 MB, free: 6.695 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.001299, allocations: 63.95 kB / 0.9113 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3487, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1238/0.4725, allocations: 125.3 MB / 1.19 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02393/0.4965, allocations: 15.6 MB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.4995, allocations: 67.56 kB / 1.205 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003074/0.5026, allocations: 0.7887 MB / 1.206 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007718/0.5104, allocations: 2.392 MB / 1.208 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.5162, allocations: 1.917 MB / 1.21 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008206/0.5244, allocations: 6.009 MB / 1.216 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0034/0.5279, allocations: 1.411 MB / 1.217 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004051/0.5319, allocations: 1.536 MB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002824/0.5348, allocations: 1.31 MB / 1.22 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005796/0.5354, allocations: 92 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.5405, allocations: 1.824 MB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008261/0.5413, allocations: 406.3 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.5434, allocations: 0.9677 MB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006531/0.55, allocations: 3.596 MB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.55, allocations: 4 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.55, allocations: 0 / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001021/0.5501, allocations: 0 / 1.227 GB, free: 7.172 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.005489/0.5556, allocations: 2.451 MB / 1.229 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5557, allocations: 15.97 kB / 1.229 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005943/0.5616, allocations: 0.7127 MB / 1.23 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002923/0.5646, allocations: 1.662 MB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.5647, allocations: 132.1 kB / 1.232 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.5649, allocations: 124 kB / 1.232 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.5691, allocations: 1.739 MB / 1.234 GB, free: 104 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5691, allocations: 4 kB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.5692, allocations: 56 kB / 1.234 GB, free: 44 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/0.5693, allocations: 32 kB / 1.234 GB, free: 12 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00483/0.5741, allocations: 1.515 MB / 1.235 GB, free: 14.49 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.0102/0.5844, allocations: 7.545 MB / 1.242 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/0.5885, allocations: 1.159 MB / 1.244 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.5906, allocations: 0.5979 MB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/0.5919, allocations: 1.275 MB / 1.245 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002364/0.5942, allocations: 0.6874 MB / 1.246 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 3.456e-06/0.5943, allocations: 0 / 1.246 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.5609/1.155, allocations: 3.162 MB / 1.249 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/1.155, allocations: 138 kB / 1.249 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.157, allocations: 1.27 MB / 1.251 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/1.157, allocations: 48.42 kB / 1.251 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/1.158, allocations: 0.7216 MB / 1.251 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/1.158, allocations: 279.1 kB / 1.252 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003872/1.159, allocations: 223.8 kB / 1.252 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/1.159, allocations: 345.5 kB / 1.252 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/1.161, allocations: 0.532 MB / 1.253 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.163, allocations: 0.8036 MB / 1.253 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/1.167, allocations: 1.237 MB / 1.255 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/1.167, allocations: 2.062 kB / 1.255 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005477/1.173, allocations: 1.653 MB / 1.256 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.173, allocations: 7.469 kB / 1.256 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.173, allocations: 7.656 kB / 1.256 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.175, allocations: 0.5571 MB / 1.257 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.176, allocations: 251.2 kB / 1.257 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/1.178, allocations: 1.176 MB / 1.258 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.18, allocations: 226.3 kB / 1.258 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.18, allocations: 61.48 kB / 1.258 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002354/1.182, allocations: 0.8246 MB / 1.259 GB, free: 177 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002104/1.184, allocations: 0.7911 MB / 1.26 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00382/1.188, allocations: 1.223 MB / 1.261 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.29e-06/1.188, allocations: 2.531 kB / 1.261 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005212/1.193, allocations: 1.638 MB / 1.263 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.193, allocations: 11.62 kB / 1.263 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.193, allocations: 5.938 kB / 1.263 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001962/1.195, allocations: 0.5555 MB / 1.263 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.197, allocations: 246.6 kB / 1.264 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/1.199, allocations: 1.176 MB / 1.265 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.201, allocations: 202.8 kB / 1.265 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/1.201, allocations: 56.36 kB / 1.265 GB, free: 174.3 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.0003793/1.201, allocations: 246.5 kB / 1.265 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/1.202, allocations: 146.8 kB / 1.265 GB, free: 174 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/1.215, allocations: 2.121 MB / 1.267 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.215, allocations: 9.625 kB / 1.268 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.215, allocations: 0 / 1.268 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01258/1.227, allocations: 1.954 MB / 1.269 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008549/1.236, allocations: 3.643 MB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.236, allocations: 2.344 kB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/1.237, allocations: 175.4 kB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/1.239, allocations: 0.5488 MB / 1.274 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/1.239, allocations: 33.12 kB / 1.274 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.241, allocations: 1.163 MB / 1.275 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.241, allocations: 2.688 kB / 1.275 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/1.246, allocations: 1.588 MB / 1.276 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/1.247, allocations: 385.7 kB / 1.277 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/1.247, allocations: 19.62 kB / 1.277 GB, free: 169 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.249, allocations: 149.7 kB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/1.249, allocations: 56.19 kB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.249, allocations: 56.5 kB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001434/1.251, allocations: 0.8712 MB / 1.278 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.251, allocations: 0 / 1.278 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002979/1.254, allocations: 0.9624 MB / 1.279 GB, free: 168.4 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.001984/1.256, allocations: 0.8823 MB / 1.28 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007276/1.263, allocations: 2.016 MB / 1.282 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.263, allocations: 5.75 kB / 1.282 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/1.265, allocations: 0.6272 MB / 1.282 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/1.269, allocations: 0.7548 MB / 1.283 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/1.275, allocations: 3.317 MB / 1.286 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/1.276, allocations: 1.256 MB / 1.287 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001951/1.277, allocations: 371.6 kB / 1.288 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003768/1.278, allocations: 149 kB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.278, allocations: 0 / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04884/1.327, allocations: 38.41 MB / 1.325 GB, free: 134.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)