Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001043/0.001043, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.302/1.302, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.67 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.001591/0.001592, allocations: 72.47 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1856, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea): time 0.3607/0.5463, allocations: 61.98 MB / 0.8453 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.184/0.7304, allocations: 168 MB / 1.009 GB, free: 4.004 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003866/0.7343, allocations: 91.44 kB / 1.009 GB, free: 3.914 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.7377, allocations: 1.097 MB / 1.011 GB, free: 2.809 MB / 0.795 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.008072/0.7458, allocations: 2.817 MB / 1.013 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.007459/0.7532, allocations: 3.029 MB / 1.016 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.03929/0.7925, allocations: 42.67 MB / 1.058 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02877/0.8213, allocations: 21.61 MB / 1.079 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02635/0.8477, allocations: 14.45 MB / 1.093 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02008/0.8678, allocations: 12.37 MB / 1.105 GB, free: 1.754 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.005688/0.8735, allocations: 1.945 MB / 1.107 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.8859, allocations: 3.575 MB / 1.111 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.008717/0.8947, allocations: 4.767 MB / 1.115 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01807/0.9128, allocations: 9.561 MB / 1.125 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.8106/1.723, allocations: 27.11 MB / 1.151 GB, free: 81.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.723, allocations: 0 / 1.151 GB, free: 81.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.335e-06/1.723, allocations: 0.9375 kB / 1.151 GB, free: 81.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0008296/1.724, allocations: 1.969 kB / 1.151 GB, free: 81.29 MB / 0.92 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.0559/1.78, allocations: 17.59 MB / 1.168 GB, free: 75.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/1.78, allocations: 9 kB / 1.168 GB, free: 75.43 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02345/1.804, allocations: 3.268 MB / 1.171 GB, free: 74.59 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03817/1.842, allocations: 15.47 MB / 1.187 GB, free: 72.65 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001115/1.843, allocations: 0.8557 MB / 1.187 GB, free: 72.63 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005398/1.848, allocations: 1.152 MB / 1.188 GB, free: 72.62 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05172/1.9, allocations: 18.14 MB / 1.206 GB, free: 70.9 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005748/1.901, allocations: 38.47 kB / 1.206 GB, free: 70.89 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004391/1.905, allocations: 0.4929 MB / 1.207 GB, free: 70.89 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005981/1.906, allocations: 0.5787 MB / 1.207 GB, free: 70.87 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03856/1.944, allocations: 16.23 MB / 1.223 GB, free: 69.33 MB / 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.1005/2.045, allocations: 66.18 MB / 1.288 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01902/2.064, allocations: 10.39 MB / 1.298 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01066/2.075, allocations: 5.71 MB / 1.303 GB, free: 15.38 MB / 0.9357 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003053/2.078, allocations: 2.43 MB / 1.306 GB, free: 12.52 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01375/2.092, allocations: 5.862 MB / 1.312 GB, free: 6.59 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=706): time 1.129e-05/2.092, allocations: 0 / 1.312 GB, free: 6.59 MB / 0.9357 GB Notification: Performance of matching and sorting (n=706): time 0.03833/2.13, allocations: 14.16 MB / 1.325 GB, free: 8.34 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/2.13, allocations: 304.9 kB / 1.326 GB, free: 7.984 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02336/2.153, allocations: 11.86 MB / 1.337 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.002038/2.156, allocations: 165.7 kB / 1.337 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.006883/2.162, allocations: 6.361 MB / 1.344 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.004148/2.167, allocations: 2.449 MB / 1.346 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003652/2.17, allocations: 1.757 MB / 1.348 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.888e-05/2.17, allocations: 309 kB / 1.348 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01088/2.181, allocations: 4.769 MB / 1.353 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01319/2.194, allocations: 7.01 MB / 1.36 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02424/2.219, allocations: 12.19 MB / 1.371 GB, free: 7.539 MB / 0.9982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.737e-05/2.219, allocations: 20 kB / 1.371 GB, free: 7.52 MB / 0.9982 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.03215/2.251, allocations: 13.26 MB / 1.384 GB, free: 10.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.429e-05/2.251, allocations: 32 kB / 1.384 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.676e-05/2.251, allocations: 64 kB / 1.385 GB, free: 10.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007037/2.252, allocations: 189.5 kB / 1.385 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/2.262, allocations: 2.197 MB / 1.387 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/2.264, allocations: 1.796 MB / 1.389 GB, free: 6.348 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.277, allocations: 1.306 MB / 1.39 GB, free: 5.031 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/2.278, allocations: 427.8 kB / 1.39 GB, free: 4.613 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01867/2.297, allocations: 9.124 MB / 1.399 GB, free: 11.47 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01343/2.31, allocations: 7.01 MB / 1.406 GB, free: 3.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02405/2.334, allocations: 12.18 MB / 1.418 GB, free: 6.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.329e-05/2.334, allocations: 20 kB / 1.418 GB, free: 6.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=1106) (initialization_lambda0): time 0.03207/2.366, allocations: 13.24 MB / 1.431 GB, free: 9.746 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/2.366, allocations: 32 kB / 1.431 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/2.367, allocations: 64 kB / 1.431 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006708/2.367, allocations: 191.4 kB / 1.431 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/2.378, allocations: 2.202 MB / 1.433 GB, free: 7.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/2.381, allocations: 1.792 MB / 1.435 GB, free: 5.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01324/2.394, allocations: 1.055 MB / 1.436 GB, free: 4.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/2.396, allocations: 442.5 kB / 1.437 GB, free: 4 MB / 1.061 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.002494/2.398, allocations: 0.7082 MB / 1.437 GB, free: 3.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003992/2.402, allocations: 1.112 MB / 1.438 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02749/2.43, allocations: 12.12 MB / 1.45 GB, free: 6.133 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02223/2.452, allocations: 9.346 MB / 1.459 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/2.452, allocations: 1.938 kB / 1.459 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008387/2.46, allocations: 2.774 MB / 1.462 GB, free: 9.863 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004007/2.464, allocations: 159.8 kB / 1.462 GB, free: 9.707 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.011/2.475, allocations: 0.6216 MB / 1.463 GB, free: 9.098 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.476, allocations: 413.1 kB / 1.463 GB, free: 8.691 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02978/2.506, allocations: 11.15 MB / 1.474 GB, free: 13.59 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03777/2.544, allocations: 17.52 MB / 1.491 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0103/2.554, allocations: 5.074 MB / 1.496 GB, free: 6.871 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.01476/2.569, allocations: 8.375 MB / 1.504 GB, free: 14.55 MB / 1.139 GB Notification: Performance of Backend: time 9.51e-07/2.569, allocations: 0 / 1.504 GB, free: 14.55 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.04119/2.61, allocations: 14.76 MB / 1.519 GB, free: 0.5938 MB / 1.139 GB Notification: Performance of SimCode: time 0.06811/2.679, allocations: 32.31 MB / 1.55 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of Templates: time 0.6852/3.364, allocations: 304.1 MB / 1.847 GB, free: 278.4 MB / 1.17 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)