Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 251.1 MB / 266.7 MB, free: 11.61 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.001399/0.001399, allocations: 172.2 kB / 326.2 MB, free: 2.859 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.462/2.462, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.000938/0.0009372, allocations: 90.11 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006321/0.0006322, allocations: 11.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2248, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.01097/0.2359, allocations: 6.675 MB / 0.906 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2428/0.4787, allocations: 138 MB / 1.041 GB, free: 472 kB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.4809, allocations: 23.88 kB / 1.041 GB, free: 448 kB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.4828, allocations: 194.3 kB / 1.041 GB, free: 252 kB / 0.6824 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.005014/0.4879, allocations: 0.5553 MB / 1.042 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006132/0.4941, allocations: 0.8118 MB / 1.042 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005594/0.4997, allocations: 1.91 MB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005751/0.5055, allocations: 1.507 MB / 1.046 GB, free: 11.41 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.5078, allocations: 0.5482 MB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.5105, allocations: 0.6609 MB / 1.047 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006807/0.5112, allocations: 48 kB / 1.047 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002434/0.5137, allocations: 363.6 kB / 1.047 GB, free: 9.793 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008891/0.5147, allocations: 334.6 kB / 1.048 GB, free: 9.465 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000805/0.5155, allocations: 308.7 kB / 1.048 GB, free: 9.156 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005376/0.5209, allocations: 1.894 MB / 1.05 GB, free: 7.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.521, allocations: 4 kB / 1.05 GB, free: 7.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.297e-06/0.521, allocations: 0 / 1.05 GB, free: 7.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.396e-05/0.5211, allocations: 0 / 1.05 GB, free: 7.254 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.008805/0.53, allocations: 1.731 MB / 1.051 GB, free: 5.465 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.362e-05/0.53, allocations: 8.031 kB / 1.051 GB, free: 5.457 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/0.5473, allocations: 0.9387 MB / 1.052 GB, free: 4.516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/0.5518, allocations: 0.9888 MB / 1.053 GB, free: 3.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.5521, allocations: 115.2 kB / 1.053 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008665/0.553, allocations: 152 kB / 1.054 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/0.5649, allocations: 2.049 MB / 1.056 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.326e-05/0.5651, allocations: 3.938 kB / 1.056 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000488/0.5656, allocations: 71.98 kB / 1.056 GB, free: 1.023 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001954/0.5658, allocations: 74.98 kB / 1.056 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6148/1.181, allocations: 2.404 MB / 1.058 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01821/1.199, allocations: 6.406 MB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007584/1.207, allocations: 1.559 MB / 1.066 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003688/1.21, allocations: 0.737 MB / 1.067 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.211, allocations: 492.8 kB / 1.067 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004291/1.216, allocations: 0.9109 MB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 5.68e-06/1.216, allocations: 0 / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.01211/1.228, allocations: 2.175 MB / 1.07 GB, free: 152.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.228, allocations: 309.4 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.23, allocations: 0.8337 MB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004432/1.23, allocations: 51.95 kB / 1.071 GB, free: 151.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008485/1.231, allocations: 0.6214 MB / 1.072 GB, free: 151.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007642/1.232, allocations: 430.5 kB / 1.072 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/1.232, allocations: 22.12 kB / 1.072 GB, free: 151.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.232, allocations: 355.5 kB / 1.073 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003451/1.236, allocations: 0.6063 MB / 1.073 GB, free: 150.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003949/1.24, allocations: 0.7892 MB / 1.074 GB, free: 150.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003777/1.244, allocations: 0.6633 MB / 1.075 GB, free: 150.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/1.244, allocations: 1.219 kB / 1.075 GB, free: 150.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.008451/1.252, allocations: 1.653 MB / 1.076 GB, free: 149.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/1.252, allocations: 174.4 kB / 1.076 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/1.252, allocations: 6.281 kB / 1.076 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/1.253, allocations: 32.55 kB / 1.076 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003691/1.256, allocations: 342 kB / 1.077 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/1.258, allocations: 1.288 MB / 1.078 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/1.261, allocations: 196.1 kB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003449/1.261, allocations: 64.69 kB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.261, allocations: 5.062 kB / 1.078 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007414/1.269, allocations: 1.513 MB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.269, allocations: 4.75 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.269, allocations: 7.875 kB / 1.08 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/1.272, allocations: 342.7 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.272, allocations: 7.75 kB / 1.08 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/1.275, allocations: 191.1 kB / 1.08 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/1.276, allocations: 63.41 kB / 1.08 GB, free: 147.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.00127/1.277, allocations: 455.8 kB / 1.081 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/1.277, allocations: 117.3 kB / 1.081 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008932/1.286, allocations: 1.888 MB / 1.083 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.297e-05/1.286, allocations: 9.469 kB / 1.083 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/1.286, allocations: 1.469 kB / 1.083 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/1.287, allocations: 403.3 kB / 1.083 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/1.288, allocations: 30.88 kB / 1.083 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/1.29, allocations: 138.1 kB / 1.083 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002995/1.291, allocations: 88.69 kB / 1.083 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009442/1.3, allocations: 1.867 MB / 1.085 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01256/1.313, allocations: 2.731 MB / 1.088 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003328/1.316, allocations: 0.7429 MB / 1.089 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001212/1.317, allocations: 0.5973 MB / 1.089 GB, free: 141.7 MB / 0.698 GB Notification: Performance of Backend: time 6.01e-07/1.317, allocations: 0 / 1.089 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.329, allocations: 2.498 MB / 1.092 GB, free: 140.3 MB / 0.698 GB Notification: Performance of SimCode: time 0.007168/1.336, allocations: 3.486 MB / 1.095 GB, free: 136.8 MB / 0.698 GB Notification: Performance of Templates: time 0.0724/1.409, allocations: 30.48 MB / 1.125 GB, free: 106.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)