Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.1 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.804/1.804, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 98.02 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.401e-05/4.425e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2963, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.243/1.54, allocations: 439.6 MB / 1.642 GB, free: 7.027 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.54, allocations: 89.45 kB / 1.642 GB, free: 6.984 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.887/4.426, allocations: 0.5666 GB / 2.208 GB, free: 239.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.377e-06/4.427, allocations: 0 / 2.208 GB, free: 239.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000319/4.427, allocations: 52.56 kB / 2.209 GB, free: 239.7 MB / 1.151 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.007393/4.434, allocations: 1.963 MB / 2.21 GB, free: 239.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/4.434, allocations: 9.125 kB / 2.21 GB, free: 239.2 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004555/4.435, allocations: 186.8 kB / 2.211 GB, free: 239.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/4.44, allocations: 0.686 MB / 2.211 GB, free: 239 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005407/4.446, allocations: 1.877 MB / 2.213 GB, free: 238.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/4.446, allocations: 131.2 kB / 2.213 GB, free: 238.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/4.446, allocations: 122.3 kB / 2.213 GB, free: 238.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/4.45, allocations: 1.561 MB / 2.215 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/4.45, allocations: 3.844 kB / 2.215 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/4.45, allocations: 56.19 kB / 2.215 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.181e-05/4.45, allocations: 51.55 kB / 2.215 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/4.453, allocations: 1.199 MB / 2.216 GB, free: 238.4 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01184/4.464, allocations: 7.52 MB / 2.224 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/4.466, allocations: 0.9309 MB / 2.224 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008251/4.467, allocations: 471 kB / 2.225 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/4.468, allocations: 1.272 MB / 2.226 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0011/4.469, allocations: 0.5728 MB / 2.227 GB, free: 233.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 3.937e-06/4.47, allocations: 0 / 2.227 GB, free: 233.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.004369/4.474, allocations: 1.212 MB / 2.228 GB, free: 233.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/4.474, allocations: 163.8 kB / 2.228 GB, free: 233.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/4.476, allocations: 1.161 MB / 2.229 GB, free: 233 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/4.476, allocations: 47.89 kB / 2.229 GB, free: 233 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007114/4.477, allocations: 0.7353 MB / 2.23 GB, free: 232.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/4.478, allocations: 274.4 kB / 2.23 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/4.478, allocations: 17.44 kB / 2.23 GB, free: 232.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000105/4.478, allocations: 346.3 kB / 2.231 GB, free: 232.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007369/4.478, allocations: 389.6 kB / 2.231 GB, free: 232.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009552/4.479, allocations: 0.6781 MB / 2.232 GB, free: 232 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008024/4.48, allocations: 441.7 kB / 2.232 GB, free: 232 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/4.48, allocations: 1.312 kB / 2.232 GB, free: 232 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002778/4.483, allocations: 1.318 MB / 2.233 GB, free: 231.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005933/4.484, allocations: 2.408 MB / 2.236 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/4.484, allocations: 8.625 kB / 2.236 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001654/4.485, allocations: 0.5108 MB / 2.236 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/4.487, allocations: 247.1 kB / 2.236 GB, free: 229.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/4.488, allocations: 1.092 MB / 2.237 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/4.49, allocations: 254.5 kB / 2.238 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/4.49, allocations: 59.77 kB / 2.238 GB, free: 228.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/4.49, allocations: 4.875 kB / 2.238 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002006/4.492, allocations: 1.157 MB / 2.239 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/4.493, allocations: 11.48 kB / 2.239 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/4.494, allocations: 0.5117 MB / 2.239 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/4.495, allocations: 236.2 kB / 2.24 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/4.496, allocations: 1.095 MB / 2.241 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/4.499, allocations: 218.9 kB / 2.241 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/4.499, allocations: 57.53 kB / 2.241 GB, free: 228.2 MB / 1.151 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 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0004326/4.499, allocations: 169.1 kB / 2.241 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/4.5, allocations: 146.1 kB / 2.241 GB, free: 228 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/4.502, allocations: 1.348 MB / 2.243 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/4.502, allocations: 15.48 kB / 2.243 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/4.502, allocations: 0 / 2.243 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/4.504, allocations: 1.122 MB / 2.244 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/4.51, allocations: 3.006 MB / 2.247 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/4.51, allocations: 3.906 kB / 2.247 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/4.511, allocations: 183.3 kB / 2.247 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/4.512, allocations: 0.4918 MB / 2.247 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/4.512, allocations: 35.31 kB / 2.247 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/4.514, allocations: 1.08 MB / 2.248 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/4.514, allocations: 2.812 kB / 2.248 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/4.516, allocations: 1.372 MB / 2.25 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/4.518, allocations: 426.7 kB / 2.25 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/4.518, allocations: 19.83 kB / 2.25 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/4.52, allocations: 158.9 kB / 2.25 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/4.52, allocations: 61.67 kB / 2.25 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/4.52, allocations: 55.42 kB / 2.25 GB, free: 226.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001761/4.522, allocations: 0.9009 MB / 2.251 GB, free: 226.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/4.522, allocations: 0 / 2.251 GB, free: 226.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004319/4.526, allocations: 1.078 MB / 2.252 GB, free: 226 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00638/4.533, allocations: 3.272 MB / 2.255 GB, free: 224.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0052/4.538, allocations: 1.649 MB / 2.257 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/4.538, allocations: 1 kB / 2.257 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/4.539, allocations: 0.5128 MB / 2.258 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/4.545, allocations: 0.7578 MB / 2.258 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007698/4.552, allocations: 2.373 MB / 2.261 GB, free: 224 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009933/4.553, allocations: 1.304 MB / 2.262 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002766/4.556, allocations: 492.9 kB / 2.262 GB, free: 223.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007654/4.557, allocations: 0.5982 MB / 2.263 GB, free: 223.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.223e-06/4.557, allocations: 3.375 kB / 2.263 GB, free: 223.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/4.664, allocations: 59.59 MB / 2.321 GB, free: 221.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/4.664, allocations: 223.8 kB / 2.321 GB, free: 221.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.963/9.627, allocations: 0 / 2.321 GB, free: 221.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)