Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 304.3 MB, free: 8.129 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.0009588/0.000959, allocations: 175.2 kB / 372.9 MB, free: 10.16 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.391/1.391, allocations: 205.4 MB / 0.6316 GB, free: 9.918 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.0007988/0.0007985, allocations: 102.5 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.000387, allocations: 12.47 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1777, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.0275/0.2053, allocations: 33.65 MB / 1.014 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.5716/0.7769, allocations: 145.6 MB / 1.156 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002129/0.779, allocations: 49.62 kB / 1.156 GB, free: 7.535 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.7808, allocations: 0.4901 MB / 1.156 GB, free: 7.258 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.00492/0.7858, allocations: 1.486 MB / 1.158 GB, free: 6.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005043/0.7908, allocations: 1.566 MB / 1.159 GB, free: 5.551 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01595/0.8068, allocations: 13.48 MB / 1.172 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007521/0.8143, allocations: 5.194 MB / 1.178 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006455/0.8208, allocations: 3.174 MB / 1.181 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005851/0.8267, allocations: 3.107 MB / 1.184 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.8279, allocations: 180.7 kB / 1.184 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.8324, allocations: 1.282 MB / 1.185 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001764/0.8342, allocations: 0.9377 MB / 1.186 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004752/0.839, allocations: 2.37 MB / 1.188 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008013/0.847, allocations: 6.969 MB / 1.195 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.847, allocations: 0 / 1.195 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/0.847, allocations: 4 kB / 1.195 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003086/0.8474, allocations: 0 / 1.195 GB, free: 15.15 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01225/0.8596, allocations: 4.919 MB / 1.2 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8597, allocations: 11.97 kB / 1.2 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/0.868, allocations: 1.423 MB / 1.201 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009812/0.8778, allocations: 5.238 MB / 1.206 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.8781, allocations: 307.8 kB / 1.207 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008276/0.8789, allocations: 399.9 kB / 1.207 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.8914, allocations: 5.815 MB / 1.213 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.386e-05/0.8915, allocations: 15.94 kB / 1.213 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/0.892, allocations: 168 kB / 1.213 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001722/0.8922, allocations: 187.6 kB / 1.213 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.9057, allocations: 5.607 MB / 1.219 GB, free: 6.75 MB / 0.7448 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.03295/0.9387, allocations: 19.94 MB / 1.238 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007515/0.9463, allocations: 3.572 MB / 1.242 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003983/0.9503, allocations: 1.919 MB / 1.243 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002265/0.9526, allocations: 1.939 MB / 1.245 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004328/0.9569, allocations: 2.089 MB / 1.247 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=266): time 4.919e-06/0.957, allocations: 0 / 1.247 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of matching and sorting (n=266): time 0.01284/0.9698, allocations: 5.173 MB / 1.252 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.97, allocations: 243.7 kB / 1.253 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/0.9751, allocations: 3.434 MB / 1.256 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0006222/0.9758, allocations: 77.7 kB / 1.256 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/0.9775, allocations: 2.042 MB / 1.258 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.9787, allocations: 0.9049 MB / 1.259 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.9789, allocations: 60 kB / 1.259 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.9791, allocations: 432.2 kB / 1.259 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003606/0.9827, allocations: 1.587 MB / 1.261 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/0.9868, allocations: 2.259 MB / 1.263 GB, free: 7.543 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007924/0.9948, allocations: 3.954 MB / 1.267 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.9948, allocations: 4 kB / 1.267 GB, free: 3.312 MB / 0.7917 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.01287/1.008, allocations: 4.463 MB / 1.271 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005885/1.008, allocations: 0.6174 MB / 1.272 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/1.008, allocations: 20 kB / 1.272 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/1.009, allocations: 116.8 kB / 1.272 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003667/1.013, allocations: 0.7761 MB / 1.273 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/1.015, allocations: 1.574 MB / 1.274 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/1.019, allocations: 484.6 kB / 1.275 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004549/1.02, allocations: 151.9 kB / 1.275 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.02, allocations: 4 kB / 1.275 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00919/1.029, allocations: 4.121 MB / 1.279 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/1.029, allocations: 20 kB / 1.279 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/1.029, allocations: 109.6 kB / 1.279 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003937/1.033, allocations: 0.7761 MB / 1.28 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/1.035, allocations: 1.572 MB / 1.281 GB, free: 3.902 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/1.04, allocations: 464 kB / 1.282 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007032/1.041, allocations: 155.9 kB / 1.282 GB, free: 3.297 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (380): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003481/1.044, allocations: 1.536 MB / 1.284 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.046, allocations: 395.1 kB / 1.284 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/1.056, allocations: 4.484 MB / 1.288 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007351/1.063, allocations: 3.531 MB / 1.292 GB, free: 9.195 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.063, allocations: 4 kB / 1.292 GB, free: 9.191 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002604/1.066, allocations: 0.9872 MB / 1.293 GB, free: 8.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008671/1.067, allocations: 55.98 kB / 1.293 GB, free: 8.125 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/1.07, allocations: 317.8 kB / 1.293 GB, free: 7.816 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/1.07, allocations: 170 kB / 1.293 GB, free: 7.648 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01043/1.081, allocations: 4.129 MB / 1.297 GB, free: 3.469 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01296/1.094, allocations: 6.341 MB / 1.303 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003873/1.098, allocations: 1.825 MB / 1.305 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005204/1.103, allocations: 2.406 MB / 1.308 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of Backend: time 9.92e-07/1.103, allocations: 0 / 1.308 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01731/1.12, allocations: 5.705 MB / 1.313 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of SimCode: time 0.02403/1.144, allocations: 11.92 MB / 1.325 GB, free: 7.277 MB / 0.8542 GB Notification: Performance of Templates: time 0.1509/1.295, allocations: 97.48 MB / 1.42 GB, free: 6.133 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)