Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.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.FMI.ExportContainers.Validation.RoomHVAC,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.385/2.385, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.00135/0.00135, allocations: 181 kB / 326.2 MB, free: 2.848 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.527/2.527, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0008831/0.0008829, allocations: 93.97 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 17.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2048, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC): time 4.431/4.636, allocations: 1.006 GB / 1.906 GB, free: 25.71 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.3168/4.952, allocations: 162.7 MB / 2.065 GB, free: 12.08 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03596/4.989, allocations: 0.5723 MB / 2.065 GB, free: 11.85 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.03848/5.027, allocations: 7.08 MB / 2.072 GB, free: 6.438 MB / 1.057 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.1004/5.128, allocations: 21.97 MB / 2.094 GB, free: 8.297 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.06769/5.195, allocations: 14.07 MB / 2.107 GB, free: 11.96 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.2008/5.396, allocations: 103.5 MB / 2.208 GB, free: 6.355 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1057/5.502, allocations: 36.86 MB / 2.244 GB, free: 1.949 MB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0992/5.601, allocations: 28.2 MB / 2.272 GB, free: 7.086 MB / 1.245 GB Notification: Performance of NFSimplifyModel.simplify: time 2.536/8.138, allocations: 23.41 MB / 2.295 GB, free: 49.33 MB / 1.245 GB Notification: Performance of NFPackage.collectConstants: time 0.01514/8.153, allocations: 1.293 MB / 2.296 GB, free: 49.33 MB / 1.245 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06907/8.222, allocations: 12.43 MB / 2.308 GB, free: 49.33 MB / 1.245 GB Notification: Performance of NFScalarize.scalarize: time 0.02714/8.249, allocations: 8.812 MB / 2.317 GB, free: 49.33 MB / 1.245 GB Notification: Performance of NFVerifyModel.verify: time 0.02661/8.276, allocations: 8.4 MB / 2.325 GB, free: 49.3 MB / 1.245 GB Notification: Performance of NFConvertDAE.convert: time 0.1127/8.388, allocations: 68.16 MB / 2.392 GB, free: 40.59 MB / 1.245 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/8.389, allocations: 1.094 kB / 2.392 GB, free: 40.59 MB / 1.245 GB Notification: Performance of FrontEnd: time 3.065e-06/8.389, allocations: 0.7812 kB / 2.392 GB, free: 40.59 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.002553/8.391, allocations: 0 / 2.392 GB, free: 40.59 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6884 * Number of variables: 6884 Notification: Performance of Generate backend data structure: time 0.1441/8.535, allocations: 33.81 MB / 2.425 GB, free: 22.07 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/8.535, allocations: 10.75 kB / 2.425 GB, free: 22.07 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08375/8.619, allocations: 9.097 MB / 2.433 GB, free: 18.27 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1191/8.738, allocations: 34.72 MB / 2.467 GB, free: 8.238 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009138/8.748, allocations: 3.001 MB / 2.47 GB, free: 7.602 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01539/8.763, allocations: 2.694 MB / 2.473 GB, free: 7.582 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1643/8.927, allocations: 39.47 MB / 2.511 GB, free: 13.19 MB / 1.261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002873/8.93, allocations: 47.31 kB / 2.511 GB, free: 13.18 MB / 1.261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01779/8.948, allocations: 1.11 MB / 2.513 GB, free: 13.17 MB / 1.261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002794/8.951, allocations: 1.146 MB / 2.514 GB, free: 13.05 MB / 1.261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1751/9.126, allocations: 36.55 MB / 2.549 GB, free: 15.93 MB / 1.276 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.4322/9.558, allocations: 160.3 MB / 2.706 GB, free: 4.008 MB / 1.386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07298/9.631, allocations: 21.45 MB / 2.727 GB, free: 3.73 MB / 1.401 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0419/9.673, allocations: 12.31 MB / 2.739 GB, free: 7.406 MB / 1.417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007222/9.681, allocations: 2.991 MB / 2.742 GB, free: 3.934 MB / 1.417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06635/9.747, allocations: 12.3 MB / 2.754 GB, free: 7.535 MB / 1.432 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02554/9.773, allocations: 1.805 MB / 2.756 GB, free: 5.723 MB / 1.432 GB Notification: Performance of pre-optimization done (n=1558): time 5.676e-05/9.773, allocations: 0 / 2.756 GB, free: 5.723 MB / 1.432 GB Notification: Performance of matching and sorting (n=1570): time 1.876/11.65, allocations: 66.98 MB / 2.821 GB, free: 0.7305 GB / 1.479 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005436/11.65, allocations: 1.228 MB / 2.822 GB, free: 0.7292 GB / 1.479 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08992/11.74, allocations: 24.34 MB / 2.846 GB, free: 0.728 GB / 1.479 GB Notification: Performance of collectPreVariables (initialization): time 0.005991/11.75, allocations: 382.8 kB / 2.846 GB, free: 0.728 GB / 1.479 GB Notification: Performance of collectInitialEqns (initialization): time 0.03059/11.78, allocations: 15.14 MB / 2.861 GB, free: 0.7241 GB / 1.479 GB Notification: Performance of collectInitialBindings (initialization): time 0.01341/11.79, allocations: 5.401 MB / 2.866 GB, free: 0.72 GB / 1.479 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005879/11.8, allocations: 350.7 kB / 2.867 GB, free: 0.7198 GB / 1.479 GB Notification: Performance of setup shared object (initialization): time 0.002739/11.8, allocations: 1.009 MB / 2.868 GB, free: 0.7192 GB / 1.479 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04517/11.84, allocations: 9.788 MB / 2.877 GB, free: 0.7156 GB / 1.479 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04345/11.89, allocations: 14.61 MB / 2.892 GB, free: 0.7069 GB / 1.479 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04194/11.93, allocations: 12.12 MB / 2.903 GB, free: 0.7018 GB / 1.479 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/11.93, allocations: 25.12 kB / 2.903 GB, free: 0.7018 GB / 1.479 GB Notification: Performance of matching and sorting (n=2258) (initialization): time 0.1073/12.04, allocations: 27.3 MB / 2.93 GB, free: 0.691 GB / 1.479 GB Notification: Performance of prepare postOptimizeDAE: time 0.002135/12.04, allocations: 2.88 MB / 2.933 GB, free: 0.6873 GB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003928/12.04, allocations: 99.94 kB / 2.933 GB, free: 0.6873 GB / 1.479 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005025/12.04, allocations: 0.8405 MB / 2.934 GB, free: 0.687 GB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03798/12.08, allocations: 4.237 MB / 2.938 GB, free: 0.6867 GB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/12.1, allocations: 13.91 MB / 2.952 GB, free: 0.6748 GB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05029/12.15, allocations: 2.924 MB / 2.954 GB, free: 0.6743 GB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005893/12.16, allocations: 0.7391 MB / 2.955 GB, free: 0.6742 GB / 1.479 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/12.16, allocations: 4.531 kB / 2.955 GB, free: 0.6742 GB / 1.479 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09449/12.25, allocations: 24.81 MB / 2.979 GB, free: 0.6645 GB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004024/12.25, allocations: 96.62 kB / 2.979 GB, free: 0.6645 GB / 1.479 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/12.25, allocations: 0.7791 MB / 2.98 GB, free: 0.6642 GB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03743/12.29, allocations: 4.159 MB / 2.984 GB, free: 0.6639 GB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/12.31, allocations: 16.28 MB / 3 GB, free: 0.6482 GB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04803/12.36, allocations: 2.861 MB / 3.003 GB, free: 0.6463 GB / 1.479 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00571/12.37, allocations: 0.7276 MB / 3.004 GB, free: 0.6457 GB / 1.479 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 404 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$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,$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,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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 (2194): * Single equations (assignments): 2160 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 7,(1,100.0%) 7,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 7} * Non-linear torn systems: 4 {1 3,1 3,1 2,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.04306/12.41, allocations: 11.85 MB / 3.015 GB, free: 0.6358 GB / 1.479 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01324/12.42, allocations: 2.478 MB / 3.018 GB, free: 0.6333 GB / 1.479 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1153/12.54, allocations: 24.97 MB / 3.042 GB, free: 0.6127 GB / 1.479 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07357/12.61, allocations: 20.59 MB / 3.062 GB, free: 0.5948 GB / 1.479 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/12.61, allocations: 4 kB / 3.062 GB, free: 0.5948 GB / 1.479 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02786/12.64, allocations: 5.991 MB / 3.068 GB, free: 0.5897 GB / 1.479 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01278/12.65, allocations: 354.2 kB / 3.068 GB, free: 0.5894 GB / 1.479 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04599/12.7, allocations: 2.715 MB / 3.071 GB, free: 0.5874 GB / 1.479 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005883/12.71, allocations: 0.9999 MB / 3.072 GB, free: 0.5868 GB / 1.479 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1056/12.81, allocations: 24.89 MB / 3.096 GB, free: 0.5663 GB / 1.479 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.163/12.97, allocations: 37.43 MB / 3.133 GB, free: 0.5297 GB / 1.479 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03994/13.01, allocations: 10.61 MB / 3.143 GB, free: 0.5193 GB / 1.479 GB Notification: Performance of sorting global known variables: time 0.04851/13.06, allocations: 17.01 MB / 3.16 GB, free: 0.5028 GB / 1.479 GB Notification: Performance of Backend: time 1.603e-06/13.06, allocations: 0 / 3.16 GB, free: 0.5028 GB / 1.479 GB Notification: Performance of simCode: created initialization part: time 0.1308/13.19, allocations: 34.58 MB / 3.194 GB, free: 481.3 MB / 1.479 GB Notification: Performance of SimCode: time 0.2594/13.45, allocations: 82.51 MB / 3.274 GB, free: 399 MB / 1.479 GB Notification: Performance of Templates: time 3.275/16.73, allocations: 0.6072 GB / 3.881 GB, free: 0.5679 GB / 1.48 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.sim & ./Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FMI.ExportContainers.Validation.RoomHVAC.pipe 2>&1)