Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007729/0.0007727, 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.005492/0.005492, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 15.08 kB / 0.9158 GB, free: 32.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3672, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1371/0.5044, allocations: 127.9 MB / 1.199 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03643/0.5409, allocations: 24.95 MB / 1.223 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005505/0.5464, allocations: 119.2 kB / 1.224 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004868/0.5513, allocations: 1.41 MB / 1.225 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01342/0.5648, allocations: 4.151 MB / 1.229 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00941/0.5742, allocations: 3.204 MB / 1.232 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01707/0.5913, allocations: 11.37 MB / 1.243 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/0.597, allocations: 2.53 MB / 1.246 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.604, allocations: 2.745 MB / 1.248 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004862/0.6089, allocations: 2.294 MB / 1.251 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.6102, allocations: 135.9 kB / 1.251 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7785/1.389, allocations: 2.464 MB / 1.253 GB, free: 52.51 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001862/1.391, allocations: 0.6179 MB / 1.254 GB, free: 52.51 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005832/1.396, allocations: 1.714 MB / 1.255 GB, free: 52.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01523/1.412, allocations: 6.025 MB / 1.261 GB, free: 52.33 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.412, allocations: 0 / 1.261 GB, free: 52.33 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.126e-06/1.412, allocations: 0.7812 kB / 1.261 GB, free: 52.33 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002496/1.412, allocations: 0.9062 kB / 1.261 GB, free: 52.33 MB / 0.9981 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.01021/1.422, allocations: 3.363 MB / 1.265 GB, free: 50.66 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.422, allocations: 14.09 kB / 1.265 GB, free: 50.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01233/1.435, allocations: 1.453 MB / 1.266 GB, free: 50.45 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006744/1.441, allocations: 2.942 MB / 1.269 GB, free: 49.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002825/1.442, allocations: 251.7 kB / 1.269 GB, free: 49.77 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004886/1.442, allocations: 233.4 kB / 1.269 GB, free: 49.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009331/1.452, allocations: 3.241 MB / 1.273 GB, free: 49.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/1.452, allocations: 6.469 kB / 1.273 GB, free: 49.27 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/1.452, allocations: 107.3 kB / 1.273 GB, free: 49.27 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000145/1.452, allocations: 73.64 kB / 1.273 GB, free: 49.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/1.463, allocations: 2.897 MB / 1.276 GB, free: 49.2 MB / 0.9981 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.02381/1.487, allocations: 13.66 MB / 1.289 GB, free: 43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004672/1.491, allocations: 1.506 MB / 1.29 GB, free: 42.95 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/1.495, allocations: 0.9427 MB / 1.291 GB, free: 42.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/1.496, allocations: 1.783 MB / 1.293 GB, free: 40.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004136/1.501, allocations: 1.215 MB / 1.294 GB, free: 40.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 4.058e-06/1.501, allocations: 0 / 1.294 GB, free: 40.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.05845/1.559, allocations: 11.92 MB / 1.306 GB, free: 36.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002263/1.559, allocations: 0.5782 MB / 1.306 GB, free: 36.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007225/1.567, allocations: 2.618 MB / 1.309 GB, free: 35.96 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001052/1.568, allocations: 64.64 kB / 1.309 GB, free: 35.93 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001367/1.569, allocations: 1.33 MB / 1.31 GB, free: 35.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007818/1.57, allocations: 461.7 kB / 1.311 GB, free: 35.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/1.57, allocations: 146.3 kB / 1.311 GB, free: 35.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/1.57, allocations: 301.1 kB / 1.311 GB, free: 34.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003904/1.574, allocations: 1.017 MB / 1.312 GB, free: 34.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00462/1.579, allocations: 1.603 MB / 1.314 GB, free: 34.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00735/1.586, allocations: 2.317 MB / 1.316 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/1.586, allocations: 3.594 kB / 1.316 GB, free: 33.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02457/1.611, allocations: 4.269 MB / 1.32 GB, free: 33.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000288/1.611, allocations: 490.9 kB / 1.321 GB, free: 32.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/1.611, allocations: 13.8 kB / 1.321 GB, free: 32.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003958/1.615, allocations: 1.173 MB / 1.322 GB, free: 32.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/1.618, allocations: 472.3 kB / 1.322 GB, free: 32.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/1.622, allocations: 2.395 MB / 1.325 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005774/1.627, allocations: 409.5 kB / 1.325 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003113/1.628, allocations: 107 kB / 1.325 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/1.628, allocations: 4.75 kB / 1.325 GB, free: 31.54 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0232/1.651, allocations: 3.967 MB / 1.329 GB, free: 31.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.537e-05/1.651, allocations: 20.34 kB / 1.329 GB, free: 31.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004111/1.655, allocations: 1.165 MB / 1.33 GB, free: 31.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/1.658, allocations: 467.2 kB / 1.331 GB, free: 31.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/1.662, allocations: 2.382 MB / 1.333 GB, free: 30.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/1.668, allocations: 385.7 kB / 1.333 GB, free: 30.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005755/1.669, allocations: 104.5 kB / 1.333 GB, free: 30.05 MB / 0.9981 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.002461/1.671, allocations: 0.7001 MB / 1.334 GB, free: 29.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/1.673, allocations: 290.2 kB / 1.334 GB, free: 29.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008803/1.681, allocations: 2.46 MB / 1.337 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.078e-05/1.681, allocations: 21.39 kB / 1.337 GB, free: 29.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.681, allocations: 3.375 kB / 1.337 GB, free: 29.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006974/1.688, allocations: 2.069 MB / 1.339 GB, free: 28.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02305/1.711, allocations: 7.091 MB / 1.346 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/1.712, allocations: 7.438 kB / 1.346 GB, free: 25.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.713, allocations: 291.5 kB / 1.346 GB, free: 25.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/1.717, allocations: 1.013 MB / 1.347 GB, free: 25.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002686/1.717, allocations: 55.12 kB / 1.347 GB, free: 25.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/1.721, allocations: 2.158 MB / 1.349 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/1.721, allocations: 11.28 kB / 1.349 GB, free: 23.99 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/1.734, allocations: 3.839 MB / 1.353 GB, free: 22.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00248/1.737, allocations: 0.6583 MB / 1.354 GB, free: 22.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/1.738, allocations: 45.58 kB / 1.354 GB, free: 22.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004668/1.743, allocations: 296.2 kB / 1.354 GB, free: 22.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/1.743, allocations: 112.3 kB / 1.354 GB, free: 22.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002933/1.744, allocations: 80.58 kB / 1.354 GB, free: 22.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004358/1.748, allocations: 1.831 MB / 1.356 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.748, allocations: 0 / 1.356 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007662/1.756, allocations: 1.475 MB / 1.357 GB, free: 21.11 MB / 0.9981 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.002674/1.758, allocations: 0.8078 MB / 1.358 GB, free: 20.76 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.772, allocations: 3.823 MB / 1.362 GB, free: 19.03 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.136e-05/1.772, allocations: 6.156 kB / 1.362 GB, free: 19.03 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004004/1.776, allocations: 1.115 MB / 1.363 GB, free: 18.51 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/1.789, allocations: 1.568 MB / 1.364 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/1.8, allocations: 6.137 MB / 1.37 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/1.802, allocations: 1.721 MB / 1.372 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003811/1.805, allocations: 0.6509 MB / 1.373 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007135/1.806, allocations: 250.5 kB / 1.373 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of SimCode: time 1.783e-06/1.806, allocations: 3.844 kB / 1.373 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of Templates: time 0.1301/1.936, allocations: 76.19 MB / 1.447 GB, free: 13.13 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)