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.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 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.001692/0.001692, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.384/1.384, 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.747/2.747, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 66.75 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3311, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1207/0.4519, allocations: 126.1 MB / 1.191 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02301/0.4749, allocations: 15.43 MB / 1.206 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.4782, allocations: 79.5 kB / 1.207 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.4813, allocations: 0.9588 MB / 1.207 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.008409/0.4897, allocations: 2.607 MB / 1.21 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006498/0.4962, allocations: 2.117 MB / 1.212 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007286/0.5035, allocations: 4.779 MB / 1.217 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003212/0.5068, allocations: 1.701 MB / 1.218 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004859/0.5117, allocations: 1.824 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.5143, allocations: 1.338 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007623/0.5151, allocations: 212 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005371/0.5205, allocations: 1.981 MB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009594/0.5214, allocations: 0.4944 MB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.5239, allocations: 1.081 MB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007363/0.5313, allocations: 3.666 MB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5313, allocations: 0 / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5313, allocations: 0 / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.921e-05/0.5314, allocations: 0 / 1.229 GB, free: 5.527 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.004604/0.536, allocations: 2.459 MB / 1.231 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.536, allocations: 12.03 kB / 1.231 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005495/0.5415, allocations: 0.7127 MB / 1.232 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.5445, allocations: 1.627 MB / 1.233 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.5447, allocations: 136.1 kB / 1.234 GB, free: 456 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.5449, allocations: 124 kB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/0.5488, allocations: 1.728 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.5488, allocations: 7.938 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.549, allocations: 55.98 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.549, allocations: 40 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/0.5536, 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.01075/0.5644, allocations: 7.595 MB / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.5685, allocations: 1.157 MB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.5706, allocations: 0.5892 MB / 1.246 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001479/0.5721, allocations: 1.282 MB / 1.247 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002429/0.5745, allocations: 0.6913 MB / 1.248 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 3.517e-06/0.5746, allocations: 0 / 1.248 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.6023/1.177, allocations: 3.159 MB / 1.251 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/1.177, allocations: 141.2 kB / 1.251 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/1.179, allocations: 1.293 MB / 1.252 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001995/1.179, allocations: 47.98 kB / 1.253 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/1.18, allocations: 0.7192 MB / 1.253 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/1.18, allocations: 280.4 kB / 1.253 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/1.181, allocations: 221.7 kB / 1.254 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.333e-05/1.181, allocations: 344.7 kB / 1.254 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/1.183, allocations: 0.5301 MB / 1.255 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/1.185, allocations: 0.8059 MB / 1.255 GB, free: 178 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/1.189, allocations: 1.228 MB / 1.257 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/1.189, allocations: 2.875 kB / 1.257 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005177/1.194, allocations: 1.658 MB / 1.258 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/1.194, allocations: 6.484 kB / 1.258 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.194, allocations: 7.875 kB / 1.258 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/1.196, allocations: 0.5622 MB / 1.259 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/1.197, allocations: 251.4 kB / 1.259 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/1.199, allocations: 1.177 MB / 1.26 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/1.201, allocations: 180.8 kB / 1.26 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/1.201, allocations: 60.92 kB / 1.26 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002403/1.204, allocations: 0.8272 MB / 1.261 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002094/1.206, allocations: 0.7973 MB / 1.262 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003773/1.21, allocations: 1.214 MB / 1.263 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/1.21, allocations: 3.828 kB / 1.263 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005173/1.215, allocations: 1.636 MB / 1.265 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.215, allocations: 7.906 kB / 1.265 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.215, allocations: 5.219 kB / 1.265 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/1.217, allocations: 0.5676 MB / 1.265 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/1.218, allocations: 242 kB / 1.266 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/1.22, allocations: 1.175 MB / 1.267 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.222, allocations: 164.5 kB / 1.267 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/1.222, allocations: 56.14 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.0003949/1.223, allocations: 252 kB / 1.267 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003301/1.223, allocations: 150.7 kB / 1.267 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.236, allocations: 2.116 MB / 1.269 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.073e-05/1.236, allocations: 8.984 kB / 1.269 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.236, allocations: 0 / 1.269 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01259/1.249, allocations: 1.951 MB / 1.271 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008741/1.258, allocations: 3.654 MB / 1.275 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.258, allocations: 1.312 kB / 1.275 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.259, allocations: 177.7 kB / 1.275 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/1.261, allocations: 0.5473 MB / 1.275 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/1.261, allocations: 44.23 kB / 1.276 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/1.263, allocations: 1.163 MB / 1.277 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.263, allocations: 1.281 kB / 1.277 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/1.268, allocations: 1.589 MB / 1.278 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/1.269, allocations: 382.3 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/1.269, allocations: 19.27 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.271, allocations: 109.6 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/1.271, allocations: 59.61 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.271, allocations: 57.66 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001402/1.272, allocations: 0.8846 MB / 1.28 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.272, allocations: 0 / 1.28 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002686/1.275, allocations: 0.9681 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.002037/1.277, allocations: 0.89 MB / 1.282 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007461/1.284, allocations: 2.077 MB / 1.284 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.285, allocations: 2.406 kB / 1.284 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/1.287, allocations: 0.629 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.003578/1.29, allocations: 0.7632 MB / 1.285 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005749/1.296, allocations: 2.72 MB / 1.288 GB, free: 165 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007363/1.297, allocations: 1.268 MB / 1.289 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001887/1.299, allocations: 368.9 kB / 1.289 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/1.299, allocations: 139 kB / 1.289 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.299, allocations: 2.188 kB / 1.289 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.05428/1.354, allocations: 40.06 MB / 1.328 GB, free: 131.3 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)