Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 109.8 kB / 16.37 MB, free: 6.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 192.8 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 223.2 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.927/1.927, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 59.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3041, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.5934/0.8975, allocations: 8.1 MB / 0.7927 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1965/1.094, allocations: 151.9 MB / 0.941 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00218/1.096, allocations: 27.88 kB / 0.9411 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/1.099, allocations: 0.6818 MB / 0.9417 GB, free: 9.438 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003382/1.102, allocations: 0.7184 MB / 0.9424 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004587/1.107, allocations: 1.153 MB / 0.9436 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004603/1.112, allocations: 2.179 MB / 0.9457 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003979/1.116, allocations: 2.127 MB / 0.9478 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/1.117, allocations: 0.9031 MB / 0.9487 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/1.119, allocations: 0.9609 MB / 0.9496 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0006894/1.12, allocations: 243.9 kB / 0.9498 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/1.122, allocations: 0.679 MB / 0.9505 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/1.122, allocations: 0.5609 MB / 0.951 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001018/1.123, allocations: 1.003 MB / 0.952 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/1.127, allocations: 2.966 MB / 0.9549 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.127, allocations: 0 / 0.9549 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.164e-06/1.127, allocations: 0 / 0.9549 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.77e-05/1.127, allocations: 0 / 0.9549 GB, free: 11.91 MB / 0.7481 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.004128/1.131, allocations: 2.166 MB / 0.957 GB, free: 9.691 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.131, allocations: 8.031 kB / 0.957 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006134/1.137, allocations: 0.8798 MB / 0.9579 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/1.139, allocations: 1.148 MB / 0.959 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.139, allocations: 123.4 kB / 0.9591 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/1.139, allocations: 164 kB / 0.9593 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/1.144, allocations: 2.16 MB / 0.9614 GB, free: 5.094 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/1.144, allocations: 4 kB / 0.9614 GB, free: 5.09 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/1.144, allocations: 72 kB / 0.9615 GB, free: 5.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/1.144, allocations: 83.09 kB / 0.9615 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006052/1.15, allocations: 2.475 MB / 0.964 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/1.161, allocations: 6.897 MB / 0.9707 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004365/1.166, allocations: 1.6 MB / 0.9723 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/1.168, allocations: 0.7455 MB / 0.973 GB, free: 8.98 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008062/1.169, allocations: 490.7 kB / 0.9735 GB, free: 8.406 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002235/1.171, allocations: 0.9133 MB / 0.9743 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=128): time 4.107e-06/1.171, allocations: 2.531 kB / 0.9744 GB, free: 7.465 MB / 0.7637 GB Notification: Performance of matching and sorting (n=128): time 0.006341/1.177, allocations: 2.192 MB / 0.9765 GB, free: 5.246 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/1.177, allocations: 299.7 kB / 0.9768 GB, free: 4.887 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/1.179, allocations: 0.8585 MB / 0.9776 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.179, allocations: 45.7 kB / 0.9777 GB, free: 3.953 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007989/1.18, allocations: 0.675 MB / 0.9783 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/1.18, allocations: 425.8 kB / 0.9787 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004836/1.181, allocations: 262.7 kB / 0.979 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002154/1.181, allocations: 353.9 kB / 0.9793 GB, free: 2.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/1.183, allocations: 0.6111 MB / 0.9799 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/1.185, allocations: 0.8155 MB / 0.9807 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/1.189, allocations: 1.406 MB / 0.9821 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-06/1.189, allocations: 4 kB / 0.9821 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004903/1.194, allocations: 1.664 MB / 0.9837 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/1.194, allocations: 11.98 kB / 0.9837 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.194, allocations: 4 kB / 0.9837 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002336/1.194, allocations: 32.84 kB / 0.9838 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/1.196, allocations: 331.7 kB / 0.9841 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/1.197, allocations: 1.394 MB / 0.9854 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.199, allocations: 182.7 kB / 0.9856 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/1.199, allocations: 63.95 kB / 0.9857 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002443/1.202, allocations: 0.9225 MB / 0.9866 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002092/1.204, allocations: 0.8161 MB / 0.9874 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003931/1.208, allocations: 1.406 MB / 0.9887 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.883e-06/1.208, allocations: 1.125 kB / 0.9887 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.004679/1.212, allocations: 1.645 MB / 0.9903 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.212, allocations: 8.781 kB / 0.9904 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.212, allocations: 4 kB / 0.9904 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.213, allocations: 12.44 kB / 0.9904 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/1.214, allocations: 335.5 kB / 0.9907 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.214, allocations: 12 kB / 0.9907 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.216, allocations: 173 kB / 0.9909 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.216, allocations: 66.77 kB / 0.9909 GB, free: 5.938 MB / 0.7794 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.0004134/1.216, allocations: 259.9 kB / 0.9912 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/1.217, allocations: 130.4 kB / 0.9913 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/1.222, allocations: 1.791 MB / 0.9931 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.222, allocations: 8.641 kB / 0.9931 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.222, allocations: 0 / 0.9931 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007264/1.223, allocations: 407 kB / 0.9934 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/1.223, allocations: 24 kB / 0.9935 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.224, allocations: 115.9 kB / 0.9936 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/1.224, allocations: 97.06 kB / 0.9937 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005456/1.23, allocations: 1.883 MB / 0.9955 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006646/1.237, allocations: 2.777 MB / 0.9982 GB, free: 14.4 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001947/1.239, allocations: 0.7676 MB / 0.999 GB, free: 13.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008873/1.239, allocations: 0.5905 MB / 0.9996 GB, free: 13.03 MB / 0.795 GB Notification: Performance of Backend: time 6.31e-07/1.239, allocations: 0 / 0.9996 GB, free: 13.03 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007984/1.247, allocations: 2.593 MB / 1.002 GB, free: 10.7 MB / 0.795 GB Notification: Performance of SimCode: time 0.005201/1.253, allocations: 2.98 MB / 1.005 GB, free: 7.688 MB / 0.795 GB Notification: Performance of Templates: time 0.05514/1.308, allocations: 33.17 MB / 1.037 GB, free: 6.793 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)