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.256/2.256, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001164/0.001164, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.531/1.531, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.000951, allocations: 103.4 kB / 0.9219 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.32e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.521, allocations: 439 MB / 1.635 GB, free: 15.82 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.521, allocations: 91.16 kB / 1.635 GB, free: 15.78 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.719/3.24, allocations: 0.5637 GB / 2.199 GB, free: 3.195 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/3.24, allocations: 0 / 2.199 GB, free: 3.195 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001459/3.24, allocations: 47.92 kB / 2.199 GB, free: 3.148 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.003442/3.244, allocations: 1.968 MB / 2.2 GB, free: 1.117 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/3.244, allocations: 8.031 kB / 2.2 GB, free: 1.109 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004358/3.248, allocations: 0.6806 MB / 2.201 GB, free: 436 kB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7956/4.044, allocations: 1.872 MB / 2.203 GB, free: 239.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/4.044, allocations: 97.62 kB / 2.203 GB, free: 239.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/4.044, allocations: 77.02 kB / 2.203 GB, free: 239.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002737/4.047, allocations: 1.11 MB / 2.204 GB, free: 239.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/4.05, allocations: 1.382 MB / 2.206 GB, free: 239.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/4.05, allocations: 3.438 kB / 2.206 GB, free: 239.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/4.05, allocations: 7.062 kB / 2.206 GB, free: 239.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-05/4.05, allocations: 52.91 kB / 2.206 GB, free: 239.3 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.01166/4.062, allocations: 7.262 MB / 2.213 GB, free: 236.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/4.064, allocations: 0.8933 MB / 2.214 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007606/4.064, allocations: 462.6 kB / 2.214 GB, free: 236 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/4.066, allocations: 1.27 MB / 2.215 GB, free: 234.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/4.067, allocations: 0.5485 MB / 2.216 GB, free: 234.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 3.486e-06/4.067, allocations: 1.25 kB / 2.216 GB, free: 234.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.0055/4.072, allocations: 1.283 MB / 2.217 GB, free: 234.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/4.072, allocations: 167.9 kB / 2.217 GB, free: 234.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/4.074, allocations: 0.9978 MB / 2.218 GB, free: 234.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/4.075, allocations: 33.09 kB / 2.218 GB, free: 234 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007727/4.075, allocations: 0.7411 MB / 2.219 GB, free: 233.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/4.076, allocations: 261.7 kB / 2.219 GB, free: 233.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/4.076, allocations: 0 / 2.219 GB, free: 233.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000101/4.076, allocations: 340.6 kB / 2.22 GB, free: 233.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/4.077, allocations: 378.7 kB / 2.22 GB, free: 233.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008104/4.077, allocations: 0.6623 MB / 2.221 GB, free: 233 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/4.08, allocations: 0.5436 MB / 2.221 GB, free: 233 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/4.08, allocations: 2.75 kB / 2.221 GB, free: 233 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003834/4.083, allocations: 1.364 MB / 2.222 GB, free: 232.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004537/4.084, allocations: 2.391 MB / 2.225 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/4.084, allocations: 6.344 kB / 2.225 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/4.085, allocations: 434.1 kB / 2.225 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/4.086, allocations: 251.4 kB / 2.225 GB, free: 230.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/4.088, allocations: 1.147 MB / 2.227 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/4.09, allocations: 212.6 kB / 2.227 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/4.091, allocations: 64.41 kB / 2.227 GB, free: 229.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/4.091, allocations: 4.344 kB / 2.227 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003075/4.094, allocations: 1.188 MB / 2.228 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/4.094, allocations: 11.44 kB / 2.228 GB, free: 229.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008158/4.094, allocations: 433.2 kB / 2.228 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/4.096, allocations: 240.1 kB / 2.229 GB, free: 229.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/4.097, allocations: 1.153 MB / 2.23 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/4.099, allocations: 187 kB / 2.23 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/4.099, allocations: 57.48 kB / 2.23 GB, free: 229.3 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.0003769/4.1, allocations: 131.5 kB / 2.23 GB, free: 229.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004681/4.104, allocations: 1.274 MB / 2.231 GB, free: 229.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/4.105, allocations: 148 kB / 2.231 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/4.107, allocations: 1.29 MB / 2.233 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/4.107, allocations: 7.875 kB / 2.233 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/4.107, allocations: 0 / 2.233 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00182/4.109, allocations: 1.095 MB / 2.234 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/4.114, allocations: 2.823 MB / 2.237 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/4.114, allocations: 3.812 kB / 2.237 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/4.115, allocations: 183.8 kB / 2.237 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008197/4.116, allocations: 424 kB / 2.237 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/4.116, allocations: 29.91 kB / 2.237 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/4.117, allocations: 1.147 MB / 2.238 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/4.117, allocations: 0 / 2.238 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/4.12, allocations: 1.339 MB / 2.24 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008162/4.121, allocations: 411.1 kB / 2.24 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/4.121, allocations: 10.22 kB / 2.24 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/4.123, allocations: 150.7 kB / 2.24 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/4.123, allocations: 56.64 kB / 2.24 GB, free: 227.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/4.123, allocations: 53.23 kB / 2.24 GB, free: 227.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001206/4.124, allocations: 0.7539 MB / 2.241 GB, free: 227.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.61e-07/4.124, allocations: 0.9062 kB / 2.241 GB, free: 227.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003602/4.128, allocations: 1.051 MB / 2.242 GB, free: 227.1 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.005611/4.133, allocations: 3.205 MB / 2.245 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003188/4.137, allocations: 1.558 MB / 2.247 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/4.137, allocations: 1.312 kB / 2.247 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008997/4.138, allocations: 495.5 kB / 2.247 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003748/4.141, allocations: 0.6612 MB / 2.248 GB, free: 225.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/4.148, allocations: 2.279 MB / 2.25 GB, free: 225.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/4.149, allocations: 1.299 MB / 2.251 GB, free: 224.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002621/4.151, allocations: 463.5 kB / 2.252 GB, free: 224.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000843/4.152, allocations: 0.6036 MB / 2.252 GB, free: 224.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/4.152, allocations: 0 / 2.252 GB, free: 224.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/4.255, allocations: 51.2 MB / 2.302 GB, free: 223.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/4.256, allocations: 175.4 kB / 2.302 GB, free: 223.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.142/8.397, allocations: 0 / 2.302 GB, free: 223.2 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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat does not exist to compare? outputFormat=mat