Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.956/1.956, allocations: 287.4 MB / 303.2 MB, free: 8.191 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.001344/0.001344, allocations: 186.4 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.515/1.515, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0007594/0.0007594, allocations: 101 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 16.11 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1683, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.05356/0.2219, allocations: 58.45 MB / 1.036 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.519/0.7409, allocations: 145.4 MB / 1.178 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.7431, allocations: 50 kB / 1.178 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.7445, allocations: 464 kB / 1.179 GB, free: 3.738 MB / 0.7136 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.006804/0.7513, allocations: 2.583 MB / 1.181 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005319/0.7567, allocations: 2.096 MB / 1.183 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01227/0.7689, allocations: 13.91 MB / 1.197 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007378/0.7764, allocations: 5.26 MB / 1.202 GB, free: 5.547 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01251/0.7889, allocations: 6.573 MB / 1.209 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005086/0.794, allocations: 3.177 MB / 1.212 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006321/0.7947, allocations: 180 kB / 1.212 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/0.8022, allocations: 3.87 MB / 1.216 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.8032, allocations: 0.9685 MB / 1.217 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.8046, allocations: 1.058 MB / 1.218 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.008556/0.8132, allocations: 7.657 MB / 1.225 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8132, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8132, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001566/0.8134, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.7605 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.0103/0.8237, allocations: 5.117 MB / 1.23 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.8238, allocations: 8.031 kB / 1.23 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.8352, allocations: 1.778 MB / 1.232 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.847, allocations: 6.076 MB / 1.238 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.8472, allocations: 300 kB / 1.238 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008616/0.8481, allocations: 396 kB / 1.238 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.8589, allocations: 5.913 MB / 1.244 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/0.859, allocations: 7.938 kB / 1.244 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004218/0.8595, allocations: 172 kB / 1.244 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.8596, allocations: 167.8 kB / 1.244 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.8709, allocations: 5.678 MB / 1.25 GB, free: 4.387 MB / 0.7761 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.02792/0.8989, allocations: 20.7 MB / 1.27 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007464/0.9064, allocations: 3.836 MB / 1.274 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003546/0.9099, allocations: 1.928 MB / 1.276 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002877/0.9128, allocations: 2.984 MB / 1.279 GB, free: 5.543 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00413/0.917, allocations: 2.154 MB / 1.281 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=284): time 4.718e-06/0.917, allocations: 0 / 1.281 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=284): time 0.0156/0.9326, allocations: 6.886 MB / 1.288 GB, free: 12.23 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.9327, allocations: 239.9 kB / 1.288 GB, free: 11.94 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00478/0.9375, allocations: 3.461 MB / 1.291 GB, free: 8.496 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003158/0.9378, allocations: 81.7 kB / 1.291 GB, free: 8.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.9396, allocations: 2.019 MB / 1.293 GB, free: 6.371 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008662/0.9404, allocations: 0.9665 MB / 1.294 GB, free: 5.391 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.9406, allocations: 60 kB / 1.294 GB, free: 5.332 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.9408, allocations: 440.2 kB / 1.295 GB, free: 4.895 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003464/0.9443, allocations: 1.622 MB / 1.296 GB, free: 3.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/0.9481, allocations: 2.251 MB / 1.298 GB, free: 0.793 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007364/0.9555, allocations: 3.987 MB / 1.302 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.9555, allocations: 4 kB / 1.302 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.009438/0.9649, allocations: 4.54 MB / 1.307 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002992/0.9653, allocations: 0.5552 MB / 1.307 GB, free: 7.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.9653, allocations: 16 kB / 1.307 GB, free: 7.184 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005865/0.9659, allocations: 104.8 kB / 1.307 GB, free: 7.078 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003694/0.9696, allocations: 0.8151 MB / 1.308 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.9718, allocations: 2.157 MB / 1.31 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004287/0.9761, allocations: 0.4927 MB / 1.311 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003056/0.9764, allocations: 171.9 kB / 1.311 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.154e-06/0.9764, allocations: 4 kB / 1.311 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009002/0.9855, allocations: 4.195 MB / 1.315 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.9855, allocations: 20.25 kB / 1.315 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/0.9861, allocations: 104.8 kB / 1.315 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003596/0.9897, allocations: 0.7918 MB / 1.316 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.9916, allocations: 1.575 MB / 1.318 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004227/0.9958, allocations: 469.1 kB / 1.318 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/0.9961, allocations: 167.9 kB / 1.318 GB, free: 11.79 MB / 0.8542 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 ($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 (387): * Single equations (assignments): 385 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002783/0.9989, allocations: 1.553 MB / 1.32 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008095/0.9997, allocations: 391.2 kB / 1.32 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.012, allocations: 5.077 MB / 1.325 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009256/1.021, allocations: 4.09 MB / 1.329 GB, free: 484 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.021, allocations: 3.938 kB / 1.329 GB, free: 480 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002569/1.024, allocations: 1.026 MB / 1.33 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006952/1.024, allocations: 67.86 kB / 1.33 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003136/1.028, allocations: 312.3 kB / 1.33 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/1.028, allocations: 214 kB / 1.331 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01173/1.04, allocations: 4.729 MB / 1.335 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01225/1.052, allocations: 6.328 MB / 1.341 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003504/1.056, allocations: 1.877 MB / 1.343 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003686/1.059, allocations: 2.437 MB / 1.346 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of Backend: time 2.014e-06/1.059, allocations: 0 / 1.346 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.074, allocations: 6.262 MB / 1.352 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of SimCode: time 0.01993/1.094, allocations: 12.28 MB / 1.364 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of Templates: time 0.5014/1.595, allocations: 102.7 MB / 1.464 GB, free: 348.8 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)