Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.000905/0.000905, allocations: 174.4 kB / 326.5 MB, free: 2.695 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.409/1.409, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0006966/0.0006966, allocations: 81.5 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002787, allocations: 12.12 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.02412/0.1775, allocations: 36.15 MB / 0.9321 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.5089/0.6864, allocations: 157.6 MB / 1.086 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.6884, allocations: 52.34 kB / 1.086 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.6898, allocations: 0.5422 MB / 1.087 GB, free: 14.26 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.004055/0.6939, allocations: 1.608 MB / 1.088 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.6982, allocations: 1.849 MB / 1.09 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01236/0.7106, allocations: 15.61 MB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005785/0.7164, allocations: 5.116 MB / 1.11 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006815/0.7232, allocations: 3.216 MB / 1.113 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004448/0.7277, allocations: 3.278 MB / 1.117 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0005538/0.7283, allocations: 176.5 kB / 1.117 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.732, allocations: 1.333 MB / 1.118 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.7331, allocations: 0.9711 MB / 1.119 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.736, allocations: 2.454 MB / 1.121 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00767/0.7436, allocations: 8.307 MB / 1.129 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7437, allocations: 0 / 1.129 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7437, allocations: 0 / 1.129 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001881/0.7439, allocations: 0 / 1.129 GB, free: 4.688 MB / 0.7136 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.009034/0.7529, allocations: 4.912 MB / 1.134 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.753, allocations: 10.91 kB / 1.134 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007549/0.7605, allocations: 1.425 MB / 1.136 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009215/0.7698, allocations: 5.215 MB / 1.141 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.77, allocations: 302 kB / 1.141 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009305/0.771, allocations: 401.8 kB / 1.141 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009962/0.7809, allocations: 5.801 MB / 1.147 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-05/0.781, allocations: 9.719 kB / 1.147 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003736/0.7814, allocations: 168.2 kB / 1.147 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.7816, allocations: 197.2 kB / 1.147 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.7922, allocations: 5.619 MB / 1.153 GB, free: 10.92 MB / 0.7292 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.0265/0.8187, allocations: 19.89 MB / 1.172 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006575/0.8253, allocations: 3.581 MB / 1.176 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003427/0.8287, allocations: 1.926 MB / 1.178 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002226/0.831, allocations: 1.941 MB / 1.18 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004063/0.835, allocations: 2.073 MB / 1.182 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=266): time 5.21e-06/0.8351, allocations: 0 / 1.182 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=266): time 0.0118/0.8469, allocations: 5.184 MB / 1.187 GB, free: 8.012 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.931e-05/0.847, allocations: 247.7 kB / 1.187 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004306/0.8513, allocations: 3.462 MB / 1.19 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.8515, allocations: 81.64 kB / 1.19 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.8531, allocations: 2.046 MB / 1.192 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000703/0.8538, allocations: 0.9048 MB / 1.193 GB, free: 1.234 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.8541, allocations: 247.9 kB / 1.194 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.8542, allocations: 309.1 kB / 1.194 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.8574, allocations: 1.599 MB / 1.195 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003693/0.8611, allocations: 2.278 MB / 1.198 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00691/0.8681, allocations: 3.969 MB / 1.201 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.8681, allocations: 4 kB / 1.201 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.009288/0.8774, allocations: 4.494 MB / 1.206 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000354/0.8778, allocations: 0.618 MB / 1.206 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.8778, allocations: 16 kB / 1.206 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.8784, allocations: 116.8 kB / 1.207 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.8817, allocations: 0.7722 MB / 1.207 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.8836, allocations: 1.569 MB / 1.209 GB, free: 288 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/0.8875, allocations: 493.5 kB / 1.209 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/0.8879, allocations: 151.9 kB / 1.21 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.8879, allocations: 6.656 kB / 1.21 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008517/0.8965, allocations: 4.149 MB / 1.214 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.8965, allocations: 16 kB / 1.214 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005454/0.897, allocations: 113.2 kB / 1.214 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003264/0.9003, allocations: 0.7722 MB / 1.214 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.9021, allocations: 1.571 MB / 1.216 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/0.9061, allocations: 456.3 kB / 1.216 GB, free: 8.402 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/0.9064, allocations: 151.9 kB / 1.217 GB, free: 8.254 MB / 0.7917 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 (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 (380): * Single equations (assignments): 379 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.002651/0.909, allocations: 1.535 MB / 1.218 GB, free: 6.707 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/0.9101, allocations: 387.2 kB / 1.218 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009493/0.9196, allocations: 4.515 MB / 1.223 GB, free: 1.75 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007048/0.9267, allocations: 3.55 MB / 1.226 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.9267, allocations: 0 / 1.226 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/0.9288, allocations: 0.929 MB / 1.227 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005631/0.9294, allocations: 63.84 kB / 1.227 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/0.9321, allocations: 320.7 kB / 1.228 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.9324, allocations: 174 kB / 1.228 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009381/0.9418, allocations: 4.144 MB / 1.232 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0114/0.9532, allocations: 6.364 MB / 1.238 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003214/0.9565, allocations: 1.833 MB / 1.24 GB, free: 176 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003295/0.9598, allocations: 2.442 MB / 1.242 GB, free: 13.75 MB / 0.823 GB Notification: Performance of Backend: time 4.01e-07/0.9598, allocations: 0 / 1.242 GB, free: 13.75 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0121/0.9719, allocations: 5.742 MB / 1.248 GB, free: 8.188 MB / 0.823 GB Notification: Performance of SimCode: time 0.01803/0.9899, allocations: 12.15 MB / 1.26 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.1412/1.131, allocations: 98.31 MB / 1.356 GB, free: 10.05 MB / 0.9323 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)