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.0008842/0.0008842, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007215/0.007215, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003694, allocations: 17.08 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1221/0.5062, allocations: 123.4 MB / 1.195 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02462/0.5309, allocations: 15.4 MB / 1.21 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00349/0.5344, allocations: 67.56 kB / 1.21 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003198/0.5376, allocations: 0.7887 MB / 1.21 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009642/0.5473, allocations: 2.402 MB / 1.213 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007041/0.5543, allocations: 1.922 MB / 1.215 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009516/0.5639, allocations: 6.006 MB / 1.221 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/0.5667, allocations: 1.364 MB / 1.222 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/0.5707, allocations: 1.485 MB / 1.223 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.5734, allocations: 1.248 MB / 1.225 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005391/0.574, allocations: 68 kB / 1.225 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005279/0.5793, allocations: 1.798 MB / 1.226 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007934/0.5801, allocations: 370.3 kB / 1.227 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002281/0.5824, allocations: 0.9461 MB / 1.228 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.589, allocations: 3.524 MB / 1.231 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.589, allocations: 3.984 kB / 1.231 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.956e-06/0.589, allocations: 0 / 1.231 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.23e-05/0.5891, allocations: 0 / 1.231 GB, free: 6.285 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.00433/0.5934, allocations: 2.062 MB / 1.233 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5935, allocations: 15.97 kB / 1.233 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005988/0.5995, allocations: 0.7439 MB / 1.234 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.6029, allocations: 1.673 MB / 1.236 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.6031, allocations: 136.1 kB / 1.236 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.6033, allocations: 124 kB / 1.236 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0045/0.6079, allocations: 1.739 MB / 1.237 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.6079, allocations: 7.938 kB / 1.237 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/0.6081, allocations: 52 kB / 1.238 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.6081, allocations: 39.98 kB / 1.238 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00508/0.6132, allocations: 1.543 MB / 1.239 GB, free: 13.91 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.01245/0.6257, allocations: 7.564 MB / 1.246 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/0.6301, allocations: 1.19 MB / 1.248 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.6322, allocations: 0.6039 MB / 1.248 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/0.6338, allocations: 1.271 MB / 1.249 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002384/0.6362, allocations: 0.703 MB / 1.25 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 3.356e-06/0.6362, allocations: 3.938 kB / 1.25 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.6402/1.276, allocations: 3.261 MB / 1.253 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/1.276, allocations: 138.6 kB / 1.253 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.279, allocations: 1.273 MB / 1.255 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.279, allocations: 45.69 kB / 1.255 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/1.28, allocations: 0.7216 MB / 1.255 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.28, allocations: 280.7 kB / 1.256 GB, free: 176 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/1.28, allocations: 85.08 kB / 1.256 GB, free: 176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/1.28, allocations: 345.7 kB / 1.256 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.282, allocations: 0.5279 MB / 1.257 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/1.284, allocations: 0.8202 MB / 1.257 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/1.289, allocations: 1.257 MB / 1.259 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.289, allocations: 3.5 kB / 1.259 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005625/1.294, allocations: 1.69 MB / 1.26 GB, free: 175 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.294, allocations: 267.9 kB / 1.261 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.294, allocations: 11.62 kB / 1.261 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/1.296, allocations: 0.5608 MB / 1.261 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.298, allocations: 251 kB / 1.261 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.3, allocations: 1.192 MB / 1.263 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/1.302, allocations: 238.3 kB / 1.263 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.302, allocations: 54.64 kB / 1.263 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.302, allocations: 7.281 kB / 1.263 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004867/1.307, allocations: 1.511 MB / 1.264 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.307, allocations: 6.562 kB / 1.264 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/1.309, allocations: 0.5669 MB / 1.265 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.31, allocations: 247.4 kB / 1.265 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/1.312, allocations: 1.181 MB / 1.266 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.314, allocations: 216.8 kB / 1.266 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.314, allocations: 62.03 kB / 1.266 GB, free: 172.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.000882/1.315, allocations: 470.6 kB / 1.267 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/1.315, allocations: 148.5 kB / 1.267 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/1.329, allocations: 2.176 MB / 1.269 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/1.329, allocations: 8.812 kB / 1.269 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/1.329, allocations: 0 / 1.269 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01348/1.343, allocations: 2.001 MB / 1.271 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009835/1.353, allocations: 3.669 MB / 1.275 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.353, allocations: 2.5 kB / 1.275 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.354, allocations: 192.4 kB / 1.275 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/1.356, allocations: 0.547 MB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/1.356, allocations: 36.56 kB / 1.276 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.358, allocations: 1.168 MB / 1.277 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.358, allocations: 5.5 kB / 1.277 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/1.363, allocations: 1.617 MB / 1.278 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009689/1.364, allocations: 414.6 kB / 1.279 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/1.365, allocations: 24.25 kB / 1.279 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/1.366, allocations: 158.6 kB / 1.279 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.367, allocations: 51.12 kB / 1.279 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.367, allocations: 57.44 kB / 1.279 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001332/1.368, allocations: 0.8708 MB / 1.28 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.368, allocations: 0 / 1.28 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002658/1.371, allocations: 0.9631 MB / 1.281 GB, free: 166.2 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.002011/1.373, allocations: 0.8821 MB / 1.282 GB, free: 166 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007749/1.381, allocations: 2.049 MB / 1.284 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.381, allocations: 1.656 kB / 1.284 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002484/1.383, allocations: 0.6371 MB / 1.284 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004608/1.388, allocations: 0.7516 MB / 1.285 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/1.394, allocations: 3.393 MB / 1.288 GB, free: 163 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/1.394, allocations: 1.259 MB / 1.289 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00201/1.396, allocations: 375.7 kB / 1.29 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/1.397, allocations: 143.9 kB / 1.29 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.397, allocations: 1.641 kB / 1.29 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.05369/1.45, allocations: 38.21 MB / 1.327 GB, free: 133 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)