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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001112, allocations: 91.86 kB / 15.36 MB, free: 0.7422 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.008277/0.008277, allocations: 179.3 kB / 16.26 MB, free: 6.605 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.476/2.476, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 12 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.242, allocations: 159.6 MB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06022/0.3023, allocations: 68.26 MB / 1.125 GB, free: 404 kB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.3199, allocations: 14.41 MB / 1.139 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.3219, allocations: 63.62 kB / 1.14 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.3238, allocations: 0.7498 MB / 1.14 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.3294, allocations: 2.36 MB / 1.143 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003878/0.3333, allocations: 1.781 MB / 1.144 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005648/0.3389, allocations: 5.862 MB / 1.15 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/0.3408, allocations: 1.305 MB / 1.151 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002428/0.3432, allocations: 1.423 MB / 1.153 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001682/0.3449, allocations: 1.194 MB / 1.154 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.3452, allocations: 68 kB / 1.154 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.3482, allocations: 1.737 MB / 1.156 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003637/0.3486, allocations: 326.5 kB / 1.156 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.3497, allocations: 0.9033 MB / 1.157 GB, free: 124 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003358/0.353, allocations: 3.338 MB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.353, allocations: 4 kB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.816e-06/0.353, allocations: 3.984 kB / 1.16 GB, free: 12.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.3531, allocations: 4 kB / 1.16 GB, free: 12.76 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.003013/0.3561, allocations: 1.944 MB / 1.162 GB, free: 10.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.3561, allocations: 12.03 kB / 1.162 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.3563, allocations: 185.5 kB / 1.162 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/0.3615, allocations: 0.7363 MB / 1.163 GB, free: 9.809 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.3635, allocations: 1.557 MB / 1.164 GB, free: 8.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.3636, allocations: 132 kB / 1.165 GB, free: 8.059 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.3638, allocations: 119.9 kB / 1.165 GB, free: 7.941 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.3673, allocations: 1.677 MB / 1.166 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.3674, allocations: 0 / 1.166 GB, free: 6.168 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.3675, allocations: 52 kB / 1.166 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/0.3676, allocations: 43.92 kB / 1.166 GB, free: 6.074 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004483/0.372, allocations: 1.531 MB / 1.168 GB, free: 4.535 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.00838/0.3804, allocations: 7.299 MB / 1.175 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.3827, allocations: 0.842 MB / 1.176 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.3843, allocations: 0.5256 MB / 1.176 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/0.3855, allocations: 1.271 MB / 1.178 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3855, allocations: 47.06 kB / 1.178 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 1.774e-06/0.3855, allocations: 4 kB / 1.178 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.02877/0.4143, allocations: 4.311 MB / 1.182 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.4144, allocations: 111.4 kB / 1.182 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.4161, allocations: 1.371 MB / 1.183 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.933e-05/0.4162, allocations: 45.7 kB / 1.183 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.4168, allocations: 0.6803 MB / 1.184 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.417, allocations: 244.5 kB / 1.184 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.4171, allocations: 77.61 kB / 1.184 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4172, allocations: 338 kB / 1.185 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.4191, allocations: 0.525 MB / 1.185 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.4212, allocations: 0.8017 MB / 1.186 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.4247, allocations: 1.191 MB / 1.187 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4248, allocations: 4 kB / 1.187 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004784/0.4295, allocations: 1.632 MB / 1.189 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.4297, allocations: 284.8 kB / 1.189 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/0.4297, allocations: 4 kB / 1.189 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.4316, allocations: 0.5695 MB / 1.19 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4328, allocations: 255.6 kB / 1.19 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.4347, allocations: 1.173 MB / 1.191 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/0.4368, allocations: 274.7 kB / 1.191 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.4369, allocations: 63.92 kB / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.352e-06/0.4369, allocations: 4 kB / 1.191 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004617/0.4416, allocations: 1.48 MB / 1.193 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4416, allocations: 8 kB / 1.193 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/0.4433, allocations: 0.5705 MB / 1.193 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4445, allocations: 243.6 kB / 1.193 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.4464, allocations: 1.174 MB / 1.195 GB, free: 8.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.4482, allocations: 250.9 kB / 1.195 GB, free: 7.773 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.4483, allocations: 59.88 kB / 1.195 GB, free: 7.715 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 (82): * Single equations (assignments): 81 * 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 {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005699/0.4489, allocations: 442.4 kB / 1.195 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4491, allocations: 150.2 kB / 1.196 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/0.4533, allocations: 1.406 MB / 1.197 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4533, allocations: 12 kB / 1.197 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4533, allocations: 8.031 kB / 1.197 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003715/0.4571, allocations: 1.226 MB / 1.198 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007063/0.4641, allocations: 3.512 MB / 1.202 GB, free: 0.6953 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4641, allocations: 4 kB / 1.202 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/0.465, allocations: 155.8 kB / 1.202 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.4667, allocations: 0.5548 MB / 1.202 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.03e-05/0.4668, allocations: 27.92 kB / 1.202 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.4686, allocations: 1.166 MB / 1.203 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.4686, allocations: 4 kB / 1.203 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/0.4726, allocations: 1.489 MB / 1.205 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.4731, allocations: 390.9 kB / 1.205 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.4733, allocations: 16 kB / 1.205 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.475, allocations: 169.9 kB / 1.205 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.4751, allocations: 60.25 kB / 1.205 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-05/0.4752, allocations: 43.95 kB / 1.205 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001324/0.4765, allocations: 0.9693 MB / 1.206 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4765, allocations: 0 / 1.206 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001935/0.4784, allocations: 0.8889 MB / 1.207 GB, free: 10.66 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * 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 (42): * Single equations (assignments): 39 * 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 {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005114/0.4836, allocations: 2.467 MB / 1.21 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00608/0.4897, allocations: 1.913 MB / 1.212 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4897, allocations: 4 kB / 1.212 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.4915, allocations: 0.5614 MB / 1.212 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003955/0.4954, allocations: 0.803 MB / 1.213 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/0.5228, allocations: 13.45 MB / 1.226 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.5235, allocations: 1.203 MB / 1.227 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001367/0.5249, allocations: 335.2 kB / 1.228 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000713/0.5256, allocations: 0.5695 MB / 1.228 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.5256, allocations: 3.938 kB / 1.228 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.639/5.165, allocations: 51.01 MB / 1.278 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/5.165, allocations: 291.8 kB / 1.278 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.725/8.89, allocations: 0 / 1.278 GB, free: 172.9 MB / 0.9981 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/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)