Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.342/2.342, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001411/0.00141, allocations: 185.2 kB / 326.3 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.4/2.4, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0009468/0.0009467, allocations: 106.6 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007462/0.0007466, allocations: 15.31 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2351, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01293/0.248, allocations: 8.382 MB / 0.9077 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2373/0.4854, allocations: 139 MB / 1.043 GB, free: 13.78 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.4875, allocations: 35.81 kB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.4891, allocations: 237.9 kB / 1.044 GB, free: 13.51 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.0041/0.4932, allocations: 0.7199 MB / 1.044 GB, free: 12.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.4983, allocations: 1.085 MB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005471/0.5038, allocations: 2.717 MB / 1.048 GB, free: 8.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006745/0.5106, allocations: 2.667 MB / 1.051 GB, free: 6.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.5127, allocations: 0.8085 MB / 1.051 GB, free: 5.438 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.5151, allocations: 0.9678 MB / 1.052 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004957/0.5156, allocations: 75.88 kB / 1.052 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.5175, allocations: 415.6 kB / 1.053 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008946/0.5185, allocations: 473.9 kB / 1.053 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008381/0.5193, allocations: 452.3 kB / 1.054 GB, free: 3.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.6942/1.214, allocations: 3.144 MB / 1.057 GB, free: 7.934 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.214, allocations: 1.125 kB / 1.057 GB, free: 7.934 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.935e-06/1.214, allocations: 0 / 1.057 GB, free: 7.934 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001462/1.214, allocations: 0 / 1.057 GB, free: 7.934 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.008112/1.222, allocations: 2.387 MB / 1.059 GB, free: 6.828 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.222, allocations: 8.281 kB / 1.059 GB, free: 6.828 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/1.242, allocations: 1.658 MB / 1.061 GB, free: 6.629 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004721/1.247, allocations: 1.405 MB / 1.062 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/1.247, allocations: 189.4 kB / 1.062 GB, free: 6.219 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/1.248, allocations: 248 kB / 1.063 GB, free: 6.215 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/1.263, allocations: 3.417 MB / 1.066 GB, free: 5.816 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.473e-05/1.263, allocations: 9.375 kB / 1.066 GB, free: 5.812 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005172/1.264, allocations: 106 kB / 1.066 GB, free: 5.812 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002966/1.264, allocations: 122.8 kB / 1.066 GB, free: 5.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/1.285, allocations: 3.924 MB / 1.07 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02884/1.314, allocations: 10.04 MB / 1.08 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/1.328, allocations: 2.683 MB / 1.082 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006212/1.334, allocations: 1.264 MB / 1.084 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/1.336, allocations: 0.5843 MB / 1.084 GB, free: 17.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007408/1.343, allocations: 1.521 MB / 1.086 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=194): time 8.766e-06/1.343, allocations: 7.406 kB / 1.086 GB, free: 17.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=195): time 0.02838/1.372, allocations: 4.261 MB / 1.09 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/1.372, allocations: 254.1 kB / 1.09 GB, free: 16.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/1.374, allocations: 1.09 MB / 1.091 GB, free: 16.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006748/1.375, allocations: 58.8 kB / 1.091 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/1.376, allocations: 0.9265 MB / 1.092 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.377, allocations: 0.645 MB / 1.093 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/1.377, allocations: 35.56 kB / 1.093 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002322/1.378, allocations: 375.7 kB / 1.093 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006099/1.384, allocations: 1.071 MB / 1.094 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006378/1.39, allocations: 1.389 MB / 1.096 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006362/1.397, allocations: 1.172 MB / 1.097 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/1.397, allocations: 5.5 kB / 1.097 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01343/1.41, allocations: 2.791 MB / 1.099 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002598/1.41, allocations: 282.8 kB / 1.1 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.411, allocations: 10.47 kB / 1.1 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.024e-05/1.411, allocations: 13.72 kB / 1.1 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006112/1.417, allocations: 0.5519 MB / 1.1 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.883e-05/1.417, allocations: 17.05 kB / 1.1 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004561/1.421, allocations: 278.4 kB / 1.101 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003457/1.422, allocations: 94.62 kB / 1.101 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/1.422, allocations: 9.125 kB / 1.101 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01239/1.434, allocations: 2.561 MB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/1.434, allocations: 10.44 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.434, allocations: 18.06 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005913/1.44, allocations: 0.5406 MB / 1.104 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.95e-05/1.44, allocations: 17.69 kB / 1.104 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0044/1.445, allocations: 265.3 kB / 1.104 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/1.445, allocations: 96.98 kB / 1.104 GB, free: 13.76 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.001903/1.447, allocations: 0.583 MB / 1.105 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/1.448, allocations: 170.8 kB / 1.105 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.464, allocations: 3.127 MB / 1.108 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/1.464, allocations: 10.19 kB / 1.108 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.464, allocations: 4.125 kB / 1.108 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.466, allocations: 0.5706 MB / 1.108 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005477/1.467, allocations: 40.03 kB / 1.108 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004562/1.471, allocations: 230 kB / 1.109 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005927/1.472, allocations: 126.2 kB / 1.109 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0169/1.489, allocations: 2.987 MB / 1.112 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01935/1.508, allocations: 2.887 MB / 1.115 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007368/1.516, allocations: 1.274 MB / 1.116 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001722/1.518, allocations: 0.7759 MB / 1.117 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of Backend: time 8.41e-07/1.518, allocations: 4 kB / 1.117 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.018/1.536, allocations: 3.624 MB / 1.12 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of SimCode: time 0.01207/1.548, allocations: 4.938 MB / 1.125 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of Templates: time 0.1304/1.678, allocations: 45.65 MB / 1.169 GB, free: 168 kB / 0.7449 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)