Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.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.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.848/1.848, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.0009647/0.0009648, allocations: 176.5 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.663/1.663, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0008601/0.0008602, allocations: 92.2 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004569/0.000457, allocations: 11.75 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.242, allocations: 115.3 MB / 0.9808 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01237/0.2544, allocations: 8.39 MB / 0.9889 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7913/1.046, allocations: 138.9 MB / 1.125 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/1.048, allocations: 33.59 kB / 1.125 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009452/1.049, allocations: 235.7 kB / 1.125 GB, free: 2.73 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.002858/1.052, allocations: 0.7579 MB / 1.126 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003284/1.055, allocations: 1.107 MB / 1.127 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003679/1.059, allocations: 2.728 MB / 1.129 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/1.063, allocations: 2.812 MB / 1.132 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/1.065, allocations: 0.8102 MB / 1.133 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/1.067, allocations: 0.9715 MB / 1.134 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/1.067, allocations: 68.47 kB / 1.134 GB, free: 0.9102 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/1.069, allocations: 0.5811 MB / 1.134 GB, free: 0.875 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/1.069, allocations: 469 kB / 1.135 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001439/1.071, allocations: 1.005 MB / 1.136 GB, free: 400 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007434/1.078, allocations: 3.419 MB / 1.139 GB, free: 0 / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/1.078, allocations: 128 / 1.139 GB, free: 0 / 0.6823 GB Notification: Performance of FrontEnd: time 4.328e-06/1.078, allocations: 1.5 kB / 1.139 GB, free: 0 / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002045/1.078, allocations: 0 / 1.139 GB, free: 0 / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.007322/1.086, allocations: 2.354 MB / 1.142 GB, free: 14.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.086, allocations: 8.656 kB / 1.142 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/1.097, allocations: 1.667 MB / 1.143 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/1.101, allocations: 1.444 MB / 1.145 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/1.101, allocations: 189.7 kB / 1.145 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/1.101, allocations: 245.6 kB / 1.145 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009015/1.11, allocations: 3.424 MB / 1.148 GB, free: 11.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/1.11, allocations: 6.688 kB / 1.148 GB, free: 11.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/1.111, allocations: 107.6 kB / 1.148 GB, free: 11.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/1.111, allocations: 117 kB / 1.149 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/1.122, allocations: 3.925 MB / 1.152 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02032/1.142, allocations: 10.06 MB / 1.162 GB, free: 4.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/1.15, allocations: 2.683 MB / 1.165 GB, free: 3.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/1.153, allocations: 1.263 MB / 1.166 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008893/1.154, allocations: 0.5856 MB / 1.167 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003712/1.158, allocations: 1.526 MB / 1.168 GB, free: 1.082 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 4.378e-06/1.158, allocations: 0 / 1.168 GB, free: 1.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01112/1.169, allocations: 4.261 MB / 1.172 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.169, allocations: 260.1 kB / 1.173 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/1.171, allocations: 1.091 MB / 1.174 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/1.171, allocations: 57.64 kB / 1.174 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008362/1.172, allocations: 0.9372 MB / 1.175 GB, free: 13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006474/1.173, allocations: 0.637 MB / 1.175 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/1.173, allocations: 37.78 kB / 1.175 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.173, allocations: 377.4 kB / 1.176 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003182/1.176, allocations: 1.069 MB / 1.177 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003482/1.18, allocations: 1.385 MB / 1.178 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006683/1.186, allocations: 2.466 MB / 1.18 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.186, allocations: 7.938 kB / 1.18 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007778/1.194, allocations: 2.782 MB / 1.183 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/1.194, allocations: 280.9 kB / 1.183 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.194, allocations: 5.938 kB / 1.183 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/1.195, allocations: 14.12 kB / 1.183 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/1.198, allocations: 0.5558 MB / 1.184 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.491e-05/1.198, allocations: 19.98 kB / 1.184 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/1.201, allocations: 270.6 kB / 1.184 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/1.201, allocations: 99.91 kB / 1.184 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/1.201, allocations: 7.938 kB / 1.184 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007387/1.208, allocations: 2.557 MB / 1.187 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/1.208, allocations: 14 kB / 1.187 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.208, allocations: 15.94 kB / 1.187 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00313/1.211, allocations: 0.5422 MB / 1.187 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.433e-05/1.212, allocations: 19.92 kB / 1.187 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/1.214, allocations: 258.7 kB / 1.188 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/1.215, allocations: 91.92 kB / 1.188 GB, free: 3.188 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (237): * Single equations (assignments): 237 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001865/1.217, allocations: 0.5878 MB / 1.188 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/1.217, allocations: 169.9 kB / 1.188 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009538/1.227, allocations: 3.107 MB / 1.192 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/1.227, allocations: 11.95 kB / 1.192 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.227, allocations: 4 kB / 1.192 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.228, allocations: 0.5683 MB / 1.192 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005573/1.229, allocations: 43.94 kB / 1.192 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.231, allocations: 238.5 kB / 1.192 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002899/1.232, allocations: 121.8 kB / 1.192 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009205/1.241, allocations: 2.987 MB / 1.195 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007642/1.249, allocations: 2.897 MB / 1.198 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003251/1.252, allocations: 1.269 MB / 1.199 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001652/1.254, allocations: 0.7714 MB / 1.2 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of Backend: time 8.42e-07/1.254, allocations: 4 kB / 1.2 GB, free: 6.383 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.266, allocations: 3.697 MB / 1.204 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of SimCode: time 0.01003/1.276, allocations: 4.926 MB / 1.209 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.08223/1.358, allocations: 45.92 MB / 1.253 GB, free: 104 kB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)