Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.091/2.091, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001294/0.001294, allocations: 184.2 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.276/2.276, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001313/0.001313, allocations: 93.42 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004574, allocations: 11.94 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1844, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.03616/0.2206, allocations: 28.02 MB / 0.9269 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8742/1.095, allocations: 144.9 MB / 1.068 GB, free: 4.039 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/1.098, allocations: 44.91 kB / 1.068 GB, free: 4.039 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/1.1, allocations: 491.9 kB / 1.069 GB, free: 4.027 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.006319/1.107, allocations: 1.341 MB / 1.07 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00629/1.113, allocations: 1.335 MB / 1.071 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.05508/1.168, allocations: 36.86 MB / 1.107 GB, free: 3.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0277/1.196, allocations: 12.52 MB / 1.12 GB, free: 17.08 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01913/1.215, allocations: 7.934 MB / 1.127 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01916/1.234, allocations: 8.107 MB / 1.135 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.003301/1.238, allocations: 442.4 kB / 1.136 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01058/1.248, allocations: 1.319 MB / 1.137 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.005977/1.254, allocations: 2.272 MB / 1.139 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.007097/1.261, allocations: 2.51 MB / 1.142 GB, free: 8.406 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02767/1.289, allocations: 16.5 MB / 1.158 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/1.289, allocations: 0 / 1.158 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.176e-06/1.289, allocations: 0 / 1.158 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006068/1.29, allocations: 0 / 1.158 GB, free: 10.31 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: 2396 * Number of variables: 2396 Notification: Performance of Generate backend data structure: time 0.04057/1.33, allocations: 11.34 MB / 1.169 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.33, allocations: 8.031 kB / 1.169 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01964/1.35, allocations: 2.212 MB / 1.171 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04456/1.395, allocations: 13.89 MB / 1.185 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009269/1.396, allocations: 0.669 MB / 1.185 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004123/1.4, allocations: 0.8806 MB / 1.186 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04919/1.449, allocations: 14.05 MB / 1.2 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004444/1.449, allocations: 30.97 kB / 1.2 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003367/1.453, allocations: 392.8 kB / 1.2 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007541/1.454, allocations: 473.1 kB / 1.201 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04729/1.501, allocations: 12.73 MB / 1.213 GB, free: 15.44 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.1234/1.624, allocations: 50.82 MB / 1.263 GB, free: 4.496 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02675/1.651, allocations: 8.171 MB / 1.271 GB, free: 12.36 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01547/1.667, allocations: 4.467 MB / 1.275 GB, free: 7.871 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003687/1.671, allocations: 1.564 MB / 1.277 GB, free: 6.043 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01658/1.687, allocations: 4.226 MB / 1.281 GB, free: 1.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=553): time 1.109e-05/1.687, allocations: 0 / 1.281 GB, free: 1.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=553): time 0.04456/1.732, allocations: 10.83 MB / 1.291 GB, free: 6.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/1.732, allocations: 291.7 kB / 1.292 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02223/1.754, allocations: 8.435 MB / 1.3 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001627/1.756, allocations: 129.7 kB / 1.3 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.008171/1.764, allocations: 4.992 MB / 1.305 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00379/1.768, allocations: 1.923 MB / 1.307 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000903/1.769, allocations: 140 kB / 1.307 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006583/1.77, allocations: 0.5793 MB / 1.307 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01401/1.784, allocations: 3.624 MB / 1.311 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01645/1.8, allocations: 5.493 MB / 1.316 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01671/1.817, allocations: 4.617 MB / 1.321 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.487e-05/1.817, allocations: 16 kB / 1.321 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=875) (initialization): time 0.03911/1.856, allocations: 10.24 MB / 1.331 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001602/1.858, allocations: 1.721 MB / 1.333 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/1.858, allocations: 56 kB / 1.333 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/1.858, allocations: 91.94 kB / 1.333 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01594/1.874, allocations: 1.72 MB / 1.334 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002393/1.874, allocations: 119.6 kB / 1.335 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/1.889, allocations: 1.027 MB / 1.336 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.891, allocations: 335.9 kB / 1.336 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/1.891, allocations: 4 kB / 1.336 GB, free: 7.598 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03598/1.927, allocations: 9.48 MB / 1.345 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/1.927, allocations: 52 kB / 1.345 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/1.928, allocations: 88 kB / 1.345 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0158/1.943, allocations: 1.72 MB / 1.347 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00023/1.944, allocations: 127.5 kB / 1.347 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0143/1.958, allocations: 0.9407 MB / 1.348 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/1.96, allocations: 335.9 kB / 1.348 GB, free: 10.79 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled,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 (875): * Single equations (assignments): 875 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01144/1.971, allocations: 4.005 MB / 1.352 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003247/1.975, allocations: 0.8761 MB / 1.353 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03589/2.011, allocations: 8.851 MB / 1.362 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02895/2.04, allocations: 6.989 MB / 1.369 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/2.04, allocations: 4 kB / 1.369 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0084/2.048, allocations: 2.027 MB / 1.37 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00384/2.052, allocations: 120 kB / 1.371 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01482/2.067, allocations: 0.6487 MB / 1.371 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001573/2.068, allocations: 328 kB / 1.372 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0408/2.109, allocations: 8.669 MB / 1.38 GB, free: 10.04 MB / 0.9323 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04907/2.158, allocations: 13.65 MB / 1.393 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01309/2.171, allocations: 3.884 MB / 1.397 GB, free: 8.328 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01677/2.188, allocations: 5.89 MB / 1.403 GB, free: 2.473 MB / 0.948 GB Notification: Performance of Backend: time 3.246e-06/2.188, allocations: 0 / 1.403 GB, free: 2.473 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 1.214/3.403, allocations: 11.5 MB / 1.414 GB, free: 369.2 MB / 0.948 GB Notification: Performance of SimCode: time 0.08825/3.491, allocations: 29.21 MB / 1.443 GB, free: 358.2 MB / 0.948 GB Notification: Performance of Templates: time 0.4733/3.964, allocations: 217.5 MB / 1.655 GB, free: 152.2 MB / 0.948 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)