Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") translateModel(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.296/1.296, allocations: 251.5 MB / 267.4 MB, free: 10.88 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.0008855/0.0008855, allocations: 174.3 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205 MB / 0.5767 GB, free: 20.96 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.0007345/0.0007347, allocations: 97.62 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 12 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1672, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator): time 0.6728/0.84, allocations: 290.7 MB / 1.181 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05781/0.8978, allocations: 43.28 MB / 1.223 GB, free: 0 / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008323/0.9062, allocations: 178.9 kB / 1.223 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.007331/0.9136, allocations: 2.184 MB / 1.225 GB, free: 13.62 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.3-maint.7.0.x/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.01931/0.9329, allocations: 6.38 MB / 1.231 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01299/0.9459, allocations: 4.854 MB / 1.236 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02504/0.971, allocations: 22.14 MB / 1.258 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01051/0.9816, allocations: 5.906 MB / 1.264 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.9962, allocations: 5.145 MB / 1.269 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/1.006, allocations: 4.781 MB / 1.273 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.002393/1.009, allocations: 268 kB / 1.274 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01319/1.022, allocations: 4.725 MB / 1.278 GB, free: 7.254 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003457/1.026, allocations: 1.548 MB / 1.28 GB, free: 5.699 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.007366/1.033, allocations: 3.419 MB / 1.283 GB, free: 2.262 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.02075/1.054, allocations: 12.21 MB / 1.295 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.054, allocations: 7.922 kB / 1.295 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.775e-06/1.054, allocations: 0 / 1.295 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000362/1.054, allocations: 4 kB / 1.295 GB, free: 6 MB / 0.8073 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.01628/1.07, allocations: 6.876 MB / 1.302 GB, free: 15.02 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.071, allocations: 8.031 kB / 1.302 GB, free: 15.02 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/1.085, allocations: 2.259 MB / 1.304 GB, free: 12.75 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.015/1.1, allocations: 6.379 MB / 1.31 GB, free: 6.293 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/1.102, allocations: 0.5192 MB / 1.311 GB, free: 5.766 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/1.103, allocations: 487.9 kB / 1.311 GB, free: 5.289 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01418/1.117, allocations: 6.168 MB / 1.317 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/1.117, allocations: 7.938 kB / 1.317 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005779/1.118, allocations: 196 kB / 1.317 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/1.118, allocations: 180.7 kB / 1.317 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/1.133, allocations: 5.862 MB / 1.323 GB, free: 8.629 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 removeSimpleEquations (simulation): time 0.04863/1.182, allocations: 24.95 MB / 1.348 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/1.193, allocations: 4.674 MB / 1.352 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005169/1.198, allocations: 2.096 MB / 1.354 GB, free: 7.703 MB / 0.8698 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.02287/1.221, allocations: 10.4 MB / 1.364 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005372/1.226, allocations: 2.333 MB / 1.367 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002743/1.229, allocations: 0.6413 MB / 1.367 GB, free: 9.734 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=302): time 7.054e-06/1.229, allocations: 4 kB / 1.367 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=306): time 0.04463/1.274, allocations: 13.08 MB / 1.38 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/1.274, allocations: 372.5 kB / 1.38 GB, free: 11.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007266/1.281, allocations: 4.915 MB / 1.385 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0009396/1.282, allocations: 109.6 kB / 1.385 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002702/1.285, allocations: 2.768 MB / 1.388 GB, free: 4.105 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/1.286, allocations: 1.032 MB / 1.389 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005412/1.287, allocations: 341.6 kB / 1.389 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/1.287, allocations: 301.1 kB / 1.39 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005503/1.292, allocations: 2.026 MB / 1.392 GB, free: 404 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006135/1.299, allocations: 3.057 MB / 1.395 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/1.309, allocations: 4.724 MB / 1.399 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.309, allocations: 15.88 kB / 1.399 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of matching and sorting (n=482) (initialization): time 0.01735/1.327, allocations: 6.318 MB / 1.405 GB, free: 1.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005461/1.327, allocations: 0.8166 MB / 1.406 GB, free: 336 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/1.327, allocations: 24 kB / 1.406 GB, free: 312 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4072/1.735, allocations: 1.715 MB / 1.408 GB, free: 351 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00438/1.739, allocations: 0.948 MB / 1.409 GB, free: 351 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008413/1.747, allocations: 5.721 MB / 1.414 GB, free: 347.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006801/1.754, allocations: 0.5836 MB / 1.415 GB, free: 347.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007746/1.755, allocations: 204.8 kB / 1.415 GB, free: 347.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/1.755, allocations: 4.094 kB / 1.415 GB, free: 347.3 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01587/1.771, allocations: 5.586 MB / 1.421 GB, free: 347 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.056e-05/1.771, allocations: 23.62 kB / 1.421 GB, free: 347 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008483/1.779, allocations: 1.75 MB / 1.422 GB, free: 347 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004081/1.784, allocations: 0.9138 MB / 1.423 GB, free: 347 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008538/1.792, allocations: 5.743 MB / 1.429 GB, free: 343.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005983/1.798, allocations: 0.5596 MB / 1.429 GB, free: 343.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004629/1.799, allocations: 197.6 kB / 1.43 GB, free: 343.3 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 ($PRE.timTab.nextTimeEvent,$whenCondition3,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,tesEvaPum.y,$PRE.tesEvaPum.y,tesConHea.y,$PRE.tesConHea.y,and2.y,and1.y,hysteresis.y,$PRE.hysteresis.y,heaPum.temPro.hysdTConEva.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.on.y,heaPum.temPro.hysLow.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysHig.y,heaPum.com.isOn,$PRE.heaPum.com.isOn,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,19), (5,6), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003089/1.802, allocations: 1.572 MB / 1.431 GB, free: 342.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/1.803, allocations: 0.5482 MB / 1.432 GB, free: 342.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/1.818, allocations: 5.438 MB / 1.437 GB, free: 340.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01064/1.828, allocations: 4.295 MB / 1.441 GB, free: 339.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.828, allocations: 0 / 1.441 GB, free: 339.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/1.831, allocations: 1.087 MB / 1.442 GB, free: 338.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008169/1.832, allocations: 75.55 kB / 1.442 GB, free: 338.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004103/1.836, allocations: 0.4944 MB / 1.443 GB, free: 338.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004113/1.836, allocations: 251.4 kB / 1.443 GB, free: 338.7 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01463/1.851, allocations: 5.341 MB / 1.448 GB, free: 337 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01414/1.865, allocations: 6.975 MB / 1.455 GB, free: 333.7 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003978/1.869, allocations: 2.01 MB / 1.457 GB, free: 332.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00445/1.874, allocations: 3.321 MB / 1.46 GB, free: 330.6 MB / 0.9167 GB Notification: Performance of Backend: time 4.91e-07/1.874, allocations: 0 / 1.46 GB, free: 330.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02277/1.896, allocations: 8.947 MB / 1.469 GB, free: 322.4 MB / 0.9167 GB Notification: Performance of SimCode: time 0.02116/1.918, allocations: 15.62 MB / 1.484 GB, free: 306.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.1753/2.093, allocations: 147.4 MB / 1.628 GB, free: 159.9 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.ScrollWaterToWater_OneRoomRadiator.pipe 2>&1)