Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 109.7 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 190.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.189, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.3339/0.5229, allocations: 30.66 MB / 0.8147 GB, free: 30.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1653/0.6882, allocations: 159.3 MB / 0.9703 GB, free: 12.13 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.6903, allocations: 51.75 kB / 0.9703 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.6921, allocations: 0.6668 MB / 0.971 GB, free: 11.41 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.004189/0.6963, allocations: 1.66 MB / 0.9726 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.7005, allocations: 1.819 MB / 0.9744 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02932/0.7298, allocations: 34.25 MB / 1.008 GB, free: 5.625 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02005/0.7499, allocations: 16.7 MB / 1.024 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02005/0.77, allocations: 11.29 MB / 1.035 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01479/0.7848, allocations: 9.762 MB / 1.045 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003103/0.7879, allocations: 1.504 MB / 1.046 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006828/0.7947, allocations: 2.674 MB / 1.049 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003763/0.7985, allocations: 3.766 MB / 1.052 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01033/0.8088, allocations: 7.499 MB / 1.06 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/0.8282, allocations: 21.33 MB / 1.081 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.8283, allocations: 3.984 kB / 1.081 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8283, allocations: 0 / 1.081 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0005647/0.8289, allocations: 4 kB / 1.081 GB, free: 10.97 MB / 0.8731 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.03005/0.8589, allocations: 13.95 MB / 1.094 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.859, allocations: 8.031 kB / 1.094 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.8707, allocations: 2.171 MB / 1.096 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02432/0.8951, allocations: 12.48 MB / 1.109 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/0.8957, allocations: 0.666 MB / 1.109 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003492/0.8992, allocations: 0.902 MB / 1.11 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/0.9291, allocations: 14.24 MB / 1.124 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.9294, allocations: 39.7 kB / 1.124 GB, free: 13.85 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/0.9304, allocations: 396 kB / 1.124 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003919/0.9308, allocations: 473.3 kB / 1.125 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0238/0.9546, allocations: 12.74 MB / 1.137 GB, free: 248 kB / 0.92 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.6613/1.616, allocations: 52.68 MB / 1.189 GB, free: 255.4 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/1.63, allocations: 8.185 MB / 1.197 GB, free: 252.3 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008011/1.639, allocations: 4.479 MB / 1.201 GB, free: 250 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/1.64, allocations: 1.541 MB / 1.203 GB, free: 248.4 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008131/1.649, allocations: 4.33 MB / 1.207 GB, free: 245.9 MB / 0.92 GB Notification: Performance of pre-optimization done (n=553): time 8.085e-06/1.649, allocations: 0 / 1.207 GB, free: 245.9 MB / 0.92 GB Notification: Performance of matching and sorting (n=553): time 0.02259/1.671, allocations: 10.84 MB / 1.217 GB, free: 240.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/1.671, allocations: 288.8 kB / 1.218 GB, free: 240.1 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/1.684, allocations: 9.544 MB / 1.227 GB, free: 235.3 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.685, allocations: 139.2 kB / 1.227 GB, free: 235.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.003453/1.689, allocations: 4.972 MB / 1.232 GB, free: 230.9 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.00191/1.691, allocations: 1.918 MB / 1.234 GB, free: 229.3 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001773/1.692, allocations: 1.393 MB / 1.235 GB, free: 228.5 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.806e-05/1.692, allocations: 305.1 kB / 1.236 GB, free: 228.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006181/1.699, allocations: 3.716 MB / 1.239 GB, free: 226.2 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006912/1.706, allocations: 5.556 MB / 1.245 GB, free: 222 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/1.719, allocations: 9.639 MB / 1.254 GB, free: 212.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.506e-05/1.719, allocations: 16 kB / 1.254 GB, free: 212.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=875) (initialization): time 0.01733/1.736, allocations: 10.37 MB / 1.264 GB, free: 202.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/1.736, allocations: 28 kB / 1.264 GB, free: 202.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/1.736, allocations: 56.91 kB / 1.264 GB, free: 202 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-05/1.736, allocations: 91.94 kB / 1.264 GB, free: 202 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006661/1.743, allocations: 1.72 MB / 1.266 GB, free: 200.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.038e-05/1.743, allocations: 121.9 kB / 1.266 GB, free: 200.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008153/1.751, allocations: 1.03 MB / 1.267 GB, free: 199.1 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000593/1.752, allocations: 335.8 kB / 1.267 GB, free: 198.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01096/1.763, allocations: 7.289 MB / 1.275 GB, free: 191.4 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006883/1.77, allocations: 5.556 MB / 1.28 GB, free: 185.1 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01386/1.784, allocations: 9.636 MB / 1.289 GB, free: 174.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-05/1.784, allocations: 16 kB / 1.289 GB, free: 174.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=875) (initialization_lambda0): time 0.01899/1.803, allocations: 10.37 MB / 1.3 GB, free: 164.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/1.803, allocations: 28 kB / 1.3 GB, free: 164.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-05/1.803, allocations: 56.91 kB / 1.3 GB, free: 164.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.67e-05/1.803, allocations: 88 kB / 1.3 GB, free: 164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007103/1.81, allocations: 1.724 MB / 1.301 GB, free: 162.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/1.81, allocations: 125.4 kB / 1.301 GB, free: 162.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008958/1.819, allocations: 0.8303 MB / 1.302 GB, free: 161.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.82, allocations: 339.8 kB / 1.303 GB, free: 161 MB / 0.92 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.001634/1.822, allocations: 0.606 MB / 1.303 GB, free: 160.4 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002733/1.824, allocations: 0.8844 MB / 1.304 GB, free: 159.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/1.841, allocations: 8.772 MB / 1.313 GB, free: 150.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01261/1.854, allocations: 6.985 MB / 1.319 GB, free: 143.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.854, allocations: 3.938 kB / 1.319 GB, free: 143.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005568/1.859, allocations: 2.203 MB / 1.322 GB, free: 141.4 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002576/1.862, allocations: 127.8 kB / 1.322 GB, free: 141.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007728/1.87, allocations: 494.7 kB / 1.322 GB, free: 140.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006969/1.871, allocations: 324 kB / 1.323 GB, free: 140.4 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0181/1.889, allocations: 8.616 MB / 1.331 GB, free: 131.8 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02147/1.91, allocations: 13.66 MB / 1.344 GB, free: 118 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005985/1.916, allocations: 3.906 MB / 1.348 GB, free: 114.1 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.01081/1.927, allocations: 6.738 MB / 1.355 GB, free: 107.4 MB / 0.92 GB Notification: Performance of Backend: time 5.51e-07/1.927, allocations: 0 / 1.355 GB, free: 107.4 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02547/1.953, allocations: 11.68 MB / 1.366 GB, free: 96.25 MB / 0.92 GB Notification: Performance of SimCode: time 0.04334/1.996, allocations: 25.81 MB / 1.391 GB, free: 70.66 MB / 0.92 GB Notification: Performance of Templates: time 0.6014/2.597, allocations: 238.3 MB / 1.624 GB, free: 220.1 MB / 0.9513 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)