Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.93/1.93, allocations: 288.4 MB / 304.3 MB, free: 8.207 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.001042/0.001042, allocations: 187.2 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.472/1.472, allocations: 205.4 MB / 0.6316 GB, free: 9.871 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.0007203/0.0007206, allocations: 100.1 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004006, allocations: 16.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.006544/0.2323, allocations: 7.147 MB / 0.9877 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7144/0.9467, allocations: 138.1 MB / 1.123 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.9481, allocations: 26.44 kB / 1.123 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.9492, allocations: 204.8 kB / 1.123 GB, free: 2.523 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.003352/0.9525, allocations: 0.6088 MB / 1.123 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.956, allocations: 0.8234 MB / 1.124 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002973/0.959, allocations: 2.036 MB / 1.126 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.9619, allocations: 1.708 MB / 1.128 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.9635, allocations: 0.5759 MB / 1.128 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.9649, allocations: 0.6754 MB / 1.129 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.9651, allocations: 46.94 kB / 1.129 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.9665, allocations: 0.5054 MB / 1.13 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.9669, allocations: 332 kB / 1.13 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008763/0.9678, allocations: 0.7234 MB / 1.131 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.9706, allocations: 2.215 MB / 1.133 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.9706, allocations: 0 / 1.133 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.146e-06/0.9707, allocations: 0 / 1.133 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.587e-05/0.9707, allocations: 2.875 kB / 1.133 GB, free: 0.6914 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.004266/0.975, allocations: 1.77 MB / 1.134 GB, free: 15.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.9751, allocations: 7.688 kB / 1.134 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/0.9811, allocations: 0.9485 MB / 1.135 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.9835, allocations: 1.125 MB / 1.137 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.9836, allocations: 124.1 kB / 1.137 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.984, allocations: 161.6 kB / 1.137 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005822/0.9898, allocations: 2.186 MB / 1.139 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.9899, allocations: 1.062 kB / 1.139 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.9901, allocations: 68.38 kB / 1.139 GB, free: 14.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.9902, allocations: 83.89 kB / 1.139 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006995/0.9972, allocations: 2.516 MB / 1.142 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/1.01, allocations: 6.999 MB / 1.148 GB, free: 9.812 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004563/1.015, allocations: 1.601 MB / 1.15 GB, free: 9.523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/1.017, allocations: 0.7558 MB / 1.151 GB, free: 9.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/1.018, allocations: 489.1 kB / 1.151 GB, free: 8.895 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/1.02, allocations: 0.9183 MB / 1.152 GB, free: 8.566 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 4.118e-06/1.02, allocations: 1.062 kB / 1.152 GB, free: 8.566 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.006525/1.026, allocations: 2.196 MB / 1.154 GB, free: 8.031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/1.027, allocations: 308.3 kB / 1.154 GB, free: 7.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/1.028, allocations: 0.8459 MB / 1.155 GB, free: 7.398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/1.028, allocations: 50.33 kB / 1.155 GB, free: 7.367 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000658/1.029, allocations: 0.6692 MB / 1.156 GB, free: 6.965 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/1.029, allocations: 434.8 kB / 1.156 GB, free: 6.652 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/1.03, allocations: 23.12 kB / 1.156 GB, free: 6.652 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.03, allocations: 352.1 kB / 1.157 GB, free: 6.336 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/1.031, allocations: 0.6031 MB / 1.157 GB, free: 6.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/1.034, allocations: 0.8198 MB / 1.158 GB, free: 5.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003549/1.037, allocations: 1.419 MB / 1.16 GB, free: 5.602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.037, allocations: 2.906 kB / 1.16 GB, free: 5.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004197/1.041, allocations: 1.667 MB / 1.161 GB, free: 5.234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/1.041, allocations: 206.1 kB / 1.161 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.041, allocations: 2.906 kB / 1.161 GB, free: 5.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/1.042, allocations: 38.5 kB / 1.161 GB, free: 4.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001683/1.043, allocations: 336.3 kB / 1.162 GB, free: 4.902 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/1.045, allocations: 1.292 MB / 1.163 GB, free: 3.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.046, allocations: 191.6 kB / 1.163 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.046, allocations: 67.08 kB / 1.163 GB, free: 3.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.926e-06/1.046, allocations: 2.844 kB / 1.163 GB, free: 3.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004257/1.051, allocations: 1.528 MB / 1.165 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.051, allocations: 2.875 kB / 1.165 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.051, allocations: 11.06 kB / 1.165 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.053, allocations: 339.1 kB / 1.165 GB, free: 2.781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/1.053, allocations: 12.66 kB / 1.165 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.055, allocations: 192.9 kB / 1.165 GB, free: 2.668 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.055, allocations: 64.86 kB / 1.165 GB, free: 2.645 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001314/1.056, allocations: 486.5 kB / 1.166 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/1.056, allocations: 123.1 kB / 1.166 GB, free: 2.207 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/1.061, allocations: 1.871 MB / 1.168 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.822e-05/1.061, allocations: 11.91 kB / 1.168 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.061, allocations: 0 / 1.168 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008183/1.062, allocations: 421 kB / 1.168 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/1.062, allocations: 25.78 kB / 1.168 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/1.064, allocations: 133.8 kB / 1.168 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.064, allocations: 88.72 kB / 1.168 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004904/1.069, allocations: 1.9 MB / 1.17 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00629/1.075, allocations: 2.8 MB / 1.173 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001815/1.077, allocations: 0.7524 MB / 1.174 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001088/1.078, allocations: 0.5846 MB / 1.174 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of Backend: time 7.32e-07/1.078, allocations: 0 / 1.174 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007468/1.086, allocations: 2.59 MB / 1.177 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of SimCode: time 0.005608/1.091, allocations: 3.603 MB / 1.18 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of Templates: time 0.07274/1.164, allocations: 30.99 MB / 1.211 GB, free: 11.26 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)