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.0009713/0.0009714, allocations: 91.84 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.007441/0.007441, allocations: 169.9 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 443.4 MB / 0.7176 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 11.84 kB / 0.8797 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2418, allocations: 155.2 MB / 1.031 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05759/0.2994, allocations: 68.24 MB / 1.098 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.317, allocations: 14.41 MB / 1.112 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.3189, allocations: 63.56 kB / 1.112 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.3207, allocations: 0.7537 MB / 1.113 GB, free: 500 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005462/0.3262, allocations: 2.337 MB / 1.115 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.3301, allocations: 1.788 MB / 1.117 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005501/0.3356, allocations: 5.897 MB / 1.123 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3372, allocations: 1.297 MB / 1.124 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002094/0.3393, allocations: 1.423 MB / 1.125 GB, free: 3.699 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.3404, allocations: 1.19 MB / 1.126 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.3406, allocations: 68 kB / 1.126 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/0.3437, allocations: 1.735 MB / 1.128 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.344, allocations: 334.4 kB / 1.128 GB, free: 380 kB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007664/0.3447, allocations: 0.8996 MB / 1.129 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003223/0.348, allocations: 3.349 MB / 1.133 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.348, allocations: 0 / 1.133 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.633e-06/0.348, allocations: 0 / 1.133 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.348, allocations: 0 / 1.133 GB, free: 12.1 MB / 0.8887 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.003009/0.351, allocations: 1.934 MB / 1.134 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3511, allocations: 16.03 kB / 1.134 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001967/0.3513, allocations: 177.6 kB / 1.135 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005165/0.3564, allocations: 0.7325 MB / 1.135 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.3585, allocations: 1.562 MB / 1.137 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.3587, allocations: 132 kB / 1.137 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.3589, allocations: 116 kB / 1.137 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.3624, allocations: 1.656 MB / 1.139 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.3624, allocations: 0 / 1.139 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/0.3625, allocations: 52 kB / 1.139 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.99e-05/0.3626, allocations: 39.92 kB / 1.139 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004395/0.367, allocations: 1.496 MB / 1.14 GB, free: 3.961 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.008442/0.3754, allocations: 7.03 MB / 1.147 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.3775, allocations: 0.7562 MB / 1.148 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.379, allocations: 0.5027 MB / 1.148 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.3801, allocations: 1.267 MB / 1.15 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3802, allocations: 43.12 kB / 1.15 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=68): time 1.974e-06/0.3802, allocations: 3.938 kB / 1.15 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of matching and sorting (n=68): time 0.01926/0.3995, allocations: 3.129 MB / 1.153 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.3995, allocations: 111.3 kB / 1.153 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.4012, allocations: 1.366 MB / 1.154 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.4013, allocations: 49.7 kB / 1.154 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/0.4018, allocations: 0.6917 MB / 1.155 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.402, allocations: 236.6 kB / 1.155 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.4022, allocations: 81.67 kB / 1.155 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4023, allocations: 341.9 kB / 1.156 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.4041, allocations: 0.5211 MB / 1.156 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002001/0.4061, allocations: 0.794 MB / 1.157 GB, free: 2.203 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003459/0.4096, allocations: 1.176 MB / 1.158 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4096, allocations: 3.938 kB / 1.158 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004609/0.4142, allocations: 1.597 MB / 1.16 GB, free: 15.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.4144, allocations: 274.3 kB / 1.16 GB, free: 14.97 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4144, allocations: 11.94 kB / 1.16 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/0.416, allocations: 497.4 kB / 1.16 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.4173, allocations: 267.7 kB / 1.161 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.4188, allocations: 0.9895 MB / 1.161 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/0.4209, allocations: 286.5 kB / 1.162 GB, free: 12.91 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.344e-05/0.421, allocations: 51.95 kB / 1.162 GB, free: 12.86 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.4211, allocations: 8 kB / 1.162 GB, free: 12.86 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004469/0.4255, allocations: 1.445 MB / 1.163 GB, free: 11.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4256, allocations: 8 kB / 1.163 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.427, allocations: 487 kB / 1.164 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4283, allocations: 263.6 kB / 1.164 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.4297, allocations: 0.9962 MB / 1.165 GB, free: 9.645 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.4315, allocations: 246.2 kB / 1.165 GB, free: 9.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/0.4316, allocations: 55.89 kB / 1.165 GB, free: 9.352 MB / 0.92 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.0005533/0.4322, allocations: 462.4 kB / 1.166 GB, free: 8.891 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.4324, allocations: 146.2 kB / 1.166 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/0.4367, allocations: 1.335 MB / 1.167 GB, free: 7.391 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.4367, allocations: 7.984 kB / 1.167 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4367, allocations: 0 / 1.167 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003522/0.4402, allocations: 1.151 MB / 1.168 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/0.4467, allocations: 3.081 MB / 1.171 GB, free: 3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.4467, allocations: 4 kB / 1.171 GB, free: 2.996 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/0.4476, allocations: 155.8 kB / 1.171 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.4491, allocations: 491.8 kB / 1.172 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.4491, allocations: 23.97 kB / 1.172 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.4506, allocations: 0.9902 MB / 1.173 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4506, allocations: 12.06 kB / 1.173 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/0.4561, allocations: 1.986 MB / 1.175 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.4566, allocations: 402.9 kB / 1.175 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.4568, allocations: 20 kB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.4584, allocations: 151.7 kB / 1.175 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.665e-05/0.4585, allocations: 52.25 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.007e-05/0.4586, allocations: 51.94 kB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00134/0.46, allocations: 0.9777 MB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.46, allocations: 0 / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00195/0.4619, allocations: 0.889 MB / 1.177 GB, free: 12.7 MB / 0.9356 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.006727/0.4687, allocations: 2.945 MB / 1.18 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005875/0.4745, allocations: 1.865 MB / 1.182 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4746, allocations: 0 / 1.182 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001682/0.4763, allocations: 0.5298 MB / 1.182 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/0.4803, allocations: 0.8101 MB / 1.183 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/0.5069, allocations: 13.56 MB / 1.197 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.5076, allocations: 1.207 MB / 1.198 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001519/0.5091, allocations: 371.6 kB / 1.198 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000754/0.5099, allocations: 0.5812 MB / 1.199 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/0.5099, allocations: 0 / 1.199 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.608/3.118, allocations: 50.66 MB / 1.248 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.02707/3.145, allocations: 295.3 kB / 1.248 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/6.576, allocations: 0 / 1.248 GB, free: 3.742 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)