Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.62/1.62, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 195.5 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.1 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 108.1 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2544, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.6029/0.8573, allocations: 130 MB / 1.109 GB, free: 28.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03209/0.8894, allocations: 24.98 MB / 1.134 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008965/0.8984, allocations: 126.9 kB / 1.134 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005664/0.9042, allocations: 1.422 MB / 1.135 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0145/0.9187, allocations: 4.132 MB / 1.139 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.008133/0.9268, allocations: 3.215 MB / 1.142 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01375/0.9406, allocations: 11.38 MB / 1.153 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004343/0.945, allocations: 2.599 MB / 1.156 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007161/0.9522, allocations: 2.877 MB / 1.159 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006006/0.9582, allocations: 2.426 MB / 1.161 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0008974/0.9591, allocations: 173.8 kB / 1.161 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007248/0.9664, allocations: 2.512 MB / 1.164 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009496/0.9674, allocations: 0.6857 MB / 1.164 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.003459/0.9708, allocations: 1.77 MB / 1.166 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.9811, allocations: 6.17 MB / 1.172 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.9812, allocations: 0 / 1.172 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9812, allocations: 0 / 1.172 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001434/0.9813, allocations: 0 / 1.172 GB, free: 8.891 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009308/0.9906, allocations: 4.072 MB / 1.176 GB, free: 6.344 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9907, allocations: 12.97 kB / 1.176 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/1.002, allocations: 1.38 MB / 1.177 GB, free: 6.102 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006195/1.008, allocations: 2.922 MB / 1.18 GB, free: 4.379 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002782/1.008, allocations: 258.3 kB / 1.181 GB, free: 4.227 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004918/1.009, allocations: 235 kB / 1.181 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008063/1.017, allocations: 3.204 MB / 1.184 GB, free: 2.688 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.314e-05/1.017, allocations: 10.06 kB / 1.184 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/1.017, allocations: 98.75 kB / 1.184 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.923e-05/1.017, allocations: 74.09 kB / 1.184 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009562/1.027, allocations: 2.832 MB / 1.187 GB, free: 1.648 MB / 0.7605 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.0247/1.051, allocations: 13.61 MB / 1.2 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/1.056, allocations: 1.482 MB / 1.202 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003221/1.059, allocations: 0.9111 MB / 1.202 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001846/1.061, allocations: 1.778 MB / 1.204 GB, free: 5.254 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004012/1.065, allocations: 1.191 MB / 1.205 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=126): time 3.397e-06/1.065, allocations: 0 / 1.205 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of matching and sorting (n=132): time 0.05395/1.119, allocations: 11.67 MB / 1.217 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003396/1.12, allocations: 0.58 MB / 1.217 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00487/1.124, allocations: 2.596 MB / 1.22 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004928/1.125, allocations: 65.17 kB / 1.22 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/1.126, allocations: 1.319 MB / 1.221 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006881/1.127, allocations: 467.1 kB / 1.222 GB, free: 12.43 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008344/1.128, allocations: 467.7 kB / 1.222 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.128, allocations: 302.7 kB / 1.222 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003788/1.132, allocations: 0.9898 MB / 1.223 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004552/1.136, allocations: 1.581 MB / 1.225 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007368/1.144, allocations: 2.249 MB / 1.227 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/1.144, allocations: 3.219 kB / 1.227 GB, free: 9.117 MB / 0.7917 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02555/1.169, allocations: 4.157 MB / 1.231 GB, free: 5.906 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/1.169, allocations: 41.69 kB / 1.231 GB, free: 5.859 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/1.169, allocations: 16.12 kB / 1.231 GB, free: 5.844 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/1.174, allocations: 1.15 MB / 1.232 GB, free: 4.688 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002888/1.177, allocations: 463.2 kB / 1.233 GB, free: 4.234 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/1.181, allocations: 2.382 MB / 1.235 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/1.186, allocations: 397.1 kB / 1.235 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/1.187, allocations: 111.9 kB / 1.236 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005065/1.192, allocations: 1.484 MB / 1.237 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004736/1.197, allocations: 1.565 MB / 1.239 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00761/1.204, allocations: 2.22 MB / 1.241 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.501e-05/1.204, allocations: 4.547 kB / 1.241 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02405/1.228, allocations: 4.127 MB / 1.245 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/1.229, allocations: 41.64 kB / 1.245 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/1.229, allocations: 12.06 kB / 1.245 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/1.232, allocations: 1.157 MB / 1.246 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.235, allocations: 447.2 kB / 1.246 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004264/1.239, allocations: 2.383 MB / 1.249 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/1.245, allocations: 395.7 kB / 1.249 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/1.246, allocations: 107.9 kB / 1.249 GB, free: 2.859 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,25), (4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.001079/1.247, allocations: 300 kB / 1.249 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/1.248, allocations: 288.5 kB / 1.25 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009526/1.258, allocations: 2.401 MB / 1.252 GB, free: 15.85 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.249e-05/1.258, allocations: 19.98 kB / 1.252 GB, free: 15.83 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.258, allocations: 4 kB / 1.252 GB, free: 15.82 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007277/1.265, allocations: 2.01 MB / 1.254 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/1.29, allocations: 7.004 MB / 1.261 GB, free: 6.578 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.29, allocations: 8 kB / 1.261 GB, free: 6.57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.292, allocations: 279.8 kB / 1.261 GB, free: 6.297 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/1.295, allocations: 1.011 MB / 1.262 GB, free: 5.281 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/1.296, allocations: 47.94 kB / 1.262 GB, free: 5.234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003592/1.299, allocations: 2.147 MB / 1.264 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.299, allocations: 8 kB / 1.264 GB, free: 3.027 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.138/1.437, allocations: 29.28 MB / 1.293 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.439, allocations: 0.5756 MB / 1.293 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.441, allocations: 48.05 kB / 1.294 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004001/1.445, allocations: 275.5 kB / 1.294 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/1.445, allocations: 108.7 kB / 1.294 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.445, allocations: 75.86 kB / 1.294 GB, free: 3.871 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003371/1.449, allocations: 1.828 MB / 1.296 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.4e-07/1.449, allocations: 0 / 1.296 GB, free: 2.043 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007485/1.456, allocations: 2.32 MB / 1.298 GB, free: 15.72 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002195/1.458, allocations: 0.9248 MB / 1.299 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01261/1.471, allocations: 3.721 MB / 1.303 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/1.471, allocations: 8.375 kB / 1.303 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003839/1.475, allocations: 1.08 MB / 1.304 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008057/1.483, allocations: 1.509 MB / 1.305 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/1.495, allocations: 6.973 MB / 1.312 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.497, allocations: 1.77 MB / 1.314 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004224/1.501, allocations: 0.6628 MB / 1.314 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/1.502, allocations: 239.2 kB / 1.314 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of SimCode: time 7.82e-07/1.502, allocations: 0 / 1.314 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.5603/2.062, allocations: 85.9 MB / 1.398 GB, free: 273.7 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)