Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.835/1.835, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.00126/0.00126, allocations: 177.9 kB / 372.9 MB, free: 10.17 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.542/1.542, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007479/0.0007479, allocations: 100.1 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000418/0.0004182, allocations: 15.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2324, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007029/0.2395, allocations: 6.663 MB / 0.9872 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6071/0.8467, allocations: 138 MB / 1.122 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.8482, allocations: 26.41 kB / 1.122 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.8493, allocations: 197.3 kB / 1.122 GB, free: 2.328 MB / 0.6823 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.002952/0.8523, allocations: 0.5876 MB / 1.123 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.8554, allocations: 0.8182 MB / 1.124 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.8587, allocations: 1.917 MB / 1.125 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004073/0.8628, allocations: 1.558 MB / 1.127 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.8643, allocations: 0.5491 MB / 1.127 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.8661, allocations: 0.659 MB / 1.128 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005272/0.8667, allocations: 47.44 kB / 1.128 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.8686, allocations: 0.5018 MB / 1.129 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007019/0.8693, allocations: 323.3 kB / 1.129 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00155/0.8709, allocations: 0.6899 MB / 1.13 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/0.8739, allocations: 1.912 MB / 1.132 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8739, allocations: 0 / 1.132 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.874, allocations: 0 / 1.132 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000135/0.8741, allocations: 4 kB / 1.132 GB, free: 0.5781 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.005565/0.8797, allocations: 1.713 MB / 1.133 GB, free: 15.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/0.8797, allocations: 9.906 kB / 1.133 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006304/0.8861, allocations: 0.9402 MB / 1.134 GB, free: 15.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.8888, allocations: 1.019 MB / 1.135 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.889, allocations: 115.2 kB / 1.135 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005643/0.8896, allocations: 149.8 kB / 1.135 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006763/0.8963, allocations: 2.06 MB / 1.137 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.8964, allocations: 1.859 kB / 1.137 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.8966, allocations: 66.03 kB / 1.137 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.8968, allocations: 71.98 kB / 1.138 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006927/0.9037, allocations: 2.412 MB / 1.14 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.9165, allocations: 6.411 MB / 1.146 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/0.921, allocations: 1.563 MB / 1.148 GB, free: 9.938 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.923, allocations: 0.7432 MB / 1.148 GB, free: 9.812 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000704/0.9237, allocations: 489 kB / 1.149 GB, free: 9.309 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.9259, allocations: 0.9257 MB / 1.15 GB, free: 8.965 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 4.338e-06/0.9259, allocations: 1.969 kB / 1.15 GB, free: 8.965 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.006092/0.932, allocations: 2.173 MB / 1.152 GB, free: 8.422 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.9321, allocations: 305.3 kB / 1.152 GB, free: 8.074 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.9336, allocations: 0.83 MB / 1.153 GB, free: 7.789 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.9337, allocations: 50.39 kB / 1.153 GB, free: 7.758 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.9343, allocations: 0.6273 MB / 1.154 GB, free: 7.383 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.9347, allocations: 429.9 kB / 1.154 GB, free: 7.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.9348, allocations: 25.12 kB / 1.154 GB, free: 7.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.9349, allocations: 355.5 kB / 1.154 GB, free: 6.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/0.9366, allocations: 0.6015 MB / 1.155 GB, free: 6.641 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.9384, allocations: 0.7856 MB / 1.156 GB, free: 6.371 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003416/0.9418, allocations: 1.369 MB / 1.157 GB, free: 6.086 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.9419, allocations: 1.062 kB / 1.157 GB, free: 6.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004306/0.9462, allocations: 1.649 MB / 1.159 GB, free: 5.723 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.9463, allocations: 181.3 kB / 1.159 GB, free: 5.523 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.9463, allocations: 2 kB / 1.159 GB, free: 5.523 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002223/0.9466, allocations: 36.11 kB / 1.159 GB, free: 5.508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.9483, allocations: 334.5 kB / 1.159 GB, free: 5.426 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.9497, allocations: 1.3 MB / 1.161 GB, free: 4.125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.9514, allocations: 192.2 kB / 1.161 GB, free: 4.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.9516, allocations: 65.94 kB / 1.161 GB, free: 4.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.9516, allocations: 6.906 kB / 1.161 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003898/0.9555, allocations: 1.508 MB / 1.162 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.9556, allocations: 2.781 kB / 1.162 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9556, allocations: 8.062 kB / 1.162 GB, free: 3.758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/0.9573, allocations: 355.8 kB / 1.163 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/0.9574, allocations: 11.84 kB / 1.163 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.9591, allocations: 184.7 kB / 1.163 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.9592, allocations: 61.92 kB / 1.163 GB, free: 3.559 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (156): * Single equations (assignments): 155 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.001318/0.9606, allocations: 457 kB / 1.163 GB, free: 3.324 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004799/0.9611, allocations: 122.8 kB / 1.163 GB, free: 3.262 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005011/0.9661, allocations: 1.87 MB / 1.165 GB, free: 2.758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.9661, allocations: 10.84 kB / 1.165 GB, free: 2.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.9661, allocations: 0 / 1.165 GB, free: 2.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/0.967, allocations: 403.5 kB / 1.166 GB, free: 2.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/0.9673, allocations: 26.02 kB / 1.166 GB, free: 2.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.9687, allocations: 140.3 kB / 1.166 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.9689, allocations: 87.16 kB / 1.166 GB, free: 2.426 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004947/0.9739, allocations: 1.869 MB / 1.168 GB, free: 1.395 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006103/0.98, allocations: 2.728 MB / 1.17 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001814/0.9818, allocations: 0.7463 MB / 1.171 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00123/0.9831, allocations: 0.5906 MB / 1.172 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of Backend: time 5.71e-07/0.9831, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007689/0.9908, allocations: 2.578 MB / 1.174 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of SimCode: time 0.005874/0.9967, allocations: 3.486 MB / 1.178 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.05009/1.047, allocations: 30.72 MB / 1.208 GB, free: 14.2 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)