Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.5 MB / 267.4 MB, free: 10.87 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.0009214/0.0009214, allocations: 165.3 kB / 326.5 MB, free: 2.66 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.686/1.686, allocations: 205 MB / 0.5767 GB, free: 20.91 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.0009021/0.0009022, allocations: 85.7 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 14.06 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2099, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.007435/0.2174, allocations: 7.73 MB / 0.9043 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1599/0.3773, allocations: 149.6 MB / 1.05 GB, free: 6.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.3791, allocations: 27.88 kB / 1.05 GB, free: 6.203 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.3809, allocations: 0.6105 MB / 1.051 GB, free: 5.59 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.00215/0.383, allocations: 0.6395 MB / 1.052 GB, free: 4.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00266/0.3857, allocations: 0.9977 MB / 1.053 GB, free: 3.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002386/0.3881, allocations: 2.245 MB / 1.055 GB, free: 1.703 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.3902, allocations: 1.583 MB / 1.056 GB, free: 88 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4839/0.8741, allocations: 0.5938 MB / 1.057 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.8753, allocations: 0.7083 MB / 1.058 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.8755, allocations: 46.03 kB / 1.058 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.8767, allocations: 0.5252 MB / 1.058 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.877, allocations: 350.2 kB / 1.059 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008628/0.8779, allocations: 0.7379 MB / 1.059 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004237/0.8821, allocations: 2.707 MB / 1.062 GB, free: 4.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8822, allocations: 0 / 1.062 GB, free: 4.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8822, allocations: 0 / 1.062 GB, free: 4.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001172/0.8823, allocations: 1.125 kB / 1.062 GB, free: 4.035 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.005145/0.8875, allocations: 1.764 MB / 1.064 GB, free: 3.086 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.8875, allocations: 10.22 kB / 1.064 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006259/0.8938, allocations: 0.9493 MB / 1.065 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.8963, allocations: 1.131 MB / 1.066 GB, free: 2.578 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.8965, allocations: 124.3 kB / 1.066 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.8968, allocations: 163.5 kB / 1.066 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/0.9024, allocations: 2.185 MB / 1.068 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.9024, allocations: 1.062 kB / 1.068 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.9026, allocations: 73.94 kB / 1.068 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.9027, allocations: 78.56 kB / 1.068 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006481/0.9092, allocations: 2.53 MB / 1.071 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.9214, allocations: 7.01 MB / 1.078 GB, free: 16.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.9257, allocations: 1.606 MB / 1.079 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.9274, allocations: 0.7488 MB / 1.08 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007058/0.9282, allocations: 494.1 kB / 1.08 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002002/0.9302, allocations: 0.9261 MB / 1.081 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=128): time 3.297e-06/0.9302, allocations: 1.156 kB / 1.081 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=128): time 0.006139/0.9363, allocations: 2.215 MB / 1.083 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.9365, allocations: 296.2 kB / 1.084 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.9378, allocations: 0.8614 MB / 1.084 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001613/0.938, allocations: 50.39 kB / 1.085 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005016/0.9385, allocations: 0.6644 MB / 1.085 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.9389, allocations: 429.7 kB / 1.086 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.939, allocations: 100.9 kB / 1.086 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9392, allocations: 356.1 kB / 1.086 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.9408, allocations: 0.6131 MB / 1.087 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.9426, allocations: 0.8167 MB / 1.087 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/0.9459, allocations: 1.417 MB / 1.089 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.9459, allocations: 7 kB / 1.089 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0043/0.9503, allocations: 1.68 MB / 1.09 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.9505, allocations: 203.7 kB / 1.091 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.9505, allocations: 5.922 kB / 1.091 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.9507, allocations: 37.33 kB / 1.091 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.9524, allocations: 334.7 kB / 1.091 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.9536, allocations: 1.298 MB / 1.092 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.9553, allocations: 201.9 kB / 1.092 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9555, allocations: 66.05 kB / 1.093 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.9555, allocations: 3.219 kB / 1.093 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003753/0.9593, allocations: 1.54 MB / 1.094 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.9593, allocations: 3.531 kB / 1.094 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9593, allocations: 16.19 kB / 1.094 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.9609, allocations: 337 kB / 1.094 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.9609, allocations: 14.97 kB / 1.094 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.9627, allocations: 181.5 kB / 1.095 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.9628, allocations: 64.48 kB / 1.095 GB, free: 11.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (156): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001419/0.9642, allocations: 487.2 kB / 1.095 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/0.9647, allocations: 123.5 kB / 1.095 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/0.9694, allocations: 1.871 MB / 1.097 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.9695, allocations: 9.5 kB / 1.097 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9695, allocations: 3 kB / 1.097 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/0.9702, allocations: 398.3 kB / 1.097 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.9704, allocations: 30.44 kB / 1.097 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.9716, allocations: 134 kB / 1.098 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.9718, allocations: 91.48 kB / 1.098 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004612/0.9764, allocations: 1.901 MB / 1.1 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005944/0.9824, allocations: 2.814 MB / 1.102 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001844/0.9843, allocations: 0.7679 MB / 1.103 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001098/0.9854, allocations: 0.5971 MB / 1.104 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of Backend: time 9.81e-07/0.9854, allocations: 0 / 1.104 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007919/0.9933, allocations: 2.592 MB / 1.106 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of SimCode: time 0.006934/1, allocations: 3.724 MB / 1.11 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of Templates: time 0.05568/1.056, allocations: 31.48 MB / 1.141 GB, free: 7.125 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)