Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.357/1.357, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001165/0.001165, allocations: 171.8 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205 MB / 0.5767 GB, free: 20.97 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.0006669/0.0006674, allocations: 89.34 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003147, allocations: 9.656 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1931, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.007793/0.2009, allocations: 9.119 MB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1431/0.344, allocations: 150.5 MB / 1.053 GB, free: 3.918 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.3456, allocations: 35.81 kB / 1.053 GB, free: 3.883 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001718/0.3473, allocations: 0.5986 MB / 1.053 GB, free: 3.281 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.002333/0.3496, allocations: 0.7979 MB / 1.054 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.3526, allocations: 1.384 MB / 1.055 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.4081/0.7607, allocations: 2.999 MB / 1.058 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.7638, allocations: 2.452 MB / 1.061 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.7652, allocations: 0.8181 MB / 1.062 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.7668, allocations: 1.019 MB / 1.063 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.7671, allocations: 66.83 kB / 1.063 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.7687, allocations: 0.6128 MB / 1.063 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006839/0.7694, allocations: 479.8 kB / 1.064 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.7709, allocations: 1.046 MB / 1.065 GB, free: 3.109 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006084/0.777, allocations: 3.825 MB / 1.068 GB, free: 2.895 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.777, allocations: 2.953 kB / 1.068 GB, free: 2.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/0.777, allocations: 4 kB / 1.068 GB, free: 2.891 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001495/0.7772, allocations: 0.7812 kB / 1.068 GB, free: 2.891 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.005733/0.7829, allocations: 2.348 MB / 1.071 GB, free: 1.668 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.783, allocations: 12.03 kB / 1.071 GB, free: 1.668 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.7938, allocations: 1.665 MB / 1.072 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.7966, allocations: 1.449 MB / 1.074 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.7968, allocations: 185.4 kB / 1.074 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.7972, allocations: 244 kB / 1.074 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007298/0.8045, allocations: 3.445 MB / 1.078 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.368e-05/0.8045, allocations: 3.906 kB / 1.078 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.8048, allocations: 109.6 kB / 1.078 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.8049, allocations: 120.2 kB / 1.078 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00914/0.8141, allocations: 3.949 MB / 1.082 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.8291, allocations: 10.03 MB / 1.091 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006488/0.8356, allocations: 2.716 MB / 1.094 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/0.8385, allocations: 1.273 MB / 1.095 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008233/0.8393, allocations: 0.5809 MB / 1.096 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003219/0.8426, allocations: 1.529 MB / 1.097 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=194): time 6.692e-06/0.8426, allocations: 0 / 1.097 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=195): time 0.01016/0.8527, allocations: 4.285 MB / 1.102 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.8529, allocations: 264.2 kB / 1.102 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.8542, allocations: 1.094 MB / 1.103 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.8544, allocations: 60.89 kB / 1.103 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006393/0.8551, allocations: 0.9327 MB / 1.104 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/0.8556, allocations: 0.641 MB / 1.104 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.8558, allocations: 146.3 kB / 1.105 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.8559, allocations: 301.1 kB / 1.105 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/0.8587, allocations: 1.078 MB / 1.106 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/0.8617, allocations: 1.396 MB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006697/0.8684, allocations: 2.474 MB / 1.11 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.8684, allocations: 2.75 kB / 1.11 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007429/0.8759, allocations: 2.809 MB / 1.112 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.8761, allocations: 280 kB / 1.113 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.8761, allocations: 9.156 kB / 1.113 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.909e-05/0.8762, allocations: 14.84 kB / 1.113 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.879, allocations: 0.5499 MB / 1.113 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.255e-05/0.8791, allocations: 18.31 kB / 1.113 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.8816, allocations: 273.2 kB / 1.114 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/0.8818, allocations: 97.84 kB / 1.114 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.8819, allocations: 9.844 kB / 1.114 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006445/0.8883, allocations: 2.572 MB / 1.116 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.8884, allocations: 6.203 kB / 1.116 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.8884, allocations: 18.81 kB / 1.116 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.8912, allocations: 0.5427 MB / 1.117 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.506e-05/0.8912, allocations: 19.28 kB / 1.117 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.8938, allocations: 262.5 kB / 1.117 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/0.8941, allocations: 94.39 kB / 1.117 GB, free: 8.238 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001559/0.8956, allocations: 0.5783 MB / 1.118 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005293/0.8962, allocations: 171.8 kB / 1.118 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009026/0.9052, allocations: 3.13 MB / 1.121 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/0.9052, allocations: 15.95 kB / 1.121 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9053, allocations: 0 / 1.121 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.9065, allocations: 0.5424 MB / 1.121 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004686/0.907, allocations: 41.03 kB / 1.121 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/0.9093, allocations: 242 kB / 1.122 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.9096, allocations: 119.7 kB / 1.122 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008758/0.9184, allocations: 2.992 MB / 1.125 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007204/0.9256, allocations: 2.914 MB / 1.128 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003072/0.9287, allocations: 1.28 MB / 1.129 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001453/0.9302, allocations: 0.7823 MB / 1.13 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of Backend: time 2.31e-07/0.9302, allocations: 2.906 kB / 1.13 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01143/0.9416, allocations: 3.719 MB / 1.133 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of SimCode: time 0.008805/0.9505, allocations: 5.06 MB / 1.138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of Templates: time 0.07808/1.029, allocations: 46.67 MB / 1.184 GB, free: 176 kB / 0.7605 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)