Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001967/0.001967, allocations: 194.2 kB / 16.25 MB, free: 6.621 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.51/1.51, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.734/2.734, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 64.78 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.383, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06594/0.449, allocations: 69.36 MB / 1.135 GB, free: 5.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02262/0.4717, allocations: 14.3 MB / 1.149 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.475, allocations: 67.56 kB / 1.149 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.4778, allocations: 0.8006 MB / 1.15 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.007717/0.4855, allocations: 2.374 MB / 1.153 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005146/0.4907, allocations: 1.83 MB / 1.154 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.006938/0.4977, allocations: 4.651 MB / 1.159 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.5001, allocations: 1.606 MB / 1.16 GB, free: 11.51 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.5045, allocations: 1.777 MB / 1.162 GB, free: 9.734 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.5065, allocations: 1.307 MB / 1.163 GB, free: 8.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.5068, allocations: 196 kB / 1.164 GB, free: 8.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004101/0.511, allocations: 1.946 MB / 1.166 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004626/0.5114, allocations: 470.5 kB / 1.166 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.5126, allocations: 1.027 MB / 1.167 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004935/0.5176, allocations: 3.498 MB / 1.17 GB, free: 1.281 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.5176, allocations: 0 / 1.17 GB, free: 1.281 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5176, allocations: 3.938 kB / 1.17 GB, free: 1.277 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.65e-05/0.5176, allocations: 0 / 1.17 GB, free: 1.277 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.004435/0.5221, allocations: 2.313 MB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5221, allocations: 8.031 kB / 1.173 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006072/0.5282, allocations: 0.6933 MB / 1.173 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.531, allocations: 1.553 MB / 1.175 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.5311, allocations: 128 kB / 1.175 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.5313, allocations: 120 kB / 1.175 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/0.5354, allocations: 1.657 MB / 1.177 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.5354, allocations: 7.984 kB / 1.177 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.5356, allocations: 52 kB / 1.177 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.877e-05/0.5357, allocations: 35.94 kB / 1.177 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004777/0.5404, allocations: 1.48 MB / 1.178 GB, free: 8.996 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.009993/0.5505, allocations: 7.279 MB / 1.185 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/0.5529, allocations: 0.8251 MB / 1.186 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.5547, allocations: 0.5061 MB / 1.187 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001306/0.556, allocations: 1.27 MB / 1.188 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.5561, allocations: 39.78 kB / 1.188 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 4.037e-06/0.5561, allocations: 0 / 1.188 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.03055/0.5866, allocations: 4.147 MB / 1.192 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.5867, allocations: 115.4 kB / 1.192 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.5889, allocations: 1.367 MB / 1.193 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.589, allocations: 41.7 kB / 1.193 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005948/0.5896, allocations: 0.6803 MB / 1.194 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.5898, allocations: 248.5 kB / 1.194 GB, free: 7.727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003807/0.5902, allocations: 230.3 kB / 1.195 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5904, allocations: 338 kB / 1.195 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.5925, allocations: 0.5044 MB / 1.195 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.5947, allocations: 0.7783 MB / 1.196 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/0.5986, allocations: 1.141 MB / 1.197 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.5986, allocations: 0 / 1.197 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005428/0.604, allocations: 1.593 MB / 1.199 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6041, allocations: 11.94 kB / 1.199 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6041, allocations: 8 kB / 1.199 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002035/0.6061, allocations: 0.5633 MB / 1.199 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6076, allocations: 239.6 kB / 1.2 GB, free: 2.109 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.6096, allocations: 1.171 MB / 1.201 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.6122, allocations: 262.6 kB / 1.201 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.6123, allocations: 51.95 kB / 1.201 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002524/0.6148, allocations: 0.7946 MB / 1.202 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002214/0.6171, allocations: 0.7745 MB / 1.203 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003697/0.6208, allocations: 1.125 MB / 1.204 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.173e-06/0.6208, allocations: 7.938 kB / 1.204 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.0053/0.6261, allocations: 1.585 MB / 1.205 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6261, allocations: 11.98 kB / 1.205 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.6261, allocations: 4 kB / 1.205 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.628, allocations: 0.574 MB / 1.206 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.6294, allocations: 235.6 kB / 1.206 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.6314, allocations: 1.17 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/0.6338, allocations: 223.2 kB / 1.207 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/0.6339, allocations: 51.95 kB / 1.207 GB, free: 9.816 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 (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.0003603/0.6343, allocations: 247.9 kB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.6346, allocations: 146.2 kB / 1.208 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.639, allocations: 1.359 MB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.639, allocations: 11.94 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.639, allocations: 0 / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003719/0.6428, allocations: 1.172 MB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00794/0.6507, allocations: 3.461 MB / 1.214 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.6508, allocations: 4 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009015/0.6517, allocations: 139.9 kB / 1.214 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.6535, allocations: 0.5515 MB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-05/0.6535, allocations: 35.91 kB / 1.214 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/0.6554, allocations: 1.15 MB / 1.216 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.6554, allocations: 11.97 kB / 1.216 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004364/0.6598, allocations: 1.434 MB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007533/0.6605, allocations: 359 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/0.6608, allocations: 24.12 kB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.6626, allocations: 147.8 kB / 1.217 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6628, allocations: 60.23 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/0.6629, allocations: 43.95 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001522/0.6644, allocations: 0.9654 MB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6644, allocations: 0 / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002276/0.6667, allocations: 0.8889 MB / 1.219 GB, free: 13.24 MB / 0.9825 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.001147/0.6678, allocations: 0.5397 MB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006821/0.6747, allocations: 1.882 MB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.6747, allocations: 3.781 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.6767, allocations: 0.5496 MB / 1.222 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003737/0.6804, allocations: 0.8324 MB / 1.223 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/0.6872, allocations: 3.189 MB / 1.226 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/0.688, allocations: 1.211 MB / 1.227 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001649/0.6896, allocations: 327.5 kB / 1.228 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.6899, allocations: 123.3 kB / 1.228 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.6899, allocations: 0 / 1.228 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of Templates: time 0.6092/1.299, allocations: 39.46 MB / 1.266 GB, free: 169.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)