Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 104.1 kB / 16.36 MB, free: 6.258 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.001254/0.001254, allocations: 190.5 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.513/1.513, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.886/1.886, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001505/0.001506, allocations: 67.91 kB / 0.6729 GB, free: 5.758 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2864, allocations: 114.6 MB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.5991/0.8856, allocations: 7.568 MB / 0.7922 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2084/1.094, allocations: 151.8 MB / 0.9404 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/1.096, allocations: 27.88 kB / 0.9405 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/1.098, allocations: 0.636 MB / 0.9411 GB, free: 10.01 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.00244/1.1, allocations: 0.6768 MB / 0.9418 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/1.103, allocations: 1.099 MB / 0.9428 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002333/1.106, allocations: 2.055 MB / 0.9448 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002434/1.108, allocations: 1.893 MB / 0.9467 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/1.109, allocations: 0.8213 MB / 0.9475 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/1.11, allocations: 0.918 MB / 0.9484 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002506/1.111, allocations: 208.8 kB / 0.9486 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/1.112, allocations: 0.6438 MB / 0.9492 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004531/1.112, allocations: 0.518 MB / 0.9497 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007876/1.113, allocations: 0.9211 MB / 0.9506 GB, free: 220 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/1.116, allocations: 2.605 MB / 0.9532 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.116, allocations: 4 kB / 0.9532 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.034e-06/1.116, allocations: 0 / 0.9532 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.989e-05/1.116, allocations: 0 / 0.9532 GB, free: 13.6 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: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.003903/1.12, allocations: 2.076 MB / 0.9552 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.12, allocations: 9.156 kB / 0.9552 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005962/1.126, allocations: 0.8684 MB / 0.956 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/1.127, allocations: 1.035 MB / 0.9571 GB, free: 9.508 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/1.128, allocations: 127.1 kB / 0.9572 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/1.128, allocations: 148 kB / 0.9573 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/1.132, allocations: 2.039 MB / 0.9593 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/1.132, allocations: 0 / 0.9593 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/1.132, allocations: 67.94 kB / 0.9594 GB, free: 7.059 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/1.132, allocations: 78.97 kB / 0.9595 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005746/1.138, allocations: 2.369 MB / 0.9618 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/1.148, allocations: 6.316 MB / 0.9679 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/1.153, allocations: 1.551 MB / 0.9694 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001894/1.155, allocations: 0.7393 MB / 0.9702 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007342/1.155, allocations: 482.6 kB / 0.9706 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002153/1.158, allocations: 0.9182 MB / 0.9715 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/1.158, allocations: 0 / 0.9715 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=128): time 0.006212/1.164, allocations: 2.164 MB / 0.9736 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/1.164, allocations: 299.7 kB / 0.9739 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/1.165, allocations: 0.8438 MB / 0.9747 GB, free: 6.848 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/1.165, allocations: 49.7 kB / 0.9748 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005848/1.166, allocations: 0.6284 MB / 0.9754 GB, free: 6.152 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/1.166, allocations: 425.7 kB / 0.9758 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004657/1.167, allocations: 270.7 kB / 0.9761 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.167, allocations: 353.9 kB / 0.9764 GB, free: 5.109 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/1.169, allocations: 0.6071 MB / 0.977 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/1.171, allocations: 0.7873 MB / 0.9778 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003834/1.174, allocations: 1.368 MB / 0.9791 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/1.174, allocations: 4 kB / 0.9791 GB, free: 2.25 MB / 0.7637 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004611/1.179, allocations: 1.641 MB / 0.9807 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.179, allocations: 7.938 kB / 0.9807 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.179, allocations: 4 kB / 0.9807 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/1.179, allocations: 36.83 kB / 0.9808 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.181, allocations: 333.3 kB / 0.9811 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/1.183, allocations: 1.393 MB / 0.9824 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/1.184, allocations: 182.7 kB / 0.9826 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/1.185, allocations: 63.94 kB / 0.9827 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002379/1.187, allocations: 0.885 MB / 0.9835 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00204/1.189, allocations: 0.7935 MB / 0.9843 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003796/1.193, allocations: 1.361 MB / 0.9856 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.35e-06/1.193, allocations: 5.875 kB / 0.9856 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=157) (initialization_lambda0): time 0.004711/1.198, allocations: 1.625 MB / 0.9872 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.198, allocations: 7.938 kB / 0.9872 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.198, allocations: 4 kB / 0.9872 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.198, allocations: 8.938 kB / 0.9873 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/1.199, allocations: 347.8 kB / 0.9876 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/1.2, allocations: 14.42 kB / 0.9876 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.201, allocations: 171.8 kB / 0.9878 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/1.201, allocations: 59.94 kB / 0.9878 GB, free: 9.086 MB / 0.7794 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.0005027/1.202, allocations: 259.9 kB / 0.9881 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003988/1.202, allocations: 122.5 kB / 0.9882 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/1.208, allocations: 1.799 MB / 0.9899 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/1.208, allocations: 8.719 kB / 0.99 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.208, allocations: 0 / 0.99 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/1.209, allocations: 383.1 kB / 0.9903 GB, free: 6.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002688/1.209, allocations: 35.84 kB / 0.9904 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/1.21, allocations: 120.4 kB / 0.9905 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/1.21, allocations: 97.17 kB / 0.9906 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005248/1.216, allocations: 1.838 MB / 0.9924 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006664/1.222, allocations: 2.728 MB / 0.995 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001968/1.224, allocations: 0.7392 MB / 0.9957 GB, free: 0.9102 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001044/1.225, allocations: 0.6022 MB / 0.9963 GB, free: 304 kB / 0.7794 GB Notification: Performance of Backend: time 9.92e-07/1.225, allocations: 0 / 0.9963 GB, free: 304 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007949/1.233, allocations: 2.577 MB / 0.9988 GB, free: 13.97 MB / 0.795 GB Notification: Performance of SimCode: time 0.005553/1.239, allocations: 2.879 MB / 1.002 GB, free: 11.05 MB / 0.795 GB Notification: Performance of Templates: time 0.05771/1.297, allocations: 32.95 MB / 1.034 GB, free: 10.38 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)