Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001073/0.001073, allocations: 169.5 kB / 326.5 MB, free: 2.668 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.36/1.36, allocations: 205 MB / 0.5766 GB, free: 20.59 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.0006806/0.0006809, allocations: 88.55 kB / 0.6804 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 12.47 kB / 0.7938 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 105.4 MB / 0.8967 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.0447/0.1967, allocations: 64.67 MB / 0.9599 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4888/0.6855, allocations: 157.6 MB / 1.114 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.6875, allocations: 53.72 kB / 1.114 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.6888, allocations: 0.5212 MB / 1.114 GB, free: 13.39 MB / 0.7136 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.005963/0.6948, allocations: 2.814 MB / 1.117 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004938/0.6997, allocations: 2.42 MB / 1.119 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.712, allocations: 16.14 MB / 1.135 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006142/0.7182, allocations: 5.214 MB / 1.14 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/0.7291, allocations: 6.879 MB / 1.147 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004926/0.734, allocations: 3.357 MB / 1.15 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006619/0.7347, allocations: 180.4 kB / 1.15 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007454/0.7422, allocations: 4.29 MB / 1.155 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001163/0.7434, allocations: 1.019 MB / 1.156 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.7467, allocations: 2.499 MB / 1.158 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.7576, allocations: 9.422 MB / 1.167 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7576, allocations: 2.5 kB / 1.167 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7576, allocations: 0 / 1.167 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001994/0.7578, allocations: 4 kB / 1.167 GB, free: 13.47 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01001/0.7679, allocations: 5.118 MB / 1.172 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7679, allocations: 12.03 kB / 1.172 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.7795, allocations: 1.766 MB / 1.174 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.7906, allocations: 6.083 MB / 1.18 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.7909, allocations: 307.9 kB / 1.18 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000863/0.7918, allocations: 392 kB / 1.181 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.8026, allocations: 5.943 MB / 1.186 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/0.8027, allocations: 11.92 kB / 1.186 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/0.8032, allocations: 168 kB / 1.187 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.8033, allocations: 167.8 kB / 1.187 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.8145, allocations: 5.709 MB / 1.192 GB, free: 5.695 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.02774/0.8422, allocations: 20.71 MB / 1.213 GB, free: 396 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007422/0.8497, allocations: 3.86 MB / 1.216 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00359/0.8533, allocations: 1.932 MB / 1.218 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003042/0.8564, allocations: 2.997 MB / 1.221 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004393/0.8608, allocations: 2.158 MB / 1.223 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=284): time 4.859e-06/0.8608, allocations: 0 / 1.223 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=284): time 0.01618/0.877, allocations: 6.898 MB / 1.23 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.8771, allocations: 239.8 kB / 1.23 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/0.8818, allocations: 3.492 MB / 1.234 GB, free: 9.918 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003995/0.8823, allocations: 81.7 kB / 1.234 GB, free: 9.832 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.884, allocations: 2.027 MB / 1.236 GB, free: 7.793 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009743/0.885, allocations: 0.9601 MB / 1.237 GB, free: 6.84 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/0.8853, allocations: 252 kB / 1.237 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.687e-05/0.8854, allocations: 305.1 kB / 1.237 GB, free: 6.285 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/0.8889, allocations: 1.638 MB / 1.239 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003929/0.8928, allocations: 2.271 MB / 1.241 GB, free: 2.152 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007476/0.9003, allocations: 4.003 MB / 1.245 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.9004, allocations: 4 kB / 1.245 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.009856/0.9102, allocations: 4.567 MB / 1.249 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003439/0.9106, allocations: 0.5437 MB / 1.25 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.9107, allocations: 19.94 kB / 1.25 GB, free: 8.512 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006137/0.9113, allocations: 112.8 kB / 1.25 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003882/0.9152, allocations: 0.8073 MB / 1.251 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.9175, allocations: 2.16 MB / 1.253 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004624/0.9221, allocations: 0.5041 MB / 1.253 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/0.9225, allocations: 163.9 kB / 1.254 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.9225, allocations: 4 kB / 1.254 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008812/0.9313, allocations: 4.222 MB / 1.258 GB, free: 352 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9314, allocations: 16 kB / 1.258 GB, free: 336 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.9319, allocations: 109.4 kB / 1.258 GB, free: 224 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/0.9354, allocations: 0.7917 MB / 1.259 GB, free: 15.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.9372, allocations: 1.574 MB / 1.26 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.9415, allocations: 477 kB / 1.261 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/0.9419, allocations: 163.9 kB / 1.261 GB, free: 13.09 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (387): * Single equations (assignments): 385 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002959/0.9449, allocations: 1.551 MB / 1.262 GB, free: 11.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00112/0.946, allocations: 387.2 kB / 1.263 GB, free: 11.14 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/0.9583, allocations: 5.098 MB / 1.268 GB, free: 5.965 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009461/0.9678, allocations: 4.12 MB / 1.272 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.9678, allocations: 0 / 1.272 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/0.9702, allocations: 0.9874 MB / 1.273 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007161/0.9709, allocations: 67.86 kB / 1.273 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00318/0.9741, allocations: 307.4 kB / 1.273 GB, free: 360 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/0.9745, allocations: 210 kB / 1.273 GB, free: 148 kB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01151/0.9861, allocations: 4.748 MB / 1.278 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01231/0.9984, allocations: 6.367 MB / 1.284 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003527/1.002, allocations: 1.892 MB / 1.286 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003557/1.006, allocations: 2.464 MB / 1.288 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of Backend: time 5.01e-07/1.006, allocations: 0 / 1.288 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01422/1.02, allocations: 6.282 MB / 1.294 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of SimCode: time 0.01857/1.038, allocations: 12.5 MB / 1.307 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.1519/1.19, allocations: 104.9 MB / 1.409 GB, free: 5.406 MB / 0.9636 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)