Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.349/2.349, allocations: 390.5 MB / 398 MB, free: 10.97 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.001007/0.001007, allocations: 179 kB / 491.2 MB, free: 1.625 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.669/1.669, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.001072/0.001072, allocations: 98.62 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.274e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3367, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.411/1.748, allocations: 435.2 MB / 1.637 GB, free: 11.49 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.749, allocations: 92.09 kB / 1.637 GB, free: 11.45 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 1.939/3.687, allocations: 0.5577 GB / 2.195 GB, free: 2.586 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/3.687, allocations: 3.938 kB / 2.195 GB, free: 2.582 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001364/3.687, allocations: 43.98 kB / 2.195 GB, free: 2.539 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.003721/3.691, allocations: 1.852 MB / 2.197 GB, free: 0.625 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/3.691, allocations: 8.031 kB / 2.197 GB, free: 0.6172 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7781/4.469, allocations: 0.6572 MB / 2.198 GB, free: 237.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004783/4.474, allocations: 1.778 MB / 2.199 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/4.474, allocations: 88.92 kB / 2.199 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/4.475, allocations: 71.59 kB / 2.2 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002306/4.477, allocations: 1.031 MB / 2.201 GB, free: 237.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/4.479, allocations: 1.291 MB / 2.202 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/4.48, allocations: 5.281 kB / 2.202 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/4.48, allocations: 4.125 kB / 2.202 GB, free: 236.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.69e-05/4.48, allocations: 47.78 kB / 2.202 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.01375/4.494, allocations: 6.812 MB / 2.209 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/4.495, allocations: 0.5901 MB / 2.209 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000674/4.496, allocations: 326.2 kB / 2.209 GB, free: 233.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/4.497, allocations: 1.272 MB / 2.211 GB, free: 232.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/4.497, allocations: 47.66 kB / 2.211 GB, free: 232.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=66): time 3.607e-06/4.497, allocations: 0 / 2.211 GB, free: 232.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=66): time 0.003992/4.501, allocations: 0.9353 MB / 2.212 GB, free: 232.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/4.502, allocations: 112.8 kB / 2.212 GB, free: 232.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/4.504, allocations: 0.9691 MB / 2.213 GB, free: 232 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001748/4.504, allocations: 28.23 kB / 2.213 GB, free: 231.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007592/4.505, allocations: 0.7117 MB / 2.213 GB, free: 231.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/4.505, allocations: 221.8 kB / 2.214 GB, free: 231.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/4.505, allocations: 0 / 2.214 GB, free: 231.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/4.505, allocations: 336.1 kB / 2.214 GB, free: 231.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/4.506, allocations: 302.6 kB / 2.214 GB, free: 231.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/4.506, allocations: 0.5794 MB / 2.215 GB, free: 231 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/4.508, allocations: 487.1 kB / 2.215 GB, free: 231 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/4.509, allocations: 1.656 kB / 2.215 GB, free: 231 MB / 1.151 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003646/4.512, allocations: 1.205 MB / 2.216 GB, free: 230.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.00051/4.513, allocations: 2.465 MB / 2.219 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/4.513, allocations: 7.625 kB / 2.219 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/4.514, allocations: 445.3 kB / 2.219 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/4.515, allocations: 241.4 kB / 2.219 GB, free: 228.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/4.517, allocations: 1.136 MB / 2.221 GB, free: 227.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/4.52, allocations: 224.5 kB / 2.221 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/4.52, allocations: 52.44 kB / 2.221 GB, free: 227.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/4.52, allocations: 7.562 kB / 2.221 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00326/4.523, allocations: 1.037 MB / 2.222 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/4.523, allocations: 6.688 kB / 2.222 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/4.524, allocations: 451.5 kB / 2.222 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/4.526, allocations: 243.3 kB / 2.223 GB, free: 227.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/4.527, allocations: 1.134 MB / 2.224 GB, free: 227.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/4.53, allocations: 191.8 kB / 2.224 GB, free: 227.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/4.53, allocations: 55.88 kB / 2.224 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: 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.0004057/4.53, allocations: 128.2 kB / 2.224 GB, free: 227 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003183/4.533, allocations: 0.9413 MB / 2.225 GB, free: 226.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/4.534, allocations: 127.4 kB / 2.225 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/4.539, allocations: 1.116 MB / 2.226 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/4.539, allocations: 10.95 kB / 2.226 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/4.539, allocations: 1.062 kB / 2.226 GB, free: 226.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004217/4.543, allocations: 1.018 MB / 2.227 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/4.551, allocations: 3.012 MB / 2.23 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/4.551, allocations: 3.031 kB / 2.23 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009608/4.552, allocations: 147.3 kB / 2.23 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/4.553, allocations: 434.2 kB / 2.231 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.849e-05/4.553, allocations: 25.78 kB / 2.231 GB, free: 225.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/4.555, allocations: 1.123 MB / 2.232 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/4.555, allocations: 4.406 kB / 2.232 GB, free: 225.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/4.558, allocations: 1.344 MB / 2.233 GB, free: 224.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008744/4.559, allocations: 374.4 kB / 2.233 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/4.559, allocations: 6.359 kB / 2.233 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/4.561, allocations: 130.2 kB / 2.234 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/4.561, allocations: 48.05 kB / 2.234 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/4.561, allocations: 49.91 kB / 2.234 GB, free: 224.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001346/4.563, allocations: 0.7377 MB / 2.234 GB, free: 224.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.473e-06/4.563, allocations: 3.094 kB / 2.234 GB, free: 224.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003801/4.567, allocations: 0.9863 MB / 2.235 GB, free: 224.2 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.005575/4.572, allocations: 3.618 MB / 2.239 GB, free: 222.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003376/4.575, allocations: 1.298 MB / 2.24 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/4.576, allocations: 1.219 kB / 2.24 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009563/4.577, allocations: 374.5 kB / 2.241 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/4.581, allocations: 0.5713 MB / 2.241 GB, free: 222.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007972/4.589, allocations: 2.181 MB / 2.243 GB, free: 221.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/4.59, allocations: 1.241 MB / 2.244 GB, free: 220.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002676/4.593, allocations: 372.9 kB / 2.245 GB, free: 220.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008205/4.593, allocations: 0.5171 MB / 2.245 GB, free: 220.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.603e-06/4.593, allocations: 0 / 2.245 GB, free: 220.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08899/4.682, allocations: 46.42 MB / 2.291 GB, free: 219.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/4.683, allocations: 193.6 kB / 2.291 GB, free: 219.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.575/8.258, allocations: 4 kB / 2.291 GB, free: 219.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat