Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.153/2.153, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001248/0.001248, allocations: 174.5 kB / 326.3 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.355/2.355, allocations: 205.4 MB / 0.5772 GB, free: 21.17 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.0009307/0.0009306, allocations: 90.55 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007533/0.0007535, allocations: 16.69 kB / 0.7957 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1937, allocations: 106.3 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.08258/0.2763, allocations: 58.46 MB / 0.9566 GB, free: 7.398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.9194/1.196, allocations: 145.4 MB / 1.099 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/1.199, allocations: 49.59 kB / 1.099 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/1.203, allocations: 471.5 kB / 1.099 GB, free: 500 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.01506/1.218, allocations: 2.581 MB / 1.102 GB, free: 56 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009262/1.227, allocations: 2.083 MB / 1.104 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02023/1.248, allocations: 13.9 MB / 1.117 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/1.258, allocations: 5.058 MB / 1.122 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01858/1.276, allocations: 6.576 MB / 1.129 GB, free: 11 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008085/1.285, allocations: 3.181 MB / 1.132 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.00155/1.286, allocations: 182.4 kB / 1.132 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/1.299, allocations: 3.862 MB / 1.136 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002656/1.301, allocations: 0.9761 MB / 1.137 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002706/1.304, allocations: 1.052 MB / 1.138 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01423/1.318, allocations: 7.659 MB / 1.145 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.318, allocations: 0 / 1.145 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.735e-06/1.318, allocations: 0 / 1.145 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002872/1.319, allocations: 1.781 kB / 1.145 GB, free: 3.996 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.0183/1.337, allocations: 5.171 MB / 1.15 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/1.337, allocations: 10.91 kB / 1.15 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02036/1.357, allocations: 1.771 MB / 1.152 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01957/1.377, allocations: 5.944 MB / 1.158 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/1.377, allocations: 305.9 kB / 1.158 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/1.379, allocations: 401 kB / 1.158 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/1.401, allocations: 5.911 MB / 1.164 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/1.401, allocations: 7.938 kB / 1.164 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/1.402, allocations: 170.7 kB / 1.164 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002428/1.402, allocations: 169.9 kB / 1.164 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0236/1.426, allocations: 5.682 MB / 1.17 GB, free: 6.91 MB / 0.7292 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.05272/1.479, allocations: 20.71 MB / 1.19 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01429/1.493, allocations: 3.835 MB / 1.194 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007097/1.5, allocations: 1.936 MB / 1.196 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005078/1.505, allocations: 2.984 MB / 1.199 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008425/1.514, allocations: 2.148 MB / 1.201 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=284): time 7.194e-06/1.514, allocations: 0 / 1.201 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=284): time 0.02968/1.544, allocations: 6.866 MB / 1.208 GB, free: 8.234 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/1.544, allocations: 238.9 kB / 1.208 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008449/1.552, allocations: 3.466 MB / 1.211 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0009338/1.553, allocations: 77.33 kB / 1.211 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002879/1.556, allocations: 2.023 MB / 1.213 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.002062/1.558, allocations: 0.9724 MB / 1.214 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/1.559, allocations: 61.81 kB / 1.214 GB, free: 3.324 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003235/1.559, allocations: 432.2 kB / 1.215 GB, free: 2.945 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00706/1.566, allocations: 1.627 MB / 1.216 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007692/1.574, allocations: 2.242 MB / 1.218 GB, free: 16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007683/1.582, allocations: 1.971 MB / 1.22 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/1.582, allocations: 8 kB / 1.22 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01865/1.6, allocations: 4.539 MB / 1.225 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005582/1.601, allocations: 0.5516 MB / 1.225 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/1.601, allocations: 16 kB / 1.225 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/1.602, allocations: 113.9 kB / 1.225 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007967/1.61, allocations: 0.8002 MB / 1.226 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/1.614, allocations: 2.156 MB / 1.228 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009138/1.623, allocations: 0.5024 MB / 1.229 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009555/1.624, allocations: 164.3 kB / 1.229 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.624, allocations: 4 kB / 1.229 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02326/1.647, allocations: 4.2 MB / 1.233 GB, free: 4.121 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.61e-05/1.647, allocations: 12 kB / 1.233 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/1.649, allocations: 115.6 kB / 1.233 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01232/1.661, allocations: 0.796 MB / 1.234 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/1.666, allocations: 1.56 MB / 1.235 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/1.677, allocations: 478.5 kB / 1.236 GB, free: 1.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009335/1.678, allocations: 164.7 kB / 1.236 GB, free: 1.109 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (387): * Single equations (assignments): 385 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004667/1.683, allocations: 1.552 MB / 1.238 GB, free: 88 kB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/1.684, allocations: 393.1 kB / 1.238 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02369/1.708, allocations: 5.096 MB / 1.243 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01931/1.727, allocations: 4.104 MB / 1.247 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/1.727, allocations: 0 / 1.247 GB, free: 8.938 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004023/1.731, allocations: 1.018 MB / 1.248 GB, free: 8.176 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001637/1.733, allocations: 66.48 kB / 1.248 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007357/1.74, allocations: 314 kB / 1.248 GB, free: 7.887 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/1.741, allocations: 216 kB / 1.249 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02361/1.765, allocations: 4.726 MB / 1.253 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02588/1.791, allocations: 6.336 MB / 1.259 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007348/1.798, allocations: 1.877 MB / 1.261 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.006711/1.805, allocations: 2.433 MB / 1.264 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of Backend: time 7.12e-07/1.805, allocations: 0 / 1.264 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02821/1.833, allocations: 6.261 MB / 1.27 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of SimCode: time 0.03641/1.87, allocations: 12.3 MB / 1.282 GB, free: 7.094 MB / 0.823 GB Notification: Performance of Templates: time 0.2693/2.139, allocations: 102.6 MB / 1.382 GB, free: 0.8203 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)