Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 251.5 MB / 267.4 MB, free: 11.08 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.0009456/0.0009456, allocations: 176.7 kB / 326.5 MB, free: 2.715 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.396/1.396, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007094/0.0007094, allocations: 96.42 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 8.125 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1455, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.0208/0.1663, allocations: 30.13 MB / 0.9262 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.4833/0.6497, allocations: 156.9 MB / 1.079 GB, free: 296 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.6518, allocations: 48.75 kB / 1.079 GB, free: 296 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.6533, allocations: 0.5309 MB / 1.08 GB, free: 284 kB / 0.698 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.003831/0.6572, allocations: 1.511 MB / 1.081 GB, free: 204 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.6608, allocations: 1.61 MB / 1.083 GB, free: 148 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02987/0.6907, allocations: 43.25 MB / 1.125 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01498/0.7057, allocations: 13.05 MB / 1.138 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01346/0.7192, allocations: 7.991 MB / 1.146 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01356/0.7328, allocations: 8.565 MB / 1.154 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001893/0.7347, allocations: 440 kB / 1.155 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006109/0.7408, allocations: 1.479 MB / 1.156 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.002543/0.7434, allocations: 2.401 MB / 1.158 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.008843/0.7522, allocations: 5.94 MB / 1.164 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.01832/0.7706, allocations: 19.47 MB / 1.183 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.7706, allocations: 0 / 1.183 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7706, allocations: 0 / 1.183 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0004711/0.7711, allocations: 0 / 1.183 GB, free: 13.7 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: 2396 * Number of variables: 2396 Notification: Performance of Generate backend data structure: time 0.02267/0.7938, allocations: 11.22 MB / 1.194 GB, free: 2.469 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.7938, allocations: 8.031 kB / 1.194 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.8049, allocations: 2.214 MB / 1.196 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02505/0.83, allocations: 14.17 MB / 1.21 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/0.8305, allocations: 0.6656 MB / 1.211 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/0.8327, allocations: 0.8896 MB / 1.212 GB, free: 0.8047 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02536/0.8581, allocations: 14.12 MB / 1.225 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/0.8583, allocations: 31.72 kB / 1.225 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/0.8593, allocations: 386.7 kB / 1.226 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003695/0.8597, allocations: 477.3 kB / 1.226 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02462/0.8843, allocations: 12.8 MB / 1.239 GB, free: 4.555 MB / 0.8073 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.06537/0.9497, allocations: 50.82 MB / 1.288 GB, free: 16 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/0.9632, allocations: 8.216 MB / 1.296 GB, free: 7.836 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007233/0.9705, allocations: 4.49 MB / 1.301 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/0.9724, allocations: 1.566 MB / 1.302 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007962/0.9804, allocations: 4.242 MB / 1.307 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 7.334e-06/0.9804, allocations: 0 / 1.307 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.02209/1.003, allocations: 10.88 MB / 1.317 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.003, allocations: 287.7 kB / 1.317 GB, free: 1.855 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01263/1.015, allocations: 8.507 MB / 1.326 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001154/1.017, allocations: 133.7 kB / 1.326 GB, free: 9.242 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004833/1.021, allocations: 4.984 MB / 1.331 GB, free: 4.238 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.024, allocations: 1.922 MB / 1.333 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008402/1.025, allocations: 0.5517 MB / 1.333 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/1.025, allocations: 309.1 kB / 1.333 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006768/1.031, allocations: 3.648 MB / 1.337 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008235/1.04, allocations: 5.515 MB / 1.342 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/1.056, allocations: 9.621 MB / 1.352 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-05/1.056, allocations: 16 kB / 1.352 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=875) (initialization): time 0.01951/1.075, allocations: 10.29 MB / 1.362 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001177/1.077, allocations: 1.722 MB / 1.364 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.648e-05/1.077, allocations: 52 kB / 1.364 GB, free: 172 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.957e-05/1.077, allocations: 96 kB / 1.364 GB, free: 76 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007396/1.084, allocations: 1.716 MB / 1.365 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001216/1.084, allocations: 123.6 kB / 1.365 GB, free: 14.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007833/1.092, allocations: 1.027 MB / 1.366 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009228/1.093, allocations: 339.8 kB / 1.367 GB, free: 12.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/1.093, allocations: 4 kB / 1.367 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01692/1.11, allocations: 9.523 MB / 1.376 GB, free: 3.273 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-05/1.11, allocations: 56.19 kB / 1.376 GB, free: 3.219 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.297e-05/1.11, allocations: 92 kB / 1.376 GB, free: 3.129 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006669/1.117, allocations: 1.72 MB / 1.378 GB, free: 1.406 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001043/1.117, allocations: 127.5 kB / 1.378 GB, free: 1.281 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007211/1.124, allocations: 0.9378 MB / 1.379 GB, free: 348 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006272/1.125, allocations: 339.8 kB / 1.379 GB, free: 8 kB / 0.948 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006282/1.131, allocations: 4.001 MB / 1.383 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002105/1.133, allocations: 0.8722 MB / 1.384 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/1.15, allocations: 8.867 MB / 1.393 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01253/1.162, allocations: 7.008 MB / 1.4 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.162, allocations: 0 / 1.4 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004635/1.167, allocations: 2.004 MB / 1.401 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/1.169, allocations: 119.9 kB / 1.402 GB, free: 8.891 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00601/1.175, allocations: 0.6458 MB / 1.402 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/1.175, allocations: 320 kB / 1.403 GB, free: 7.934 MB / 0.9792 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5886/1.764, allocations: 8.715 MB / 1.411 GB, free: 399.5 MB / 0.9793 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02422/1.788, allocations: 13.68 MB / 1.424 GB, free: 398.3 MB / 0.9793 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006751/1.795, allocations: 3.922 MB / 1.428 GB, free: 396.8 MB / 0.9793 GB Notification: Performance of sorting global known variables: time 0.008753/1.804, allocations: 5.965 MB / 1.434 GB, free: 394.9 MB / 0.9793 GB Notification: Performance of Backend: time 7.41e-07/1.804, allocations: 0 / 1.434 GB, free: 394.9 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.02468/1.828, allocations: 11.58 MB / 1.445 GB, free: 391.2 MB / 0.9793 GB Notification: Performance of SimCode: time 0.04473/1.873, allocations: 29.75 MB / 1.474 GB, free: 372.8 MB / 0.9793 GB Notification: Performance of Templates: time 0.2578/2.131, allocations: 222.5 MB / 1.692 GB, free: 150.8 MB / 0.9793 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)