Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.617/1.617, allocations: 288.4 MB / 304.3 MB, free: 8.109 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.0009426/0.0009427, allocations: 187.1 kB / 372.9 MB, free: 10.14 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.372/1.372, allocations: 205.4 MB / 0.6316 GB, free: 9.918 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.0007672/0.0007672, allocations: 88.19 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 11.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.04601/0.2235, allocations: 56.93 MB / 1.036 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.5261/0.7496, allocations: 153.1 MB / 1.186 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.7526, allocations: 77.19 kB / 1.186 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.7552, allocations: 0.7627 MB / 1.187 GB, free: 15.62 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.006782/0.762, allocations: 2.377 MB / 1.189 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006013/0.768, allocations: 2.203 MB / 1.191 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.03852/0.8065, allocations: 46.08 MB / 1.236 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0231/0.8297, allocations: 17.24 MB / 1.253 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01833/0.848, allocations: 10.21 MB / 1.263 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01754/0.8656, allocations: 10.25 MB / 1.273 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.003572/0.8692, allocations: 0.5547 MB / 1.273 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009637/0.8789, allocations: 1.958 MB / 1.275 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.005083/0.884, allocations: 2.898 MB / 1.278 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.01224/0.8962, allocations: 7.295 MB / 1.285 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.02066/0.9169, allocations: 21.21 MB / 1.306 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.917, allocations: 0 / 1.306 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.784e-06/0.917, allocations: 0 / 1.306 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006575/0.9176, allocations: 3.938 kB / 1.306 GB, free: 13.25 MB / 0.8386 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.03053/0.9482, allocations: 14.13 MB / 1.32 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.9482, allocations: 16.02 kB / 1.32 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.9669, allocations: 3.368 MB / 1.323 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03293/0.9998, allocations: 17.5 MB / 1.34 GB, free: 9.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007069/1.001, allocations: 0.8587 MB / 1.341 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/1.004, allocations: 1.152 MB / 1.342 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03663/1.04, allocations: 18.11 MB / 1.36 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002628/1.041, allocations: 31.72 kB / 1.36 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001598/1.042, allocations: 0.4961 MB / 1.36 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004999/1.043, allocations: 0.5806 MB / 1.361 GB, free: 4.203 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03757/1.08, allocations: 16.27 MB / 1.377 GB, free: 3.914 MB / 0.9011 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.7543/1.835, allocations: 64.26 MB / 1.44 GB, free: 295.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02016/1.855, allocations: 10.36 MB / 1.45 GB, free: 294.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01037/1.865, allocations: 5.71 MB / 1.455 GB, free: 292 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002377/1.868, allocations: 2.458 MB / 1.458 GB, free: 289.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01081/1.878, allocations: 5.87 MB / 1.463 GB, free: 287.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=706): time 1.023e-05/1.878, allocations: 0 / 1.463 GB, free: 287.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=706): time 0.02945/1.908, allocations: 14.16 MB / 1.477 GB, free: 283.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.908, allocations: 308.4 kB / 1.478 GB, free: 282.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/1.921, allocations: 10.54 MB / 1.488 GB, free: 279 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001515/1.923, allocations: 171.1 kB / 1.488 GB, free: 278.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004433/1.927, allocations: 6.375 MB / 1.494 GB, free: 274.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00243/1.93, allocations: 2.454 MB / 1.497 GB, free: 272.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004841/1.93, allocations: 173 kB / 1.497 GB, free: 272.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003131/1.93, allocations: 0.6561 MB / 1.497 GB, free: 271.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008249/1.939, allocations: 4.662 MB / 1.502 GB, free: 269.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00904/1.948, allocations: 6.937 MB / 1.509 GB, free: 264 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01787/1.966, allocations: 12.12 MB / 1.521 GB, free: 256.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.317e-05/1.966, allocations: 20.03 kB / 1.521 GB, free: 256.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.02333/1.989, allocations: 13.11 MB / 1.533 GB, free: 244.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00119/1.99, allocations: 2.065 MB / 1.535 GB, free: 241.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-05/1.99, allocations: 64 kB / 1.536 GB, free: 241.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007288/1.991, allocations: 204.4 kB / 1.536 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01073/2.002, allocations: 2.204 MB / 1.538 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/2.004, allocations: 1.678 MB / 1.539 GB, free: 237.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/2.015, allocations: 1.331 MB / 1.541 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/2.016, allocations: 427.8 kB / 1.541 GB, free: 235.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/2.016, allocations: 4 kB / 1.541 GB, free: 235.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02251/2.039, allocations: 12.17 MB / 1.553 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.024e-05/2.039, allocations: 67.39 kB / 1.553 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/2.039, allocations: 188.9 kB / 1.553 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009229/2.048, allocations: 2.204 MB / 1.555 GB, free: 220.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/2.05, allocations: 1.68 MB / 1.557 GB, free: 219.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01005/2.06, allocations: 1.211 MB / 1.558 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000801/2.061, allocations: 431.8 kB / 1.559 GB, free: 217.4 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 ($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 (1104): * Single equations (assignments): 1103 * 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.007407/2.068, allocations: 4.876 MB / 1.563 GB, free: 212.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002407/2.071, allocations: 1.111 MB / 1.565 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02132/2.092, allocations: 12.2 MB / 1.576 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01572/2.108, allocations: 9.352 MB / 1.586 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/2.108, allocations: 0 / 1.586 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005865/2.114, allocations: 2.645 MB / 1.588 GB, free: 187 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002936/2.117, allocations: 148 kB / 1.588 GB, free: 186.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009522/2.126, allocations: 0.8349 MB / 1.589 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007365/2.127, allocations: 409.1 kB / 1.59 GB, free: 185.6 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02324/2.15, allocations: 11.26 MB / 1.601 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02704/2.177, allocations: 17.54 MB / 1.618 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00764/2.185, allocations: 5.057 MB / 1.623 GB, free: 151.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01207/2.197, allocations: 7.364 MB / 1.63 GB, free: 144.4 MB / 0.948 GB Notification: Performance of Backend: time 6.81e-07/2.197, allocations: 0 / 1.63 GB, free: 144.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03523/2.232, allocations: 14.63 MB / 1.644 GB, free: 130.1 MB / 0.948 GB Notification: Performance of SimCode: time 0.08642/2.319, allocations: 36.63 MB / 1.68 GB, free: 93.46 MB / 0.948 GB Notification: Performance of Templates: time 1.39/3.709, allocations: 275.2 MB / 1.949 GB, free: 200.4 MB / 0.9638 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)