Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.384/2.384, allocations: 387.1 MB / 399.7 MB, free: 9.52 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.001328/0.001328, allocations: 172.4 kB / 492.3 MB, free: 0.6484 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.639/1.639, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.001128/0.001128, allocations: 87.91 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.34e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3206, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.363/1.684, allocations: 435.1 MB / 1.637 GB, free: 11.57 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.684, allocations: 88.14 kB / 1.637 GB, free: 11.53 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 2.713/4.398, allocations: 0.5604 GB / 2.198 GB, free: 238.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.783e-06/4.398, allocations: 0 / 2.198 GB, free: 238.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003166/4.398, allocations: 41.05 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006001/4.404, allocations: 1.847 MB / 2.2 GB, free: 237.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/4.404, allocations: 10.72 kB / 2.2 GB, free: 237.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/4.405, allocations: 177.3 kB / 2.2 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005261/4.41, allocations: 0.6696 MB / 2.2 GB, free: 237.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/4.414, allocations: 1.785 MB / 2.202 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/4.415, allocations: 128.9 kB / 2.202 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/4.415, allocations: 116.3 kB / 2.202 GB, free: 237.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002971/4.418, allocations: 1.462 MB / 2.204 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/4.418, allocations: 7.5 kB / 2.204 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/4.418, allocations: 52.09 kB / 2.204 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.503e-05/4.418, allocations: 50.17 kB / 2.204 GB, free: 236.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/4.42, allocations: 1.107 MB / 2.205 GB, free: 236.8 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.01116/4.431, allocations: 7.095 MB / 2.212 GB, free: 233.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/4.433, allocations: 0.6127 MB / 2.213 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/4.433, allocations: 346.5 kB / 2.213 GB, free: 233.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/4.434, allocations: 1.266 MB / 2.214 GB, free: 232.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/4.434, allocations: 43.3 kB / 2.214 GB, free: 232.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=66): time 3.406e-06/4.434, allocations: 0 / 2.214 GB, free: 232.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=66): time 0.002/4.436, allocations: 0.8791 MB / 2.215 GB, free: 232.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/4.436, allocations: 114.4 kB / 2.215 GB, free: 231.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/4.438, allocations: 1.219 MB / 2.216 GB, free: 231.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/4.438, allocations: 44.45 kB / 2.216 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/4.439, allocations: 0.6986 MB / 2.217 GB, free: 231.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/4.439, allocations: 230.2 kB / 2.217 GB, free: 231.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/4.439, allocations: 16.59 kB / 2.217 GB, free: 231.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.275e-05/4.439, allocations: 340.1 kB / 2.218 GB, free: 231.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/4.44, allocations: 315.5 kB / 2.218 GB, free: 231.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/4.441, allocations: 0.5973 MB / 2.219 GB, free: 230.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/4.441, allocations: 375.8 kB / 2.219 GB, free: 230.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/4.441, allocations: 10.11 kB / 2.219 GB, free: 230.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002195/4.444, allocations: 1.164 MB / 2.22 GB, free: 230.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004371/4.444, allocations: 2.499 MB / 2.222 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/4.444, allocations: 9.266 kB / 2.222 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/4.446, allocations: 0.5222 MB / 2.223 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/4.447, allocations: 236.7 kB / 2.223 GB, free: 228.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/4.448, allocations: 1.08 MB / 2.224 GB, free: 227.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002585/4.451, allocations: 277.5 kB / 2.225 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/4.451, allocations: 52.16 kB / 2.225 GB, free: 227.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/4.451, allocations: 4.219 kB / 2.225 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001942/4.453, allocations: 1.021 MB / 2.226 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/4.453, allocations: 7.219 kB / 2.226 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/4.455, allocations: 0.5193 MB / 2.226 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/4.456, allocations: 238.7 kB / 2.226 GB, free: 227.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/4.457, allocations: 1.083 MB / 2.227 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/4.46, allocations: 241.7 kB / 2.228 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/4.46, allocations: 53.12 kB / 2.228 GB, free: 226.9 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: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003519/4.46, allocations: 160.3 kB / 2.228 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/4.461, allocations: 147.9 kB / 2.228 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/4.464, allocations: 1.075 MB / 2.229 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/4.464, allocations: 7.094 kB / 2.229 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/4.464, allocations: 3.031 kB / 2.229 GB, free: 226.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003187/4.468, allocations: 0.9444 MB / 2.23 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/4.474, allocations: 3.118 MB / 2.233 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/4.474, allocations: 4.328 kB / 2.233 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/4.475, allocations: 148 kB / 2.233 GB, free: 225.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/4.477, allocations: 497.7 kB / 2.234 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/4.477, allocations: 31.5 kB / 2.234 GB, free: 225.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/4.478, allocations: 1.069 MB / 2.235 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/4.478, allocations: 7.75 kB / 2.235 GB, free: 225 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/4.48, allocations: 1.318 MB / 2.236 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/4.481, allocations: 394 kB / 2.236 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/4.482, allocations: 18.38 kB / 2.236 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/4.484, allocations: 146 kB / 2.237 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/4.484, allocations: 54.38 kB / 2.237 GB, free: 224.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/4.484, allocations: 49.72 kB / 2.237 GB, free: 224.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00208/4.486, allocations: 0.9532 MB / 2.238 GB, free: 224.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.5e-07/4.486, allocations: 0.9688 kB / 2.238 GB, free: 224.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004182/4.49, allocations: 0.9804 MB / 2.239 GB, free: 224 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004805/4.495, allocations: 3.58 MB / 2.242 GB, free: 222 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003124/4.498, allocations: 1.379 MB / 2.243 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/4.498, allocations: 2.531 kB / 2.243 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000799/4.499, allocations: 409.4 kB / 2.244 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/4.503, allocations: 0.776 MB / 2.245 GB, free: 221.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007829/4.511, allocations: 2.283 MB / 2.247 GB, free: 221.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/4.512, allocations: 1.242 MB / 2.248 GB, free: 220.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002314/4.514, allocations: 435.2 kB / 2.248 GB, free: 220.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005926/4.515, allocations: 0.5393 MB / 2.249 GB, free: 220.5 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/4.515, allocations: 0 / 2.249 GB, free: 220.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08637/4.601, allocations: 57.69 MB / 2.305 GB, free: 219.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/4.601, allocations: 242 kB / 2.305 GB, free: 218.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/8.44, allocations: 0 / 2.305 GB, free: 218.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat