Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.31/2.31, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001697/0.001697, allocations: 180.8 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.3 MB / 0.7915 GB, free: 5.438 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.001356/0.001356, allocations: 99.83 kB / 0.9318 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.592e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2846, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.479, allocations: 440.4 MB / 1.649 GB, free: 10.01 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/1.479, allocations: 91.95 kB / 1.649 GB, free: 9.918 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.871/4.351, allocations: 0.5666 GB / 2.216 GB, free: 233.3 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.513e-06/4.351, allocations: 2.625 kB / 2.216 GB, free: 233.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0003186/4.351, allocations: 39.31 kB / 2.216 GB, free: 233.3 MB / 1.135 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.007174/4.358, allocations: 1.965 MB / 2.218 GB, free: 232.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/4.359, allocations: 10.88 kB / 2.218 GB, free: 232.5 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000727/4.359, allocations: 189.7 kB / 2.218 GB, free: 232.4 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005437/4.365, allocations: 0.6739 MB / 2.218 GB, free: 232.3 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005714/4.37, allocations: 1.886 MB / 2.22 GB, free: 232 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/4.371, allocations: 141.1 kB / 2.22 GB, free: 232 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000509/4.371, allocations: 124.9 kB / 2.221 GB, free: 232 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/4.375, allocations: 1.565 MB / 2.222 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/4.375, allocations: 1.5 kB / 2.222 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/4.376, allocations: 54.53 kB / 2.222 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.946e-05/4.376, allocations: 55.12 kB / 2.222 GB, free: 231.7 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/4.378, allocations: 1.19 MB / 2.223 GB, free: 231.7 MB / 1.135 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.01277/4.391, allocations: 7.519 MB / 2.231 GB, free: 228.3 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/4.393, allocations: 0.9311 MB / 2.232 GB, free: 228.3 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/4.394, allocations: 471.5 kB / 2.232 GB, free: 228.2 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/4.395, allocations: 1.278 MB / 2.233 GB, free: 226.8 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/4.396, allocations: 0.5725 MB / 2.234 GB, free: 226.8 MB / 1.135 GB Notification: Performance of pre-optimization done (n=79): time 3.937e-06/4.396, allocations: 0 / 2.234 GB, free: 226.8 MB / 1.135 GB Notification: Performance of matching and sorting (n=79): time 0.004198/4.4, allocations: 1.211 MB / 2.235 GB, free: 226.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/4.4, allocations: 162.8 kB / 2.235 GB, free: 226.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00242/4.403, allocations: 1.163 MB / 2.236 GB, free: 226.3 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/4.403, allocations: 48.14 kB / 2.236 GB, free: 226.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007732/4.404, allocations: 0.738 MB / 2.237 GB, free: 226 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/4.404, allocations: 269 kB / 2.237 GB, free: 225.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/4.404, allocations: 18.19 kB / 2.237 GB, free: 225.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/4.404, allocations: 336.1 kB / 2.238 GB, free: 225.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/4.405, allocations: 391.9 kB / 2.238 GB, free: 225.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009262/4.406, allocations: 0.6752 MB / 2.239 GB, free: 225.2 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/4.407, allocations: 440.5 kB / 2.239 GB, free: 225.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/4.407, allocations: 0 / 2.239 GB, free: 225.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002576/4.409, allocations: 1.32 MB / 2.24 GB, free: 225.1 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006998/4.41, allocations: 2.412 MB / 2.243 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/4.41, allocations: 11.39 kB / 2.243 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/4.412, allocations: 0.4988 MB / 2.243 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/4.413, allocations: 253 kB / 2.243 GB, free: 222.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/4.414, allocations: 1.092 MB / 2.245 GB, free: 222.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/4.417, allocations: 251.7 kB / 2.245 GB, free: 222 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/4.417, allocations: 55.88 kB / 2.245 GB, free: 222 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/4.417, allocations: 9.031 kB / 2.245 GB, free: 222 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002011/4.419, allocations: 1.16 MB / 2.246 GB, free: 222 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/4.419, allocations: 7.688 kB / 2.246 GB, free: 222 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/4.42, allocations: 0.517 MB / 2.246 GB, free: 222 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/4.422, allocations: 243.7 kB / 2.247 GB, free: 222 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/4.423, allocations: 1.085 MB / 2.248 GB, free: 221.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/4.425, allocations: 221.9 kB / 2.248 GB, free: 221.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/4.425, allocations: 57.14 kB / 2.248 GB, free: 221.4 MB / 1.135 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.0004015/4.426, allocations: 164.6 kB / 2.248 GB, free: 221.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004788/4.426, allocations: 149.6 kB / 2.248 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/4.429, allocations: 1.35 MB / 2.25 GB, free: 221.1 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/4.429, allocations: 7.406 kB / 2.25 GB, free: 221.1 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/4.429, allocations: 0 / 2.25 GB, free: 221.1 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001742/4.431, allocations: 1.125 MB / 2.251 GB, free: 220.9 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005522/4.436, allocations: 3.001 MB / 2.254 GB, free: 220.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/4.436, allocations: 7.328 kB / 2.254 GB, free: 220.5 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/4.437, allocations: 186.2 kB / 2.254 GB, free: 220.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/4.439, allocations: 0.4918 MB / 2.254 GB, free: 220.5 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.29e-05/4.439, allocations: 35.97 kB / 2.254 GB, free: 220.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/4.44, allocations: 1.08 MB / 2.255 GB, free: 220 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/4.44, allocations: 0 / 2.255 GB, free: 220 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/4.442, allocations: 1.379 MB / 2.257 GB, free: 219.6 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/4.444, allocations: 412.9 kB / 2.257 GB, free: 219.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000418/4.444, allocations: 23.28 kB / 2.257 GB, free: 219.4 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/4.446, allocations: 167.8 kB / 2.257 GB, free: 219.4 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/4.446, allocations: 58.02 kB / 2.257 GB, free: 219.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/4.446, allocations: 56.47 kB / 2.257 GB, free: 219.4 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001539/4.448, allocations: 0.9006 MB / 2.258 GB, free: 219.3 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.4e-07/4.448, allocations: 2.625 kB / 2.258 GB, free: 219.3 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003672/4.452, allocations: 1.08 MB / 2.259 GB, free: 219.1 MB / 1.135 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.004889/4.456, allocations: 3.271 MB / 2.263 GB, free: 217.8 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002972/4.459, allocations: 1.643 MB / 2.264 GB, free: 217.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/4.459, allocations: 7.5 kB / 2.264 GB, free: 217.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0008157/4.46, allocations: 0.5172 MB / 2.265 GB, free: 217.8 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/4.464, allocations: 0.7633 MB / 2.265 GB, free: 217.8 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/4.468, allocations: 2.367 MB / 2.268 GB, free: 217.1 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/4.469, allocations: 1.306 MB / 2.269 GB, free: 216.4 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.002135/4.471, allocations: 490.7 kB / 2.27 GB, free: 216.3 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/4.472, allocations: 0.6015 MB / 2.27 GB, free: 216.3 MB / 1.135 GB Notification: Performance of SimCode: time 2.354e-06/4.472, allocations: 0 / 2.27 GB, free: 216.3 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.099/4.571, allocations: 59.58 MB / 2.328 GB, free: 206.8 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/4.571, allocations: 236 kB / 2.329 GB, free: 206.4 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.876/9.448, allocations: 0 / 2.329 GB, free: 206.4 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater_fmu --startTime=0 --stopTime=142 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)