Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009936/0.0009937, 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.008061/0.008061, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 13.28 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.364, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06788/0.4319, allocations: 68.24 MB / 1.141 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02205/0.454, allocations: 14.41 MB / 1.155 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.4572, allocations: 63.56 kB / 1.155 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.4599, allocations: 0.7576 MB / 1.156 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007559/0.4675, allocations: 2.345 MB / 1.158 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/0.4728, allocations: 1.785 MB / 1.16 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008267/0.4811, allocations: 5.901 MB / 1.165 GB, free: 9.812 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002751/0.4839, allocations: 1.293 MB / 1.167 GB, free: 8.488 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.4876, allocations: 1.423 MB / 1.168 GB, free: 7.059 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.4899, allocations: 1.198 MB / 1.169 GB, free: 5.855 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000276/0.4902, allocations: 64 kB / 1.169 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.4948, allocations: 1.731 MB / 1.171 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.4953, allocations: 338.4 kB / 1.171 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.4969, allocations: 0.8996 MB / 1.172 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005837/0.5027, allocations: 3.345 MB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5028, allocations: 0 / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5028, allocations: 4 kB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.5028, allocations: 0 / 1.175 GB, free: 15.46 MB / 0.9356 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.003929/0.5067, allocations: 1.936 MB / 1.177 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.5068, allocations: 8.031 kB / 1.177 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005876/0.5127, allocations: 0.7402 MB / 1.178 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/0.5157, allocations: 1.553 MB / 1.18 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002035/0.5159, allocations: 128 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.5162, allocations: 116 kB / 1.18 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.5204, allocations: 1.656 MB / 1.181 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.5205, allocations: 7.938 kB / 1.181 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.5206, allocations: 52 kB / 1.182 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.5207, allocations: 35.98 kB / 1.182 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005071/0.5258, allocations: 1.499 MB / 1.183 GB, free: 7.5 MB / 0.9356 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.01187/0.5376, allocations: 7.026 MB / 1.19 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/0.54, allocations: 0.7516 MB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.5418, allocations: 0.5073 MB / 1.191 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.5434, allocations: 1.271 MB / 1.192 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/0.5435, allocations: 43.12 kB / 1.192 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=68): time 3.236e-06/0.5435, allocations: 0 / 1.192 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of matching and sorting (n=68): time 0.02194/0.5654, allocations: 3.129 MB / 1.195 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.5655, allocations: 111.4 kB / 1.196 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/0.5684, allocations: 1.367 MB / 1.197 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002088/0.5686, allocations: 41.7 kB / 1.197 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008979/0.5695, allocations: 0.6917 MB / 1.198 GB, free: 7.84 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.5698, allocations: 240.5 kB / 1.198 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.57, allocations: 81.67 kB / 1.198 GB, free: 7.516 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.5702, allocations: 341.9 kB / 1.198 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.5724, allocations: 0.525 MB / 1.199 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002553/0.575, allocations: 0.7939 MB / 1.2 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003913/0.5789, allocations: 1.172 MB / 1.201 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5789, allocations: 4 kB / 1.201 GB, free: 4.477 MB / 0.9512 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005753/0.5847, allocations: 1.597 MB / 1.202 GB, free: 2.867 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004408/0.5852, allocations: 280.4 kB / 1.202 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.5852, allocations: 8 kB / 1.203 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/0.5872, allocations: 489.5 kB / 1.203 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.5889, allocations: 271.7 kB / 1.203 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.5908, allocations: 0.996 MB / 1.204 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/0.5937, allocations: 282.6 kB / 1.204 GB, free: 472 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.5939, allocations: 63.92 kB / 1.205 GB, free: 408 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5939, allocations: 5.562 kB / 1.205 GB, free: 404 kB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005145/0.599, allocations: 1.437 MB / 1.206 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.5991, allocations: 8 kB / 1.206 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/0.6009, allocations: 495.6 kB / 1.206 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.6024, allocations: 263.6 kB / 1.207 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.6043, allocations: 1 MB / 1.208 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.6067, allocations: 238.9 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/0.6069, allocations: 51.95 kB / 1.208 GB, free: 12.89 MB / 0.9669 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.001017/0.6079, allocations: 464.8 kB / 1.208 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.6083, allocations: 142.2 kB / 1.209 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/0.6128, allocations: 1.338 MB / 1.21 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.6129, allocations: 4 kB / 1.21 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.6129, allocations: 4 kB / 1.21 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004087/0.617, allocations: 1.151 MB / 1.211 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0084/0.6254, allocations: 3.077 MB / 1.214 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.6255, allocations: 4 kB / 1.214 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009853/0.6265, allocations: 159.8 kB / 1.214 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.6283, allocations: 484.9 kB / 1.215 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/0.6284, allocations: 27.91 kB / 1.215 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.6302, allocations: 0.9897 MB / 1.216 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.6303, allocations: 12 kB / 1.216 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006902/0.6372, allocations: 1.982 MB / 1.218 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.6382, allocations: 398.8 kB / 1.218 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.6385, allocations: 19.94 kB / 1.218 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.6403, allocations: 151.9 kB / 1.218 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.6405, allocations: 48.31 kB / 1.218 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.6406, allocations: 55.94 kB / 1.218 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001721/0.6424, allocations: 0.9815 MB / 1.219 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6424, allocations: 0 / 1.219 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002657/0.6451, allocations: 0.8889 MB / 1.22 GB, free: 248 kB / 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.001308/0.6464, allocations: 0.5408 MB / 1.221 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008093/0.6545, allocations: 1.869 MB / 1.222 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/0.6545, allocations: 3.781 kB / 1.222 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.6567, allocations: 0.5337 MB / 1.223 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005849/0.6626, allocations: 0.8104 MB / 1.224 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006553/0.6692, allocations: 3.299 MB / 1.227 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.6703, allocations: 1.211 MB / 1.228 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001891/0.6722, allocations: 374.6 kB / 1.228 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.6726, allocations: 131.3 kB / 1.229 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of SimCode: time 1.783e-06/0.6726, allocations: 0 / 1.229 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.6277/1.3, allocations: 38.18 MB / 1.266 GB, free: 164.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)