Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.684/1.684, allocations: 287.4 MB / 303.2 MB, free: 8.25 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.001072/0.001072, allocations: 174.2 kB / 371.8 MB, free: 10.83 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.922/1.922, allocations: 205.4 MB / 0.6304 GB, free: 10.55 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.0007786/0.0007786, allocations: 95.19 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004057, allocations: 12.25 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2528, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.009108/0.262, allocations: 8.378 MB / 0.9875 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7866/1.049, allocations: 138.9 MB / 1.123 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/1.051, allocations: 37.97 kB / 1.123 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/1.053, allocations: 237.4 kB / 1.123 GB, free: 1.996 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.004701/1.058, allocations: 0.7217 MB / 1.124 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005161/1.063, allocations: 1.086 MB / 1.125 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006116/1.069, allocations: 2.728 MB / 1.128 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007659/1.077, allocations: 2.813 MB / 1.131 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003107/1.08, allocations: 0.8037 MB / 1.131 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003373/1.083, allocations: 0.9779 MB / 1.132 GB, free: 204 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/1.084, allocations: 62.94 kB / 1.132 GB, free: 204 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002731/1.087, allocations: 421.3 kB / 1.133 GB, free: 180 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001345/1.088, allocations: 468.5 kB / 1.133 GB, free: 80 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001592/1.09, allocations: 459 kB / 1.134 GB, free: 0 / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007402/1.097, allocations: 3.155 MB / 1.137 GB, free: 15.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/1.097, allocations: 0 / 1.137 GB, free: 15.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.571e-06/1.098, allocations: 0 / 1.137 GB, free: 15.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003146/1.098, allocations: 0 / 1.137 GB, free: 15.74 MB / 0.698 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.01131/1.109, allocations: 2.352 MB / 1.139 GB, free: 14.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.401e-05/1.109, allocations: 8.156 kB / 1.139 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/1.122, allocations: 1.668 MB / 1.141 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/1.127, allocations: 1.446 MB / 1.142 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/1.127, allocations: 192.8 kB / 1.142 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001511/1.129, allocations: 241.4 kB / 1.143 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/1.144, allocations: 3.422 MB / 1.146 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/1.144, allocations: 6.375 kB / 1.146 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001277/1.146, allocations: 111.1 kB / 1.146 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003404/1.146, allocations: 119 kB / 1.146 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/1.161, allocations: 3.924 MB / 1.15 GB, free: 10.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/1.187, allocations: 10.05 MB / 1.16 GB, free: 5.102 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008864/1.196, allocations: 2.693 MB / 1.162 GB, free: 4.578 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004015/1.2, allocations: 1.268 MB / 1.164 GB, free: 4.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/1.201, allocations: 0.5793 MB / 1.164 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00477/1.206, allocations: 1.518 MB / 1.166 GB, free: 2.562 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 1.049e-05/1.206, allocations: 0 / 1.166 GB, free: 2.562 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01415/1.22, allocations: 4.266 MB / 1.17 GB, free: 256 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/1.221, allocations: 256.9 kB / 1.17 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002414/1.223, allocations: 1.09 MB / 1.171 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005524/1.224, allocations: 58.39 kB / 1.171 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.225, allocations: 0.9334 MB / 1.172 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001219/1.226, allocations: 0.6429 MB / 1.173 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.226, allocations: 38.22 kB / 1.173 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.227, allocations: 376.3 kB / 1.173 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/1.23, allocations: 1.069 MB / 1.174 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/1.234, allocations: 1.387 MB / 1.176 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007692/1.242, allocations: 2.463 MB / 1.178 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.627e-05/1.242, allocations: 9.031 kB / 1.178 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01007/1.252, allocations: 2.777 MB / 1.181 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002902/1.252, allocations: 282.2 kB / 1.181 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/1.253, allocations: 8.406 kB / 1.181 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.651e-05/1.253, allocations: 13.69 kB / 1.181 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003469/1.256, allocations: 0.5603 MB / 1.181 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.449e-05/1.256, allocations: 15.47 kB / 1.181 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/1.259, allocations: 269.9 kB / 1.182 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/1.26, allocations: 104 kB / 1.182 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.26, allocations: 6.844 kB / 1.182 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007424/1.267, allocations: 2.562 MB / 1.184 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/1.267, allocations: 8 kB / 1.184 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.267, allocations: 16 kB / 1.184 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003048/1.27, allocations: 0.5424 MB / 1.185 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.171e-05/1.27, allocations: 19.98 kB / 1.185 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/1.273, allocations: 262.7 kB / 1.185 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002923/1.273, allocations: 87.92 kB / 1.185 GB, free: 5.137 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.001693/1.275, allocations: 0.5878 MB / 1.186 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/1.275, allocations: 173.9 kB / 1.186 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009216/1.285, allocations: 3.107 MB / 1.189 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.842e-05/1.285, allocations: 11.97 kB / 1.189 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.285, allocations: 5.75 kB / 1.189 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.286, allocations: 0.5683 MB / 1.19 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006454/1.287, allocations: 36 kB / 1.19 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002573/1.289, allocations: 237.4 kB / 1.19 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/1.29, allocations: 125.8 kB / 1.19 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009359/1.299, allocations: 2.979 MB / 1.193 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00795/1.307, allocations: 2.899 MB / 1.196 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003415/1.311, allocations: 1.277 MB / 1.197 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001869/1.313, allocations: 0.7714 MB / 1.198 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of Backend: time 1.132e-06/1.313, allocations: 0 / 1.198 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.327, allocations: 3.632 MB / 1.201 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of SimCode: time 0.009584/1.336, allocations: 4.917 MB / 1.206 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.09795/1.434, allocations: 45.67 MB / 1.251 GB, free: 2.406 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)