Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_latest_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.001181/0.001181, allocations: 110.2 kB / 16.42 MB, free: 6.484 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.001216/0.001216, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.534/1.534, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.679/2.679, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 67.89 kB / 1.066 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8174, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1328/0.9502, allocations: 130.9 MB / 1.349 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03784/0.988, allocations: 25.03 MB / 1.373 GB, free: 5.938 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004856/0.993, allocations: 135.2 kB / 1.373 GB, free: 5.805 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.005072/0.9981, allocations: 1.782 MB / 1.375 GB, free: 4.012 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0137/1.012, allocations: 4.727 MB / 1.38 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.01012/1.022, allocations: 3.525 MB / 1.383 GB, free: 11.77 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01273/1.035, allocations: 8.982 MB / 1.392 GB, free: 2.766 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005501/1.04, allocations: 3.195 MB / 1.395 GB, free: 15.51 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007805/1.048, allocations: 3.524 MB / 1.398 GB, free: 11.98 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/1.053, allocations: 2.478 MB / 1.401 GB, free: 9.492 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/1.054, allocations: 392 kB / 1.401 GB, free: 9.109 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006981/1.061, allocations: 2.889 MB / 1.404 GB, free: 6.219 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001361/1.062, allocations: 0.8838 MB / 1.405 GB, free: 5.332 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00347/1.066, allocations: 1.984 MB / 1.407 GB, free: 3.34 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/1.076, allocations: 6.347 MB / 1.413 GB, free: 12.98 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/1.076, allocations: 4 kB / 1.413 GB, free: 12.97 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.894e-06/1.076, allocations: 0 / 1.413 GB, free: 12.97 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.000159/1.076, allocations: 0 / 1.413 GB, free: 12.97 MB / 1.139 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.008996/1.085, allocations: 4.068 MB / 1.417 GB, free: 8.797 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.085, allocations: 12.61 kB / 1.417 GB, free: 8.785 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/1.097, allocations: 1.374 MB / 1.418 GB, free: 7.406 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005846/1.102, allocations: 2.984 MB / 1.421 GB, free: 4.344 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/1.103, allocations: 247.9 kB / 1.422 GB, free: 4.086 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005591/1.103, allocations: 244 kB / 1.422 GB, free: 3.848 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008087/1.111, allocations: 3.187 MB / 1.425 GB, free: 484 kB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/1.112, allocations: 7.938 kB / 1.425 GB, free: 476 kB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003293/1.112, allocations: 108 kB / 1.425 GB, free: 368 kB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-05/1.112, allocations: 67.94 kB / 1.425 GB, free: 300 kB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009536/1.121, allocations: 2.834 MB / 1.428 GB, free: 13.44 MB / 1.154 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.0213/1.143, allocations: 13.58 MB / 1.441 GB, free: 15.2 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/1.147, allocations: 1.476 MB / 1.443 GB, free: 13.73 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003259/1.151, allocations: 0.912 MB / 1.443 GB, free: 12.81 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/1.153, allocations: 1.781 MB / 1.445 GB, free: 10.65 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003872/1.156, allocations: 1.188 MB / 1.446 GB, free: 9.395 MB / 1.17 GB Notification: Performance of pre-optimization done (n=126): time 4.348e-06/1.156, allocations: 0 / 1.446 GB, free: 9.395 MB / 1.17 GB Notification: Performance of matching and sorting (n=132): time 0.05893/1.215, allocations: 11.67 MB / 1.458 GB, free: 13.56 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002678/1.216, allocations: 0.5766 MB / 1.458 GB, free: 12.85 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004763/1.22, allocations: 2.643 MB / 1.461 GB, free: 10.19 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003593/1.221, allocations: 65.69 kB / 1.461 GB, free: 10.12 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.222, allocations: 1.322 MB / 1.462 GB, free: 8.781 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000594/1.223, allocations: 457.5 kB / 1.463 GB, free: 8.328 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009773/1.224, allocations: 462.9 kB / 1.463 GB, free: 7.871 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.224, allocations: 301.1 kB / 1.463 GB, free: 7.574 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/1.228, allocations: 0.9923 MB / 1.464 GB, free: 6.578 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00471/1.233, allocations: 1.577 MB / 1.466 GB, free: 4.762 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/1.241, allocations: 2.248 MB / 1.468 GB, free: 2.34 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/1.241, allocations: 4 kB / 1.468 GB, free: 2.336 MB / 1.186 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02475/1.265, allocations: 4.151 MB / 1.472 GB, free: 14.16 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.15e-05/1.265, allocations: 41.69 kB / 1.472 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/1.265, allocations: 12 kB / 1.472 GB, free: 14.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/1.27, allocations: 1.16 MB / 1.473 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/1.272, allocations: 459.2 kB / 1.474 GB, free: 12.49 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/1.277, allocations: 2.378 MB / 1.476 GB, free: 10.06 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/1.281, allocations: 295.6 kB / 1.476 GB, free: 9.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003276/1.282, allocations: 103.9 kB / 1.476 GB, free: 9.668 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00499/1.287, allocations: 1.484 MB / 1.478 GB, free: 8.18 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004412/1.291, allocations: 1.565 MB / 1.479 GB, free: 6.375 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007435/1.299, allocations: 2.228 MB / 1.482 GB, free: 3.973 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.087e-05/1.299, allocations: 4 kB / 1.482 GB, free: 3.969 MB / 1.201 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.02445/1.323, allocations: 4.118 MB / 1.486 GB, free: 15.82 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.22e-05/1.323, allocations: 45.16 kB / 1.486 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/1.323, allocations: 15.94 kB / 1.486 GB, free: 15.76 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/1.327, allocations: 1.164 MB / 1.487 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/1.33, allocations: 455.2 kB / 1.487 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/1.334, allocations: 2.382 MB / 1.49 GB, free: 11.72 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00459/1.339, allocations: 307.9 kB / 1.49 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/1.339, allocations: 103.9 kB / 1.49 GB, free: 11.32 MB / 1.217 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.0006117/1.34, allocations: 301.4 kB / 1.49 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008213/1.34, allocations: 280.6 kB / 1.491 GB, free: 10.74 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008651/1.349, allocations: 2.405 MB / 1.493 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007272/1.356, allocations: 2.01 MB / 1.495 GB, free: 6.242 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.356, allocations: 3.938 kB / 1.495 GB, free: 6.238 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.358, allocations: 0.5756 MB / 1.495 GB, free: 5.641 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007587/1.359, allocations: 39.92 kB / 1.495 GB, free: 5.602 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003473/1.362, allocations: 219.6 kB / 1.496 GB, free: 5.387 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/1.362, allocations: 100.9 kB / 1.496 GB, free: 5.285 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01357/1.376, allocations: 3.357 MB / 1.499 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01113/1.387, allocations: 3.766 MB / 1.503 GB, free: 14.13 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003224/1.39, allocations: 0.8865 MB / 1.504 GB, free: 13.24 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003462/1.394, allocations: 1.843 MB / 1.505 GB, free: 11.39 MB / 1.232 GB Notification: Performance of Backend: time 9.41e-07/1.394, allocations: 4 kB / 1.505 GB, free: 11.39 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01461/1.409, allocations: 4.03 MB / 1.509 GB, free: 7.348 MB / 1.232 GB Notification: Performance of SimCode: time 0.01237/1.421, allocations: 6.4 MB / 1.516 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of Templates: time 0.6918/2.113, allocations: 92.15 MB / 1.606 GB, free: 309.7 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1)