Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC") translateModel(Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.666/1.666, allocations: 287.4 MB / 303.2 MB, free: 8.211 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.0009652/0.0009652, allocations: 184.3 kB / 371.8 MB, free: 10.83 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.794/1.794, allocations: 205.4 MB / 0.6304 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009051/0.0009047, allocations: 97.59 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003975, allocations: 19.86 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC): time 2.716/2.931, allocations: 0.9918 GB / 1.971 GB, free: 13.64 MB / 1.104 GB Notification: Performance of NFInst.instExpressions: time 0.1869/3.118, allocations: 160.3 MB / 2.128 GB, free: 2.406 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02944/3.148, allocations: 0.5651 MB / 2.128 GB, free: 2.406 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.03171/3.18, allocations: 7.022 MB / 2.135 GB, free: 13.05 MB / 1.12 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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.08413/3.264, allocations: 21.69 MB / 2.156 GB, free: 15.74 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.05127/3.315, allocations: 13.91 MB / 2.17 GB, free: 4.684 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.1177/3.433, allocations: 88.95 MB / 2.257 GB, free: 13.36 MB / 1.229 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07198/3.505, allocations: 35.05 MB / 2.291 GB, free: 10.64 MB / 1.26 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0689/3.574, allocations: 25.55 MB / 2.316 GB, free: 2.383 MB / 1.276 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04157/3.616, allocations: 20.25 MB / 2.336 GB, free: 15.66 MB / 1.307 GB Notification: Performance of NFPackage.collectConstants: time 0.01169/3.627, allocations: 1.129 MB / 2.337 GB, free: 14.53 MB / 1.307 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05441/3.682, allocations: 12.81 MB / 2.349 GB, free: 2.172 MB / 1.307 GB Notification: Performance of NFScalarize.scalarize: time 1.992/5.674, allocations: 7.737 MB / 2.357 GB, free: 68.33 MB / 1.307 GB Notification: Performance of NFVerifyModel.verify: time 0.03302/5.707, allocations: 7.342 MB / 2.364 GB, free: 68.3 MB / 1.307 GB Notification: Performance of NFConvertDAE.convert: time 0.1065/5.813, allocations: 59.12 MB / 2.422 GB, free: 66.5 MB / 1.307 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/5.813, allocations: 0.9844 kB / 2.422 GB, free: 66.5 MB / 1.307 GB Notification: Performance of FrontEnd: time 2.935e-06/5.813, allocations: 2.688 kB / 2.422 GB, free: 66.5 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.003156/5.817, allocations: 1.875 kB / 2.422 GB, free: 66.5 MB / 1.307 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6121 * Number of variables: 6121 Notification: Performance of Generate backend data structure: time 0.1228/5.939, allocations: 29.79 MB / 2.451 GB, free: 54.02 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/5.939, allocations: 8 kB / 2.451 GB, free: 54.02 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06932/6.009, allocations: 9.769 MB / 2.46 GB, free: 52.04 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08763/6.096, allocations: 30.46 MB / 2.49 GB, free: 46.89 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007458/6.104, allocations: 2.779 MB / 2.493 GB, free: 46.27 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01685/6.121, allocations: 2.405 MB / 2.495 GB, free: 46.25 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1306/6.251, allocations: 35.16 MB / 2.53 GB, free: 36.91 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001853/6.253, allocations: 36.47 kB / 2.53 GB, free: 36.91 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01523/6.269, allocations: 0.9855 MB / 2.531 GB, free: 36.91 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/6.27, allocations: 1 MB / 2.531 GB, free: 36.8 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09853/6.369, allocations: 33.44 MB / 2.564 GB, free: 30.64 MB / 1.307 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.4137/6.782, allocations: 141.8 MB / 2.703 GB, free: 5.531 MB / 1.37 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0476/6.83, allocations: 20.83 MB / 2.723 GB, free: 7.598 MB / 1.386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0273/6.857, allocations: 11.33 MB / 2.734 GB, free: 376 kB / 1.386 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.1012/6.959, allocations: 37.9 MB / 2.771 GB, free: 8.535 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03358/6.992, allocations: 11.42 MB / 2.782 GB, free: 13.05 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02215/7.014, allocations: 1.696 MB / 2.784 GB, free: 11.35 MB / 1.432 GB Notification: Performance of pre-optimization done (n=1388): time 5.55e-05/7.015, allocations: 0 / 2.784 GB, free: 11.35 MB / 1.432 GB Notification: Performance of matching and sorting (n=1396): time 0.2268/7.241, allocations: 57.16 MB / 2.84 GB, free: 1.422 MB / 1.479 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007658/7.242, allocations: 1.209 MB / 2.841 GB, free: 15.95 MB / 1.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0708/7.313, allocations: 21.01 MB / 2.861 GB, free: 11.07 MB / 1.511 GB Notification: Performance of collectPreVariables (initialization): time 0.006859/7.32, allocations: 346.9 kB / 2.862 GB, free: 10.73 MB / 1.511 GB Notification: Performance of collectInitialEqns (initialization): time 0.02722/7.347, allocations: 13.27 MB / 2.875 GB, free: 13.46 MB / 1.526 GB Notification: Performance of collectInitialBindings (initialization): time 0.01158/7.359, allocations: 4.782 MB / 2.879 GB, free: 8.723 MB / 1.526 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004782/7.364, allocations: 318.2 kB / 2.88 GB, free: 8.414 MB / 1.526 GB Notification: Performance of setup shared object (initialization): time 0.001753/7.365, allocations: 0.9323 MB / 2.881 GB, free: 7.477 MB / 1.526 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02658/7.392, allocations: 9.164 MB / 2.89 GB, free: 14.31 MB / 1.542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.315/8.707, allocations: 13.46 MB / 2.903 GB, free: 0.7478 GB / 1.542 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.05485/8.762, allocations: 22.76 MB / 2.925 GB, free: 0.7444 GB / 1.542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/8.762, allocations: 22.31 kB / 2.925 GB, free: 0.7444 GB / 1.542 GB Notification: Performance of matching and sorting (n=2040) (initialization): time 0.08099/8.843, allocations: 25.4 MB / 2.95 GB, free: 0.7425 GB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001447/8.845, allocations: 2.61 MB / 2.952 GB, free: 0.7392 GB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/8.845, allocations: 86.61 kB / 2.952 GB, free: 0.7392 GB / 1.542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003537/8.848, allocations: 0.9051 MB / 2.953 GB, free: 0.7389 GB / 1.542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02323/8.872, allocations: 4.184 MB / 2.957 GB, free: 0.7386 GB / 1.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/8.883, allocations: 15.4 MB / 2.972 GB, free: 0.7249 GB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03473/8.918, allocations: 2.72 MB / 2.975 GB, free: 0.7246 GB / 1.542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00599/8.924, allocations: 0.6972 MB / 2.976 GB, free: 0.7245 GB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/8.924, allocations: 2.219 kB / 2.976 GB, free: 0.7245 GB / 1.542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06222/8.986, allocations: 23.13 MB / 2.998 GB, free: 0.7157 GB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00032/8.987, allocations: 92.89 kB / 2.998 GB, free: 0.7157 GB / 1.542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002859/8.99, allocations: 0.8368 MB / 2.999 GB, free: 0.7154 GB / 1.542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02215/9.012, allocations: 4.117 MB / 3.003 GB, free: 0.7151 GB / 1.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/9.025, allocations: 17.69 MB / 3.021 GB, free: 0.6993 GB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03581/9.061, allocations: 2.665 MB / 3.023 GB, free: 0.699 GB / 1.542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005287/9.066, allocations: 0.6862 MB / 3.024 GB, free: 0.6989 GB / 1.542 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: baseCase.cooCoi.UAFroRated.TWatIn = 293.15 baseCase.cooCoi.UAFroRated.hAirIn = 45300.945. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 367 * Number of states: 0 () * Number of discrete variables: 50 (baseCase.cooCoi.UAFroRated.isFulDry,baseCase.cooCoi.UAFroRated.isFulWet,baseCase.cooCoi.flowRegime_nominal,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.hvaCon.con.y,hvaCon.con.y,$PRE.hvaCon.weaDat.conTimMin.tNext,hvaCon.weaDat.conTimMin.tNext,$PRE.hvaCon.weaDat.conTim.tNext,hvaCon.weaDat.conTim.tNext,$PRE.rooCon.weaDat.conTimMin.tNext,rooCon.weaDat.conTimMin.tNext,$PRE.rooCon.weaDat.conTim.tNext,rooCon.weaDat.conTim.tNext,hvaCon.weaDat.conTimMin.canRepeatWeatherFile,hvaCon.weaDat.conTim.canRepeatWeatherFile,rooCon.weaDat.conTimMin.canRepeatWeatherFile,rooCon.weaDat.conTim.canRepeatWeatherFile,$whenCondition6,$whenCondition5,baseCase.cooCoi.flowRegime,$PRE.baseCase.weaDat.conTimMin.tNext,baseCase.weaDat.conTimMin.tNext,$PRE.baseCase.weaDat.conTim.tNext,baseCase.weaDat.conTim.tNext,$PRE.baseCase.con.y,baseCase.con.y,baseCase.weaDat.conTimMin.canRepeatWeatherFile,baseCase.weaDat.conTim.canRepeatWeatherFile,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.hvaCon2.con.y,hvaCon2.con.y,$PRE.hvaCon2.weaDat.conTimMin.tNext,hvaCon2.weaDat.conTimMin.tNext,$PRE.hvaCon2.weaDat.conTim.tNext,hvaCon2.weaDat.conTim.tNext,$PRE.rooCon2.weaDat.conTimMin.tNext,rooCon2.weaDat.conTimMin.tNext,$PRE.rooCon2.weaDat.conTim.tNext,rooCon2.weaDat.conTim.tNext,hvaCon2.weaDat.conTimMin.canRepeatWeatherFile,hvaCon2.weaDat.conTim.canRepeatWeatherFile,rooCon2.weaDat.conTimMin.canRepeatWeatherFile,rooCon2.weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1981): * Single equations (assignments): 1946 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 7 {1 1,1 3,1 3,1 2,1 3,1 2,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.03039/9.097, allocations: 9.804 MB / 3.033 GB, free: 0.6943 GB / 1.542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01105/9.108, allocations: 2.201 MB / 3.036 GB, free: 0.6943 GB / 1.542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06729/9.175, allocations: 23.31 MB / 3.058 GB, free: 0.6855 GB / 1.542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04626/9.222, allocations: 19.22 MB / 3.077 GB, free: 0.6778 GB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/9.222, allocations: 0 / 3.077 GB, free: 0.6778 GB / 1.542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01982/9.241, allocations: 5.292 MB / 3.082 GB, free: 0.6758 GB / 1.542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01043/9.252, allocations: 313 kB / 3.082 GB, free: 0.6756 GB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0317/9.284, allocations: 2.531 MB / 3.085 GB, free: 0.6752 GB / 1.542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005379/9.289, allocations: 0.9036 MB / 3.086 GB, free: 0.6751 GB / 1.542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07012/9.359, allocations: 23.1 MB / 3.108 GB, free: 0.6602 GB / 1.542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08763/9.447, allocations: 34.42 MB / 3.142 GB, free: 0.6315 GB / 1.542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0203/9.467, allocations: 9.848 MB / 3.152 GB, free: 0.6232 GB / 1.542 GB Notification: Performance of sorting global known variables: time 0.04009/9.507, allocations: 14.57 MB / 3.166 GB, free: 0.6115 GB / 1.542 GB Notification: Performance of Backend: time 1.232e-06/9.507, allocations: 0 / 3.166 GB, free: 0.6115 GB / 1.542 GB Notification: Performance of simCode: created initialization part: time 0.1067/9.614, allocations: 32.95 MB / 3.198 GB, free: 0.5842 GB / 1.542 GB Notification: Performance of SimCode: time 0.1575/9.772, allocations: 71.01 MB / 3.267 GB, free: 0.519 GB / 1.542 GB Notification: Performance of Templates: time 1.882/11.65, allocations: 0.5547 GB / 3.822 GB, free: 0.6918 GB / 1.542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.sim & ./Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe 2>&1)