Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.264/2.264, allocations: 287.4 MB / 303.2 MB, free: 8.184 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.001451/0.001451, allocations: 180.7 kB / 371.8 MB, free: 10.82 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.323/1.323, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007649/0.0007649, allocations: 97.28 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003558, allocations: 15.06 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1815, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue): time 0.0272/0.2087, allocations: 33.67 MB / 1.012 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.5443/0.7531, allocations: 145.6 MB / 1.154 GB, free: 7.812 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002182/0.7553, allocations: 49.78 kB / 1.154 GB, free: 7.793 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.7569, allocations: 0.4893 MB / 1.155 GB, free: 7.516 MB / 0.698 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.004599/0.7615, allocations: 1.429 MB / 1.156 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00443/0.7659, allocations: 1.546 MB / 1.158 GB, free: 5.938 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01438/0.7803, allocations: 13.49 MB / 1.171 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006434/0.7868, allocations: 5.174 MB / 1.176 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005529/0.7924, allocations: 3.171 MB / 1.179 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005091/0.7975, allocations: 3.106 MB / 1.182 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007296/0.7982, allocations: 178.6 kB / 1.182 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/0.8022, allocations: 1.135 MB / 1.183 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.8033, allocations: 0.9391 MB / 1.184 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.8049, allocations: 1.046 MB / 1.185 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00698/0.8119, allocations: 6.939 MB / 1.192 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8119, allocations: 0 / 1.192 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/0.812, allocations: 0 / 1.192 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001919/0.8122, allocations: 0 / 1.192 GB, free: 1.773 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.01053/0.8227, allocations: 4.909 MB / 1.197 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.8228, allocations: 8.031 kB / 1.197 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00814/0.8309, allocations: 1.434 MB / 1.198 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.8412, allocations: 5.237 MB / 1.203 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.8414, allocations: 303.9 kB / 1.204 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007837/0.8422, allocations: 407.9 kB / 1.204 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.8549, allocations: 5.814 MB / 1.21 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.708e-05/0.855, allocations: 7.938 kB / 1.21 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004556/0.8555, allocations: 176 kB / 1.21 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001595/0.8556, allocations: 175.7 kB / 1.21 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.8672, allocations: 5.603 MB / 1.216 GB, free: 9.641 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.02751/0.8947, allocations: 19.96 MB / 1.235 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006838/0.9016, allocations: 3.559 MB / 1.239 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.9053, allocations: 1.926 MB / 1.24 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002163/0.9075, allocations: 1.931 MB / 1.242 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004109/0.9116, allocations: 2.1 MB / 1.244 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=266): time 4.9e-06/0.9116, allocations: 0 / 1.244 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=266): time 0.01222/0.9238, allocations: 5.173 MB / 1.249 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.9239, allocations: 235.7 kB / 1.25 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004719/0.9287, allocations: 3.434 MB / 1.253 GB, free: 2.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003226/0.929, allocations: 85.64 kB / 1.253 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.9308, allocations: 2.038 MB / 1.255 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007977/0.9316, allocations: 0.9166 MB / 1.256 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.9318, allocations: 60 kB / 1.256 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.932, allocations: 424.2 kB / 1.256 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003527/0.9355, allocations: 1.583 MB / 1.258 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003957/0.9395, allocations: 2.263 MB / 1.26 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007436/0.9469, allocations: 3.959 MB / 1.264 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.947, allocations: 4 kB / 1.264 GB, free: 6.176 MB / 0.7917 GB Notification: Performance of matching and sorting (n=382) (initialization): time 0.009716/0.9567, allocations: 4.471 MB / 1.268 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003834/0.9571, allocations: 0.6058 MB / 1.269 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.9571, allocations: 16 kB / 1.269 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.9578, allocations: 116.8 kB / 1.269 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/0.9613, allocations: 0.7839 MB / 1.27 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.9634, allocations: 1.567 MB / 1.271 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/0.9675, allocations: 488.6 kB / 1.272 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003369/0.9679, allocations: 151.9 kB / 1.272 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.9679, allocations: 4 kB / 1.272 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009002/0.9769, allocations: 4.126 MB / 1.276 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.9769, allocations: 16.19 kB / 1.276 GB, free: 9.367 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.9775, allocations: 113 kB / 1.276 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/0.9811, allocations: 0.78 MB / 1.277 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.983, allocations: 1.57 MB / 1.278 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/0.9869, allocations: 451.3 kB / 1.279 GB, free: 6.324 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/0.9873, allocations: 155.9 kB / 1.279 GB, free: 6.172 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.002916/0.9902, allocations: 1.528 MB / 1.281 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008245/0.991, allocations: 403.1 kB / 1.281 GB, free: 4.234 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009966/1.001, allocations: 4.491 MB / 1.285 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007588/1.009, allocations: 3.531 MB / 1.289 GB, free: 12.06 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.009, allocations: 0 / 1.289 GB, free: 12.06 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/1.012, allocations: 0.9911 MB / 1.29 GB, free: 11.05 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007311/1.012, allocations: 59.98 kB / 1.29 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003121/1.015, allocations: 312.8 kB / 1.29 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/1.016, allocations: 170 kB / 1.29 GB, free: 10.52 MB / 0.823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01014/1.026, allocations: 4.121 MB / 1.294 GB, free: 6.344 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0123/1.038, allocations: 6.342 MB / 1.3 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003372/1.042, allocations: 1.829 MB / 1.302 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003612/1.045, allocations: 2.402 MB / 1.305 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of Backend: time 4.31e-07/1.045, allocations: 0 / 1.305 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01311/1.058, allocations: 5.689 MB / 1.31 GB, free: 6.191 MB / 0.8386 GB Notification: Performance of SimCode: time 0.01931/1.078, allocations: 11.94 MB / 1.322 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of Templates: time 0.1495/1.227, allocations: 96.57 MB / 1.416 GB, free: 10.07 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)