Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, allocations: 251.5 MB / 267.4 MB, free: 11.13 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.0009001/0.0009001, allocations: 172.5 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.411/1.411, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007811/0.0007811, allocations: 80 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002907, allocations: 7.438 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1614, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.04276/0.2042, allocations: 61.21 MB / 0.9565 GB, free: 6.777 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.5259/0.7301, allocations: 165.6 MB / 1.118 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002937/0.7331, allocations: 81.03 kB / 1.118 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.7354, allocations: 0.8747 MB / 1.119 GB, free: 13.66 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.006385/0.7418, allocations: 2.571 MB / 1.122 GB, free: 13 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005751/0.7475, allocations: 2.69 MB / 1.124 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.03764/0.7852, allocations: 53.83 MB / 1.177 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02123/0.8064, allocations: 17 MB / 1.193 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01839/0.8249, allocations: 10.3 MB / 1.204 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01701/0.8419, allocations: 10.81 MB / 1.214 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.003412/0.8454, allocations: 0.5508 MB / 1.215 GB, free: 3.648 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009547/0.8549, allocations: 2.021 MB / 1.217 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.005277/0.8602, allocations: 3.005 MB / 1.22 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.01433/0.8746, allocations: 7.551 MB / 1.227 GB, free: 7.273 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.02872/0.9033, allocations: 24.78 MB / 1.251 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.9034, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9034, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0008199/0.9042, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3084 * Number of variables: 3084 Notification: Performance of Generate backend data structure: time 0.03422/0.9385, allocations: 14.11 MB / 1.265 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.9385, allocations: 8.031 kB / 1.265 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.019/0.9575, allocations: 3.368 MB / 1.268 GB, free: 13.56 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03418/0.9917, allocations: 17.42 MB / 1.285 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008662/0.9926, allocations: 0.8611 MB / 1.286 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003986/0.9967, allocations: 1.15 MB / 1.287 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04202/1.039, allocations: 18 MB / 1.305 GB, free: 8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004906/1.039, allocations: 39.7 kB / 1.305 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002882/1.042, allocations: 498.8 kB / 1.305 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005525/1.043, allocations: 0.5766 MB / 1.306 GB, free: 6.902 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03821/1.081, allocations: 16.36 MB / 1.322 GB, free: 6.523 MB / 0.8698 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.09691/1.178, allocations: 64.06 MB / 1.384 GB, free: 4.484 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/1.198, allocations: 10.42 MB / 1.395 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01091/1.209, allocations: 5.736 MB / 1.4 GB, free: 4.406 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002953/1.212, allocations: 2.455 MB / 1.403 GB, free: 1.516 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6144/1.826, allocations: 5.766 MB / 1.408 GB, free: 368 MB / 0.948 GB Notification: Performance of pre-optimization done (n=706): time 1.223e-05/1.826, allocations: 0 / 1.408 GB, free: 368 MB / 0.948 GB Notification: Performance of matching and sorting (n=706): time 0.03757/1.864, allocations: 14.22 MB / 1.422 GB, free: 366.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.864, allocations: 304.2 kB / 1.422 GB, free: 366.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/1.88, allocations: 10.62 MB / 1.433 GB, free: 362.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001594/1.882, allocations: 161.2 kB / 1.433 GB, free: 362.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005601/1.888, allocations: 6.375 MB / 1.439 GB, free: 359.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002872/1.891, allocations: 2.451 MB / 1.441 GB, free: 357.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001909/1.892, allocations: 0.6975 MB / 1.442 GB, free: 356.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.053e-05/1.893, allocations: 307.2 kB / 1.442 GB, free: 356.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009551/1.902, allocations: 4.697 MB / 1.447 GB, free: 355 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.913, allocations: 6.976 MB / 1.454 GB, free: 350.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02011/1.933, allocations: 12.17 MB / 1.466 GB, free: 342.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-05/1.933, allocations: 20 kB / 1.466 GB, free: 342.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02771/1.961, allocations: 13.18 MB / 1.479 GB, free: 329.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008179/1.962, allocations: 2.062 MB / 1.481 GB, free: 326.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.233e-05/1.962, allocations: 64 kB / 1.481 GB, free: 326.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/1.963, allocations: 188.8 kB / 1.481 GB, free: 325.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009439/1.972, allocations: 2.215 MB / 1.483 GB, free: 323.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/1.974, allocations: 1.67 MB / 1.485 GB, free: 321.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/1.985, allocations: 1.326 MB / 1.486 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.987, allocations: 431.8 kB / 1.486 GB, free: 320.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/1.987, allocations: 5.094 kB / 1.486 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02434/2.011, allocations: 12.23 MB / 1.498 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/2.011, allocations: 64 kB / 1.498 GB, free: 307.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006169/2.012, allocations: 193.2 kB / 1.499 GB, free: 307.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009523/2.022, allocations: 2.215 MB / 1.501 GB, free: 305.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/2.023, allocations: 1.673 MB / 1.502 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.034, allocations: 1.219 MB / 1.504 GB, free: 302.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/2.036, allocations: 427.8 kB / 1.504 GB, free: 302 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 294 * 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 (1104): * Single equations (assignments): 1103 * 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.008531/2.045, allocations: 4.864 MB / 1.509 GB, free: 297.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003477/2.048, allocations: 1.104 MB / 1.51 GB, free: 296 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02461/2.073, allocations: 12.25 MB / 1.522 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01679/2.09, allocations: 9.401 MB / 1.531 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/2.09, allocations: 4 kB / 1.531 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005595/2.095, allocations: 2.524 MB / 1.533 GB, free: 271.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002692/2.098, allocations: 163.8 kB / 1.534 GB, free: 271.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009058/2.107, allocations: 0.834 MB / 1.534 GB, free: 270.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000817/2.108, allocations: 421.1 kB / 1.535 GB, free: 270.2 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02415/2.132, allocations: 11.29 MB / 1.546 GB, free: 258.9 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02807/2.16, allocations: 17.6 MB / 1.563 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007761/2.168, allocations: 5.097 MB / 1.568 GB, free: 236.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01107/2.179, allocations: 7.458 MB / 1.575 GB, free: 228.7 MB / 0.948 GB Notification: Performance of Backend: time 4.71e-07/2.179, allocations: 0.5625 kB / 1.575 GB, free: 228.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03296/2.212, allocations: 14.68 MB / 1.59 GB, free: 214.4 MB / 0.948 GB Notification: Performance of SimCode: time 0.05782/2.27, allocations: 37.38 MB / 1.626 GB, free: 177 MB / 0.948 GB Notification: Performance of Templates: time 0.8987/3.169, allocations: 276.7 MB / 1.896 GB, free: 272.9 MB / 0.9482 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)