Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.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.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection",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.572/2.572, 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.00123/0.00123, allocations: 182.9 kB / 491.2 MB, free: 1.586 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.609/1.609, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001058/0.001058, allocations: 99.56 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.623e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3369, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.481/1.818, allocations: 435.6 MB / 1.638 GB, free: 11.39 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.819, allocations: 87.52 kB / 1.638 GB, free: 11.35 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.682/4.5, allocations: 0.5603 GB / 2.198 GB, free: 238.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.773e-06/4.5, allocations: 0.6875 kB / 2.198 GB, free: 238.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003666/4.501, allocations: 43.47 kB / 2.198 GB, free: 238.1 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.006687/4.507, allocations: 1.985 MB / 2.2 GB, free: 237.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/4.507, allocations: 8.969 kB / 2.2 GB, free: 237.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005477/4.513, allocations: 0.6878 MB / 2.201 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/4.518, allocations: 1.868 MB / 2.203 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/4.518, allocations: 92.2 kB / 2.203 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/4.518, allocations: 79.33 kB / 2.203 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002762/4.521, allocations: 1.148 MB / 2.204 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/4.524, allocations: 1.441 MB / 2.205 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/4.524, allocations: 5.5 kB / 2.205 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/4.524, allocations: 3.375 kB / 2.205 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/4.524, allocations: 58.22 kB / 2.205 GB, free: 236.9 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.01201/4.536, allocations: 7.074 MB / 2.212 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/4.537, allocations: 0.6644 MB / 2.213 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/4.538, allocations: 374.9 kB / 2.213 GB, free: 234 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/4.539, allocations: 1.27 MB / 2.215 GB, free: 232.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/4.539, allocations: 50.14 kB / 2.215 GB, free: 232.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=77): time 3.306e-06/4.539, allocations: 1.094 kB / 2.215 GB, free: 232.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=77): time 0.004973/4.544, allocations: 1.076 MB / 2.216 GB, free: 232.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/4.544, allocations: 190.7 kB / 2.216 GB, free: 232.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/4.546, allocations: 1.026 MB / 2.217 GB, free: 232 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001812/4.546, allocations: 37.88 kB / 2.217 GB, free: 232 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007011/4.547, allocations: 0.7704 MB / 2.218 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/4.547, allocations: 261 kB / 2.218 GB, free: 231.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/4.547, allocations: 0.9375 kB / 2.218 GB, free: 231.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/4.547, allocations: 342.1 kB / 2.218 GB, free: 231.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/4.548, allocations: 351.3 kB / 2.219 GB, free: 231.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/4.549, allocations: 0.6469 MB / 2.219 GB, free: 231 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/4.551, allocations: 0.525 MB / 2.22 GB, free: 230.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/4.551, allocations: 2.25 kB / 2.22 GB, free: 230.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005322/4.557, allocations: 1.351 MB / 2.221 GB, free: 230.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005372/4.557, allocations: 2.482 MB / 2.223 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/4.557, allocations: 5.688 kB / 2.223 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009354/4.558, allocations: 370.7 kB / 2.224 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/4.56, allocations: 268.2 kB / 2.224 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/4.561, allocations: 0.954 MB / 2.225 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/4.564, allocations: 257.5 kB / 2.225 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/4.564, allocations: 56.36 kB / 2.225 GB, free: 227.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/4.564, allocations: 3.344 kB / 2.225 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004924/4.569, allocations: 1.183 MB / 2.226 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/4.569, allocations: 8.656 kB / 2.226 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008118/4.57, allocations: 357.1 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/4.571, allocations: 272.7 kB / 2.227 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/4.573, allocations: 0.9577 MB / 2.228 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/4.575, allocations: 214.1 kB / 2.228 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/4.575, allocations: 60.5 kB / 2.228 GB, free: 227.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004278/4.576, allocations: 136.5 kB / 2.228 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004834/4.581, allocations: 1.074 MB / 2.229 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/4.581, allocations: 140.8 kB / 2.23 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004782/4.586, allocations: 1.159 MB / 2.231 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/4.586, allocations: 11.56 kB / 2.231 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/4.586, allocations: 1 kB / 2.231 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004048/4.59, allocations: 1.036 MB / 2.232 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008999/4.599, allocations: 2.871 MB / 2.235 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.016e-06/4.599, allocations: 7.25 kB / 2.235 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/4.6, allocations: 176.9 kB / 2.235 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008247/4.601, allocations: 357.4 kB / 2.235 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.85e-05/4.601, allocations: 17 kB / 2.235 GB, free: 226.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/4.602, allocations: 0.946 MB / 2.236 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/4.602, allocations: 4.672 kB / 2.236 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/4.614, allocations: 2.438 MB / 2.238 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/4.616, allocations: 398 kB / 2.239 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003391/4.616, allocations: 12.3 kB / 2.239 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/4.618, allocations: 153.6 kB / 2.239 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/4.618, allocations: 82.66 kB / 2.239 GB, free: 224.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/4.618, allocations: 53.97 kB / 2.239 GB, free: 224.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001356/4.62, allocations: 0.7738 MB / 2.24 GB, free: 224.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/4.62, allocations: 0 / 2.24 GB, free: 224.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004453/4.624, allocations: 1.027 MB / 2.241 GB, free: 224.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01636/4.641, allocations: 4.72 MB / 2.245 GB, free: 222.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004368/4.645, allocations: 1.426 MB / 2.247 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/4.645, allocations: 1.094 kB / 2.247 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/4.646, allocations: 476.1 kB / 2.247 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/4.65, allocations: 0.5969 MB / 2.248 GB, free: 222.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/4.656, allocations: 2.425 MB / 2.25 GB, free: 221.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/4.657, allocations: 1.303 MB / 2.251 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002165/4.659, allocations: 427 kB / 2.252 GB, free: 221.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007446/4.66, allocations: 0.605 MB / 2.252 GB, free: 221.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.22e-07/4.66, allocations: 0 / 2.252 GB, free: 221.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08338/4.743, allocations: 48.72 MB / 2.3 GB, free: 219.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/4.744, allocations: 205.1 kB / 2.3 GB, free: 219.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.791/8.535, allocations: 4 kB / 2.3 GB, free: 219.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_TemperatureProtection.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection_res.mat does not exist to compare? outputFormat=mat