Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_10_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.0009699/0.0009701, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.007787/0.007787, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.348/1.348, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 12 kB / 0.8729 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5614/0.5618, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.0627/0.6245, allocations: 68.25 MB / 1.09 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.6426, allocations: 14.39 MB / 1.104 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001868/0.6445, allocations: 63.56 kB / 1.104 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.6465, allocations: 0.7537 MB / 1.105 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005383/0.6519, allocations: 2.35 MB / 1.107 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.6556, allocations: 1.78 MB / 1.109 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005091/0.6607, allocations: 5.906 MB / 1.114 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/0.6621, allocations: 1.281 MB / 1.116 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.664, allocations: 1.427 MB / 1.117 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.6651, allocations: 1.194 MB / 1.118 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.6653, allocations: 64 kB / 1.118 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.6681, allocations: 1.743 MB / 1.12 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.6684, allocations: 330.4 kB / 1.12 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007376/0.6691, allocations: 0.8995 MB / 1.121 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.6721, allocations: 3.353 MB / 1.124 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.6721, allocations: 0 / 1.124 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6721, allocations: 0 / 1.124 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.6721, allocations: 4 kB / 1.124 GB, free: 7.809 MB / 0.8731 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.002998/0.6751, allocations: 1.924 MB / 1.126 GB, free: 5.816 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.6752, allocations: 8.031 kB / 1.126 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.6754, allocations: 177.6 kB / 1.127 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005413/0.6808, allocations: 0.7402 MB / 1.127 GB, free: 4.883 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.6829, allocations: 1.553 MB / 1.129 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.683, allocations: 128 kB / 1.129 GB, free: 3.141 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.6832, allocations: 131.9 kB / 1.129 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.6867, allocations: 1.656 MB / 1.131 GB, free: 1.266 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.6867, allocations: 3.938 kB / 1.131 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.6869, allocations: 52 kB / 1.131 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.6869, allocations: 32 kB / 1.131 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004491/0.6914, allocations: 1.496 MB / 1.132 GB, free: 15.68 MB / 0.8887 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.008562/0.7, allocations: 7.043 MB / 1.139 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.7021, allocations: 0.7516 MB / 1.14 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.7037, allocations: 0.5068 MB / 1.14 GB, free: 7.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.7049, allocations: 1.271 MB / 1.142 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.7049, allocations: 43.12 kB / 1.142 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=68): time 1.884e-06/0.7049, allocations: 0 / 1.142 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of matching and sorting (n=68): time 0.02012/0.7251, allocations: 3.121 MB / 1.145 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.7251, allocations: 111.4 kB / 1.145 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.7269, allocations: 1.367 MB / 1.146 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.727, allocations: 45.7 kB / 1.146 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/0.7275, allocations: 0.6879 MB / 1.147 GB, free: 12 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.7277, allocations: 248.5 kB / 1.147 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.7279, allocations: 77.67 kB / 1.147 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.728, allocations: 345.9 kB / 1.147 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.7299, allocations: 0.5211 MB / 1.148 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.732, allocations: 0.7979 MB / 1.149 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/0.7356, allocations: 1.168 MB / 1.15 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7356, allocations: 0 / 1.15 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004814/0.7405, allocations: 1.605 MB / 1.151 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/0.7406, allocations: 280.6 kB / 1.152 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.7406, allocations: 8.062 kB / 1.152 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/0.7423, allocations: 488.4 kB / 1.152 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.7437, allocations: 271.6 kB / 1.152 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.7453, allocations: 1.004 MB / 1.153 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/0.7474, allocations: 278.5 kB / 1.154 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-05/0.7475, allocations: 55.94 kB / 1.154 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.631e-06/0.7475, allocations: 5.719 kB / 1.154 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004559/0.7521, allocations: 1.441 MB / 1.155 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.7521, allocations: 8 kB / 1.155 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/0.7537, allocations: 485 kB / 1.156 GB, free: 6.641 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.755, allocations: 263.6 kB / 1.156 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.7565, allocations: 0.9958 MB / 1.157 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.7584, allocations: 247 kB / 1.157 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.7585, allocations: 63.88 kB / 1.157 GB, free: 5.059 MB / 0.9044 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.000527/0.759, allocations: 448.8 kB / 1.158 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.7592, allocations: 146.2 kB / 1.158 GB, free: 4.465 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.7634, allocations: 1.344 MB / 1.159 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.7634, allocations: 8 kB / 1.159 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7634, allocations: 0 / 1.159 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003638/0.7671, allocations: 1.151 MB / 1.16 GB, free: 1.914 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006679/0.7738, allocations: 3.069 MB / 1.163 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.7738, allocations: 15.97 kB / 1.163 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/0.7747, allocations: 155.8 kB / 1.163 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.7763, allocations: 472.5 kB / 1.164 GB, free: 14.09 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.815e-05/0.7763, allocations: 31.97 kB / 1.164 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/0.7779, allocations: 1.008 MB / 1.165 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7779, allocations: 4 kB / 1.165 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/0.7835, allocations: 1.971 MB / 1.167 GB, free: 10.96 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/0.7841, allocations: 394.9 kB / 1.167 GB, free: 10.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.7842, allocations: 23.92 kB / 1.167 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.786, allocations: 155.8 kB / 1.167 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.7861, allocations: 60.3 kB / 1.167 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/0.7862, allocations: 39.95 kB / 1.167 GB, free: 10.28 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001359/0.7875, allocations: 0.9893 MB / 1.168 GB, free: 9.293 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7875, allocations: 0 / 1.168 GB, free: 9.293 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001966/0.7895, allocations: 0.8851 MB / 1.169 GB, free: 8.406 MB / 0.92 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.006808/0.7963, allocations: 2.953 MB / 1.172 GB, free: 5.391 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.005885/0.8022, allocations: 1.873 MB / 1.174 GB, free: 3.516 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.8022, allocations: 4 kB / 1.174 GB, free: 3.512 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.804, allocations: 0.5293 MB / 1.174 GB, free: 2.98 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004128/0.8081, allocations: 0.8065 MB / 1.175 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02628/0.8344, allocations: 13.55 MB / 1.188 GB, free: 4 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.8351, allocations: 1.211 MB / 1.19 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00141/0.8365, allocations: 362.4 kB / 1.19 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/0.8372, allocations: 0.5812 MB / 1.19 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.8372, allocations: 7.938 kB / 1.19 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.573/3.41, allocations: 50.66 MB / 1.24 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003774/3.411, allocations: 303.6 kB / 1.24 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.322/6.733, allocations: 0 / 1.24 GB, free: 15.45 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)