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.458/2.458, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001547/0.001547, allocations: 187.4 kB / 0.4901 GB, free: 2.242 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.833/1.833, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.00117/0.00117, allocations: 106.9 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004052, allocations: 6.969 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3529, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.381/1.734, allocations: 440.5 MB / 1.659 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/1.735, allocations: 99.39 kB / 1.66 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.902/3.637, allocations: 0.5685 GB / 2.228 GB, free: 94.38 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.705e-06/3.637, allocations: 0 / 2.228 GB, free: 94.38 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001842/3.637, allocations: 51.92 kB / 2.228 GB, free: 94.32 MB / 1.167 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.005906/3.643, allocations: 2.248 MB / 2.23 GB, free: 92.01 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/3.643, allocations: 12.83 kB / 2.23 GB, free: 92 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000326/3.644, allocations: 193.7 kB / 2.23 GB, free: 91.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/3.649, allocations: 0.6807 MB / 2.231 GB, free: 91.11 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/3.653, allocations: 1.893 MB / 2.233 GB, free: 89.16 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/3.653, allocations: 132.1 kB / 2.233 GB, free: 89.03 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/3.653, allocations: 128 kB / 2.233 GB, free: 88.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003892/3.657, allocations: 1.731 MB / 2.235 GB, free: 87.07 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/3.657, allocations: 15.83 kB / 2.235 GB, free: 87.05 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/3.657, allocations: 55.98 kB / 2.235 GB, free: 87 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.806e-05/3.657, allocations: 54.28 kB / 2.235 GB, free: 86.94 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004485/3.662, allocations: 1.543 MB / 2.237 GB, free: 85.39 MB / 1.167 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.01065/3.672, allocations: 7.509 MB / 2.244 GB, free: 77.51 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/3.676, allocations: 1.223 MB / 2.245 GB, free: 76.27 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/3.677, allocations: 1.279 MB / 2.246 GB, free: 74.71 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002087/3.68, allocations: 0.7186 MB / 2.247 GB, free: 73.98 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 4.117e-06/3.68, allocations: 8 kB / 2.247 GB, free: 73.98 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02141/3.701, allocations: 3.577 MB / 2.251 GB, free: 70.37 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/3.701, allocations: 162.9 kB / 2.251 GB, free: 70.17 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/3.703, allocations: 1.199 MB / 2.252 GB, free: 68.96 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002331/3.703, allocations: 45.7 kB / 2.252 GB, free: 68.91 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/3.704, allocations: 0.7233 MB / 2.253 GB, free: 68.18 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/3.704, allocations: 276.1 kB / 2.253 GB, free: 67.91 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.169e-05/3.704, allocations: 20 kB / 2.253 GB, free: 67.89 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/3.704, allocations: 345.9 kB / 2.253 GB, free: 67.54 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/3.706, allocations: 0.5406 MB / 2.254 GB, free: 67 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/3.708, allocations: 0.853 MB / 2.255 GB, free: 66.02 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/3.71, allocations: 0.5947 MB / 2.255 GB, free: 65.43 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/3.71, allocations: 4 kB / 2.255 GB, free: 65.43 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005116/3.715, allocations: 1.687 MB / 2.257 GB, free: 63.73 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005007/3.716, allocations: 2.41 MB / 2.259 GB, free: 61.18 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/3.716, allocations: 11.98 kB / 2.259 GB, free: 61.17 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/3.718, allocations: 0.5722 MB / 2.26 GB, free: 60.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/3.719, allocations: 251.6 kB / 2.26 GB, free: 60.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/3.721, allocations: 1.177 MB / 2.261 GB, free: 59.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/3.723, allocations: 250.7 kB / 2.261 GB, free: 58.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/3.723, allocations: 55.95 kB / 2.261 GB, free: 58.84 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/3.723, allocations: 4 kB / 2.261 GB, free: 58.84 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004442/3.728, allocations: 1.507 MB / 2.263 GB, free: 57.32 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/3.728, allocations: 8 kB / 2.263 GB, free: 57.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/3.73, allocations: 0.5713 MB / 2.263 GB, free: 56.74 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/3.731, allocations: 243.6 kB / 2.264 GB, free: 56.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/3.733, allocations: 1.182 MB / 2.265 GB, free: 55.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/3.735, allocations: 215.1 kB / 2.265 GB, free: 55.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/3.735, allocations: 63.94 kB / 2.265 GB, free: 55.02 MB / 1.167 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 () * Number of clocked 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.001269/3.737, allocations: 481.9 kB / 2.266 GB, free: 54.54 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/3.737, allocations: 146.2 kB / 2.266 GB, free: 54.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004869/3.742, allocations: 1.665 MB / 2.267 GB, free: 52.71 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/3.742, allocations: 19.94 kB / 2.267 GB, free: 52.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/3.742, allocations: 0 / 2.267 GB, free: 52.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004052/3.746, allocations: 1.45 MB / 2.269 GB, free: 51.21 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007562/3.754, allocations: 3.333 MB / 2.272 GB, free: 47.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/3.754, allocations: 0 / 2.272 GB, free: 47.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/3.755, allocations: 187.8 kB / 2.272 GB, free: 47.61 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/3.756, allocations: 0.5473 MB / 2.273 GB, free: 47.06 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/3.756, allocations: 35.95 kB / 2.273 GB, free: 47.03 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001591/3.758, allocations: 1.162 MB / 2.274 GB, free: 45.84 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/3.758, allocations: 7.938 kB / 2.274 GB, free: 45.83 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/3.763, allocations: 1.707 MB / 2.276 GB, free: 44.06 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/3.764, allocations: 426.9 kB / 2.276 GB, free: 43.62 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/3.764, allocations: 20 kB / 2.276 GB, free: 43.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001772/3.766, allocations: 167.7 kB / 2.276 GB, free: 43.44 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/3.766, allocations: 52.52 kB / 2.276 GB, free: 43.39 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/3.766, allocations: 59.89 kB / 2.276 GB, free: 43.33 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00137/3.768, allocations: 0.9299 MB / 2.277 GB, free: 42.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/3.768, allocations: 0 / 2.277 GB, free: 42.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003243/3.771, allocations: 1.076 MB / 2.278 GB, free: 41.32 MB / 1.167 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) * Number of clocked states: 0 () * 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.007902/3.779, allocations: 3.659 MB / 2.282 GB, free: 37.81 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006605/3.785, allocations: 2.074 MB / 2.284 GB, free: 35.74 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/3.785, allocations: 4 kB / 2.284 GB, free: 35.73 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/3.787, allocations: 0.663 MB / 2.284 GB, free: 35.07 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/3.791, allocations: 0.756 MB / 2.285 GB, free: 34.32 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02218/3.814, allocations: 13.73 MB / 2.299 GB, free: 20.13 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006997/3.814, allocations: 1.294 MB / 2.3 GB, free: 18.81 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002145/3.816, allocations: 394.5 kB / 2.3 GB, free: 18.42 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008489/3.817, allocations: 0.632 MB / 2.301 GB, free: 17.79 MB / 1.167 GB Notification: Performance of SimCode: time 2.314e-06/3.817, allocations: 0 / 2.301 GB, free: 17.79 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8301/4.647, allocations: 57.04 MB / 2.357 GB, free: 244.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/4.648, allocations: 265.1 kB / 2.357 GB, free: 243.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.308/8.956, allocations: 2.031 kB / 2.357 GB, free: 243.9 MB / 1.167 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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat does not exist to compare? outputFormat=mat