Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.15/2.15, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001316/0.001316, allocations: 183.3 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.387/2.387, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002534/0.002533, allocations: 88.38 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000767/0.0007672, allocations: 15.95 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.27, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 1.131/1.401, allocations: 269.2 MB / 1.162 GB, free: 15.67 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0788/1.48, allocations: 40.1 MB / 1.202 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008552/1.488, allocations: 165.5 kB / 1.202 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.009498/1.498, allocations: 1.795 MB / 1.203 GB, free: 1.402 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.0244/1.522, allocations: 5.486 MB / 1.209 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01829/1.541, allocations: 3.896 MB / 1.213 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.03499/1.576, allocations: 19.01 MB / 1.231 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/1.59, allocations: 5.811 MB / 1.237 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01521/1.605, allocations: 4.959 MB / 1.242 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01668/1.622, allocations: 4.508 MB / 1.246 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.003509/1.626, allocations: 268 kB / 1.246 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02253/1.648, allocations: 3.559 MB / 1.25 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.005492/1.654, allocations: 1.494 MB / 1.251 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.005961/1.66, allocations: 1.404 MB / 1.253 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.02937/1.689, allocations: 9.57 MB / 1.262 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/1.689, allocations: 4 kB / 1.262 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.596e-06/1.689, allocations: 4 kB / 1.262 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003992/1.69, allocations: 0 / 1.262 GB, free: 6.891 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1171 * Number of variables: 1171 Notification: Performance of Generate backend data structure: time 0.03667/1.726, allocations: 6.954 MB / 1.269 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 7.555e-05/1.727, allocations: 12.03 kB / 1.269 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03831/1.765, allocations: 2.258 MB / 1.271 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03282/1.798, allocations: 6.185 MB / 1.277 GB, free: 7.305 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002717/1.801, allocations: 0.5231 MB / 1.278 GB, free: 6.773 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00264/1.803, allocations: 483.9 kB / 1.278 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02937/1.833, allocations: 6.133 MB / 1.284 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002141/1.833, allocations: 11.94 kB / 1.284 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/1.834, allocations: 192 kB / 1.284 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/1.834, allocations: 180.7 kB / 1.284 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.861, allocations: 5.83 MB / 1.29 GB, free: 9.715 MB / 0.8073 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.0745/1.936, allocations: 24.94 MB / 1.314 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02/1.956, allocations: 4.67 MB / 1.319 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009698/1.966, allocations: 2.08 MB / 1.321 GB, free: 8.82 MB / 0.8386 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 evalFunc (simulation): time 0.03838/2.004, allocations: 10.41 MB / 1.331 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01027/2.015, allocations: 2.313 MB / 1.333 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004094/2.019, allocations: 0.6491 MB / 1.334 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=302): time 1.107e-05/2.019, allocations: 0 / 1.334 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=306): time 0.08823/2.107, allocations: 13.01 MB / 1.347 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002516/2.107, allocations: 368.5 kB / 1.347 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01237/2.12, allocations: 4.864 MB / 1.352 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/2.121, allocations: 109.7 kB / 1.352 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004373/2.125, allocations: 2.764 MB / 1.355 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002081/2.127, allocations: 1.032 MB / 1.356 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005031/2.128, allocations: 76 kB / 1.356 GB, free: 4.223 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003858/2.128, allocations: 454 kB / 1.356 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0106/2.139, allocations: 1.947 MB / 1.358 GB, free: 1.824 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/2.151, allocations: 2.972 MB / 1.361 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01137/2.163, allocations: 2.237 MB / 1.363 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/2.163, allocations: 7.938 kB / 1.363 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=482) (initialization): time 0.05063/2.213, allocations: 6.914 MB / 1.37 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000763/2.214, allocations: 0.8068 MB / 1.371 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.904e-05/2.214, allocations: 24 kB / 1.371 GB, free: 4.066 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01703/2.231, allocations: 1.705 MB / 1.372 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00923/2.24, allocations: 0.9477 MB / 1.373 GB, free: 1.398 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/2.256, allocations: 5.588 MB / 1.379 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01213/2.268, allocations: 0.5946 MB / 1.379 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/2.269, allocations: 207.8 kB / 1.38 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/2.269, allocations: 4 kB / 1.38 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03772/2.307, allocations: 5.967 MB / 1.385 GB, free: 4.691 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-05/2.307, allocations: 24 kB / 1.385 GB, free: 4.668 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/2.324, allocations: 1.742 MB / 1.387 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008674/2.333, allocations: 0.9165 MB / 1.388 GB, free: 2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01466/2.348, allocations: 5.583 MB / 1.393 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/2.358, allocations: 0.5518 MB / 1.394 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/2.36, allocations: 200.2 kB / 1.394 GB, free: 11.34 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$PRE.timTab.nextTimeEvent,$whenCondition2,$whenCondition1,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y,$PRE.hysteresis.y,hysteresis.y,and1.y,and2.y,$PRE.tesConHea.y,tesConHea.y,$PRE.tesEvaPum.y,tesEvaPum.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (443): * Single equations (assignments): 437 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 3 {2 19,3 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005362/2.365, allocations: 1.573 MB / 1.396 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002121/2.367, allocations: 0.5403 MB / 1.396 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0301/2.397, allocations: 5.444 MB / 1.402 GB, free: 3.734 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6136/3.011, allocations: 4.264 MB / 1.406 GB, free: 344.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/3.011, allocations: 0 / 1.406 GB, free: 344.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004234/3.015, allocations: 1.132 MB / 1.407 GB, free: 344.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00183/3.017, allocations: 80.36 kB / 1.407 GB, free: 344.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009703/3.027, allocations: 0.4955 MB / 1.407 GB, free: 344.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009005/3.028, allocations: 254.1 kB / 1.408 GB, free: 344.8 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03113/3.059, allocations: 5.307 MB / 1.413 GB, free: 344.5 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03237/3.091, allocations: 6.946 MB / 1.42 GB, free: 344.1 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009349/3.101, allocations: 1.995 MB / 1.422 GB, free: 344.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.009/3.11, allocations: 3.266 MB / 1.425 GB, free: 343.4 MB / 0.9167 GB Notification: Performance of Backend: time 9.42e-07/3.11, allocations: 3.438 kB / 1.425 GB, free: 343.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04275/3.153, allocations: 8.717 MB / 1.433 GB, free: 341 MB / 0.9167 GB Notification: Performance of SimCode: time 0.0424/3.195, allocations: 15.34 MB / 1.448 GB, free: 333.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.3289/3.524, allocations: 144.7 MB / 1.59 GB, free: 196.6 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)