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.3/2.3, allocations: 390.5 MB / 398 MB, free: 10.93 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.000965/0.0009652, allocations: 188.8 kB / 491.2 MB, free: 1.535 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.501/1.501, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009164/0.0009166, allocations: 91.58 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.977e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2832, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.56, allocations: 439.8 MB / 1.642 GB, free: 6.965 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.561, allocations: 90.95 kB / 1.642 GB, free: 6.922 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.018/4.579, allocations: 0.5637 GB / 2.206 GB, free: 239.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.763e-06/4.579, allocations: 0 / 2.206 GB, free: 239.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002162/4.579, allocations: 55.88 kB / 2.206 GB, free: 239.5 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.006033/4.585, allocations: 1.956 MB / 2.208 GB, free: 239 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/4.585, allocations: 9.156 kB / 2.208 GB, free: 239 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/4.591, allocations: 0.6832 MB / 2.208 GB, free: 238.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/4.596, allocations: 1.875 MB / 2.21 GB, free: 238.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/4.596, allocations: 91.47 kB / 2.21 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/4.597, allocations: 73.14 kB / 2.21 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002506/4.599, allocations: 1.109 MB / 2.211 GB, free: 238.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/4.602, allocations: 1.387 MB / 2.213 GB, free: 238.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/4.602, allocations: 4.75 kB / 2.213 GB, free: 238.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/4.602, allocations: 6.844 kB / 2.213 GB, free: 238.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.019e-05/4.602, allocations: 52.88 kB / 2.213 GB, free: 238.2 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.0131/4.615, allocations: 7.287 MB / 2.22 GB, free: 235 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/4.617, allocations: 0.899 MB / 2.221 GB, free: 234.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008562/4.618, allocations: 456.8 kB / 2.221 GB, free: 234.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/4.62, allocations: 1.269 MB / 2.222 GB, free: 233.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/4.621, allocations: 0.5562 MB / 2.223 GB, free: 233.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=79): time 4.438e-06/4.621, allocations: 0 / 2.223 GB, free: 233.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=79): time 0.006223/4.627, allocations: 1.278 MB / 2.224 GB, free: 233.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/4.627, allocations: 168.4 kB / 2.224 GB, free: 233.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/4.629, allocations: 0.9949 MB / 2.225 GB, free: 233 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/4.63, allocations: 30.3 kB / 2.225 GB, free: 232.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/4.631, allocations: 0.7467 MB / 2.226 GB, free: 232.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/4.631, allocations: 259.4 kB / 2.226 GB, free: 232.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/4.631, allocations: 2.312 kB / 2.226 GB, free: 232.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.00013/4.631, allocations: 346.2 kB / 2.227 GB, free: 232.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006924/4.632, allocations: 373.7 kB / 2.227 GB, free: 232.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009529/4.633, allocations: 0.6623 MB / 2.228 GB, free: 231.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/4.635, allocations: 0.5466 MB / 2.228 GB, free: 231.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/4.635, allocations: 1.875 kB / 2.228 GB, free: 231.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004053/4.639, allocations: 1.366 MB / 2.23 GB, free: 231.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006057/4.64, allocations: 2.384 MB / 2.232 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/4.64, allocations: 13.47 kB / 2.232 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001173/4.641, allocations: 433.3 kB / 2.232 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/4.642, allocations: 247.1 kB / 2.233 GB, free: 229.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/4.644, allocations: 1.146 MB / 2.234 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/4.647, allocations: 216.2 kB / 2.234 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/4.647, allocations: 56.67 kB / 2.234 GB, free: 228.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/4.647, allocations: 6.406 kB / 2.234 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003355/4.65, allocations: 1.183 MB / 2.235 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/4.65, allocations: 5.719 kB / 2.235 GB, free: 228.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/4.651, allocations: 440.8 kB / 2.236 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/4.653, allocations: 242.2 kB / 2.236 GB, free: 228.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/4.654, allocations: 1.143 MB / 2.237 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/4.657, allocations: 193 kB / 2.237 GB, free: 228.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/4.657, allocations: 57.2 kB / 2.237 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.0004648/4.657, allocations: 131.5 kB / 2.237 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005232/4.663, allocations: 1.277 MB / 2.238 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/4.663, allocations: 141.5 kB / 2.239 GB, free: 227.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/4.666, allocations: 1.289 MB / 2.24 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/4.666, allocations: 8.719 kB / 2.24 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.902e-06/4.666, allocations: 0 / 2.24 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002183/4.668, allocations: 1.104 MB / 2.241 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005875/4.674, allocations: 2.811 MB / 2.244 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/4.674, allocations: 4.406 kB / 2.244 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/4.676, allocations: 180.7 kB / 2.244 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/4.677, allocations: 426.2 kB / 2.244 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/4.677, allocations: 26.69 kB / 2.244 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/4.678, allocations: 1.142 MB / 2.245 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/4.678, allocations: 1.75 kB / 2.245 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/4.681, allocations: 1.34 MB / 2.247 GB, free: 226.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009666/4.682, allocations: 415.9 kB / 2.247 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/4.682, allocations: 7.094 kB / 2.247 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/4.684, allocations: 148.6 kB / 2.247 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/4.684, allocations: 49.64 kB / 2.247 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/4.684, allocations: 66.45 kB / 2.247 GB, free: 226.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001228/4.686, allocations: 0.7507 MB / 2.248 GB, free: 226.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/4.686, allocations: 0 / 2.248 GB, free: 226.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003672/4.689, allocations: 1.051 MB / 2.249 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.005926/4.695, allocations: 3.207 MB / 2.252 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003621/4.699, allocations: 1.562 MB / 2.254 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/4.699, allocations: 3.156 kB / 2.254 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001/4.7, allocations: 0.4922 MB / 2.254 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.004893/4.705, allocations: 0.6628 MB / 2.255 GB, free: 224.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008402/4.713, allocations: 2.281 MB / 2.257 GB, free: 223.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/4.715, allocations: 1.295 MB / 2.258 GB, free: 223.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003202/4.718, allocations: 460 kB / 2.259 GB, free: 223.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/4.719, allocations: 0.6015 MB / 2.259 GB, free: 223.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/4.719, allocations: 0.9375 kB / 2.259 GB, free: 223.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/4.827, allocations: 51.21 MB / 2.309 GB, free: 221.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/4.827, allocations: 182 kB / 2.31 GB, free: 221.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.544/9.371, allocations: 0 / 2.31 GB, free: 221.6 MB / 1.151 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