Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007521/0.0007522, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0046/0.0046, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.562/2.562, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003078, allocations: 12 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2475, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06585/0.3134, allocations: 68.24 MB / 1.125 GB, free: 456 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.3342, allocations: 14.4 MB / 1.139 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.3363, allocations: 63.62 kB / 1.14 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.3386, allocations: 0.7498 MB / 1.14 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006346/0.3449, allocations: 2.354 MB / 1.143 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.3493, allocations: 1.767 MB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006514/0.3558, allocations: 5.915 MB / 1.15 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.3579, allocations: 1.305 MB / 1.151 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.3607, allocations: 1.427 MB / 1.153 GB, free: 4.383 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.3626, allocations: 1.19 MB / 1.154 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003001/0.3629, allocations: 68 kB / 1.154 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.3666, allocations: 1.739 MB / 1.156 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.3671, allocations: 326.5 kB / 1.156 GB, free: 1.059 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.3683, allocations: 0.8956 MB / 1.157 GB, free: 156 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.3726, allocations: 3.349 MB / 1.16 GB, free: 12.79 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3726, allocations: 0 / 1.16 GB, free: 12.79 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3726, allocations: 0 / 1.16 GB, free: 12.79 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.3726, allocations: 4 kB / 1.16 GB, free: 12.79 MB / 0.92 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.003448/0.3761, allocations: 1.932 MB / 1.162 GB, free: 10.79 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3761, allocations: 12.03 kB / 1.162 GB, free: 10.78 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.3764, allocations: 177.6 kB / 1.162 GB, free: 10.59 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005626/0.382, allocations: 0.7325 MB / 1.163 GB, free: 9.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/0.3842, allocations: 1.562 MB / 1.164 GB, free: 8.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.3843, allocations: 128 kB / 1.165 GB, free: 8.109 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.3846, allocations: 124 kB / 1.165 GB, free: 7.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/0.3883, allocations: 1.653 MB / 1.166 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.3883, allocations: 0 / 1.166 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/0.3885, allocations: 51.98 kB / 1.166 GB, free: 6.195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.3885, allocations: 43.98 kB / 1.166 GB, free: 6.152 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004773/0.3933, allocations: 1.492 MB / 1.168 GB, free: 4.652 MB / 0.92 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.009198/0.4025, allocations: 7.026 MB / 1.175 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.4045, allocations: 0.7516 MB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001589/0.4062, allocations: 0.5027 MB / 1.176 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.4073, allocations: 1.271 MB / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4074, allocations: 39.12 kB / 1.177 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=68): time 1.633e-06/0.4074, allocations: 0 / 1.177 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of matching and sorting (n=68): time 0.02121/0.4286, allocations: 3.129 MB / 1.18 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.4287, allocations: 111.4 kB / 1.18 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/0.4307, allocations: 1.366 MB / 1.182 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.4309, allocations: 45.7 kB / 1.182 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.4314, allocations: 0.6994 MB / 1.182 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.4317, allocations: 236.6 kB / 1.183 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4318, allocations: 81.67 kB / 1.183 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4319, allocations: 345.9 kB / 1.183 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.4339, allocations: 0.5172 MB / 1.184 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.4361, allocations: 0.794 MB / 1.184 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/0.4398, allocations: 1.176 MB / 1.185 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.4399, allocations: 0 / 1.185 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005108/0.445, allocations: 1.601 MB / 1.187 GB, free: 32 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.4452, allocations: 278.5 kB / 1.187 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4453, allocations: 11.94 kB / 1.187 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.447, allocations: 491.4 kB / 1.188 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.4484, allocations: 267.6 kB / 1.188 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.4501, allocations: 0.9957 MB / 1.189 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/0.4524, allocations: 283.3 kB / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4525, allocations: 51.95 kB / 1.189 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.4525, allocations: 4 kB / 1.189 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004655/0.4572, allocations: 1.441 MB / 1.191 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.4572, allocations: 8 kB / 1.191 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/0.4588, allocations: 491.4 kB / 1.191 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.4602, allocations: 267.5 kB / 1.191 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.4617, allocations: 0.9953 MB / 1.192 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.4637, allocations: 250.8 kB / 1.193 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/0.4638, allocations: 55.89 kB / 1.193 GB, free: 10.05 MB / 0.9512 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 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006546/0.4644, allocations: 452.8 kB / 1.193 GB, free: 9.602 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.4647, allocations: 154.2 kB / 1.193 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004247/0.4689, allocations: 1.33 MB / 1.195 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4689, allocations: 4 kB / 1.195 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4689, allocations: 256 / 1.195 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003967/0.4729, allocations: 1.151 MB / 1.196 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.4798, allocations: 3.096 MB / 1.199 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4798, allocations: 4 kB / 1.199 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000909/0.4807, allocations: 155.7 kB / 1.199 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.4823, allocations: 486.8 kB / 1.199 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.4824, allocations: 27.97 kB / 1.199 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.4839, allocations: 0.99 MB / 1.2 GB, free: 2.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.484, allocations: 8 kB / 1.2 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/0.4897, allocations: 1.982 MB / 1.202 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/0.4902, allocations: 394.9 kB / 1.203 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.4904, allocations: 20 kB / 1.203 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.4921, allocations: 157.9 kB / 1.203 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/0.4922, allocations: 56.25 kB / 1.203 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.26e-05/0.4923, allocations: 47.94 kB / 1.203 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001427/0.4937, allocations: 0.9777 MB / 1.204 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4937, allocations: 4 kB / 1.204 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002013/0.4957, allocations: 0.8812 MB / 1.205 GB, free: 13.41 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006889/0.5026, allocations: 2.964 MB / 1.208 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.006231/0.5089, allocations: 1.873 MB / 1.21 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.5089, allocations: 0 / 1.21 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.5108, allocations: 0.5376 MB / 1.21 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004355/0.5152, allocations: 0.7983 MB / 1.211 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02857/0.5437, allocations: 13.56 MB / 1.224 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007637/0.5445, allocations: 1.211 MB / 1.225 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001559/0.5461, allocations: 367.7 kB / 1.226 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008085/0.5469, allocations: 0.5734 MB / 1.226 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of SimCode: time 4.8e-07/0.5469, allocations: 0 / 1.226 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.253/2.8, allocations: 50.65 MB / 1.276 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/2.8, allocations: 311.4 kB / 1.276 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/6.209, allocations: 1.156 kB / 1.276 GB, free: 173.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)