Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.346/1.346, 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.001122/0.001122, allocations: 175.6 kB / 326.5 MB, free: 2.676 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.599/1.599, 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.0007213/0.0007213, allocations: 89.64 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004157, allocations: 12.81 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.006825/0.2183, allocations: 7.227 MB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.3724, allocations: 149.5 MB / 1.05 GB, free: 6.832 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.3738, allocations: 27.88 kB / 1.05 GB, free: 6.805 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.3756, allocations: 0.5521 MB / 1.05 GB, free: 6.25 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.002244/0.3779, allocations: 0.6073 MB / 1.051 GB, free: 5.645 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.3804, allocations: 0.9619 MB / 1.052 GB, free: 4.688 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002481/0.3829, allocations: 2.12 MB / 1.054 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.3849, allocations: 1.437 MB / 1.055 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.3857, allocations: 0.5597 MB / 1.056 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4927/0.8784, allocations: 0.6843 MB / 1.057 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.000519/0.879, allocations: 48.22 kB / 1.057 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.8805, allocations: 0.5249 MB / 1.057 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003283/0.8808, allocations: 339.9 kB / 1.057 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007421/0.8816, allocations: 0.7011 MB / 1.058 GB, free: 4.137 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.8847, allocations: 2.389 MB / 1.06 GB, free: 4.059 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8847, allocations: 0.5625 kB / 1.06 GB, free: 4.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8847, allocations: 0.875 kB / 1.06 GB, free: 4.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.459e-05/0.8848, allocations: 2.125 kB / 1.06 GB, free: 4.059 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.003755/0.8886, allocations: 1.704 MB / 1.062 GB, free: 3.137 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.8886, allocations: 8.562 kB / 1.062 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005958/0.8946, allocations: 0.9407 MB / 1.063 GB, free: 3.008 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.8965, allocations: 1.019 MB / 1.064 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.8967, allocations: 119.2 kB / 1.064 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.897, allocations: 152 kB / 1.064 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005432/0.9024, allocations: 2.061 MB / 1.066 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.9025, allocations: 2.219 kB / 1.066 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.9027, allocations: 69.09 kB / 1.066 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.9028, allocations: 74.98 kB / 1.066 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006586/0.9094, allocations: 2.417 MB / 1.069 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.9208, allocations: 6.408 MB / 1.075 GB, free: 16.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.9249, allocations: 1.573 MB / 1.077 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/0.9269, allocations: 0.7444 MB / 1.077 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.9276, allocations: 492 kB / 1.078 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/0.9296, allocations: 0.9164 MB / 1.079 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=128): time 3.627e-06/0.9296, allocations: 0 / 1.079 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=128): time 0.005885/0.9355, allocations: 2.185 MB / 1.081 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.9356, allocations: 300.2 kB / 1.081 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.9369, allocations: 0.8486 MB / 1.082 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.937, allocations: 50.67 kB / 1.082 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/0.9375, allocations: 0.6205 MB / 1.083 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003073/0.9378, allocations: 430.8 kB / 1.083 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.938, allocations: 102.9 kB / 1.083 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9382, allocations: 362.4 kB / 1.083 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.9397, allocations: 0.6047 MB / 1.084 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.9413, allocations: 0.789 MB / 1.085 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/0.9445, allocations: 1.384 MB / 1.086 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.9445, allocations: 0 / 1.086 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003981/0.9485, allocations: 1.659 MB / 1.088 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.9486, allocations: 182.2 kB / 1.088 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9486, allocations: 5.5 kB / 1.088 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.9488, allocations: 30.03 kB / 1.088 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.9505, allocations: 346.8 kB / 1.088 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.9515, allocations: 1.29 MB / 1.09 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.9531, allocations: 192.7 kB / 1.09 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.9532, allocations: 69.75 kB / 1.09 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.9532, allocations: 3.562 kB / 1.09 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003539/0.9568, allocations: 1.519 MB / 1.091 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9568, allocations: 2.969 kB / 1.091 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.9568, allocations: 12.62 kB / 1.091 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.9584, allocations: 343 kB / 1.092 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.9584, allocations: 13.19 kB / 1.092 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.9598, allocations: 189.5 kB / 1.092 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.96, allocations: 67.45 kB / 1.092 GB, free: 11.72 MB / 0.7136 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 (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.0009026/0.9609, allocations: 441 kB / 1.092 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.9611, allocations: 119.2 kB / 1.092 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00445/0.9656, allocations: 1.888 MB / 1.094 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.9656, allocations: 6.328 kB / 1.094 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9656, allocations: 0 / 1.094 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.9662, allocations: 383.8 kB / 1.095 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.9664, allocations: 33.75 kB / 1.095 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.9676, allocations: 134.6 kB / 1.095 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.9678, allocations: 90.34 kB / 1.095 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004325/0.9721, allocations: 1.872 MB / 1.097 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005394/0.9775, allocations: 2.744 MB / 1.099 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001541/0.9791, allocations: 0.7483 MB / 1.1 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008447/0.98, allocations: 0.5975 MB / 1.101 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of Backend: time 7.42e-07/0.98, allocations: 1.969 kB / 1.101 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006467/0.9864, allocations: 2.594 MB / 1.103 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of SimCode: time 0.005141/0.9916, allocations: 3.598 MB / 1.107 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of Templates: time 0.04804/1.04, allocations: 31.23 MB / 1.137 GB, free: 9.098 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)