Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.203/2.203, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.001972/0.001972, allocations: 179.9 kB / 326.3 MB, free: 2.875 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.572/2.572, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0008816/0.0008815, allocations: 88.3 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005035/0.0005036, allocations: 9.094 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2249, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01098/0.2359, allocations: 7.143 MB / 0.9065 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2272/0.4632, allocations: 138.1 MB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.4648, allocations: 23.88 kB / 1.041 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.4658, allocations: 198.3 kB / 1.042 GB, free: 15.7 MB / 0.698 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.00303/0.4689, allocations: 0.5788 MB / 1.042 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003792/0.4727, allocations: 0.8117 MB / 1.043 GB, free: 14.31 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00401/0.4767, allocations: 2.034 MB / 1.045 GB, free: 12.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003718/0.4805, allocations: 1.658 MB / 1.046 GB, free: 10.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.482, allocations: 0.5791 MB / 1.047 GB, free: 9.977 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.4837, allocations: 0.6725 MB / 1.048 GB, free: 9.301 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.484, allocations: 48 kB / 1.048 GB, free: 9.254 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.4854, allocations: 367.5 kB / 1.048 GB, free: 8.895 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004938/0.4859, allocations: 334.6 kB / 1.048 GB, free: 8.566 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.4865, allocations: 332.8 kB / 1.049 GB, free: 8.234 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003867/0.4904, allocations: 2.21 MB / 1.051 GB, free: 6.02 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4904, allocations: 0 / 1.051 GB, free: 6.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.966e-06/0.4904, allocations: 0 / 1.051 GB, free: 6.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.373e-05/0.4905, allocations: 4 kB / 1.051 GB, free: 6.016 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.006074/0.4966, allocations: 1.782 MB / 1.053 GB, free: 4.176 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4967, allocations: 8.031 kB / 1.053 GB, free: 4.168 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/0.508, allocations: 0.9578 MB / 1.054 GB, free: 3.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.5112, allocations: 1.083 MB / 1.055 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.5114, allocations: 127.4 kB / 1.055 GB, free: 1.953 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004689/0.5119, allocations: 160 kB / 1.055 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6464/1.158, allocations: 2.171 MB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.925e-05/1.158, allocations: 1.062 kB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/1.159, allocations: 72.89 kB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/1.159, allocations: 77.58 kB / 1.057 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/1.17, allocations: 2.524 MB / 1.06 GB, free: 154.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02094/1.191, allocations: 6.999 MB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008728/1.2, allocations: 1.595 MB / 1.068 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003968/1.204, allocations: 0.7542 MB / 1.069 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.205, allocations: 488.5 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004545/1.21, allocations: 0.9296 MB / 1.07 GB, free: 151.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 6.262e-06/1.21, allocations: 0 / 1.07 GB, free: 151.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.01266/1.223, allocations: 2.192 MB / 1.072 GB, free: 151.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.223, allocations: 299 kB / 1.073 GB, free: 150.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/1.225, allocations: 0.8563 MB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004198/1.225, allocations: 48.05 kB / 1.073 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/1.226, allocations: 0.6748 MB / 1.074 GB, free: 149.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006666/1.227, allocations: 425.8 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.227, allocations: 24.62 kB / 1.075 GB, free: 149.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.227, allocations: 356.8 kB / 1.075 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/1.23, allocations: 0.61 MB / 1.075 GB, free: 149 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003705/1.234, allocations: 0.816 MB / 1.076 GB, free: 148.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/1.238, allocations: 0.6749 MB / 1.077 GB, free: 148.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/1.238, allocations: 7.469 kB / 1.077 GB, free: 148.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.008397/1.246, allocations: 1.663 MB / 1.079 GB, free: 147.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/1.246, allocations: 207.6 kB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.246, allocations: 3.562 kB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/1.247, allocations: 46.42 kB / 1.079 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003696/1.25, allocations: 335.8 kB / 1.079 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/1.252, allocations: 1.284 MB / 1.08 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/1.255, allocations: 193.9 kB / 1.081 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003687/1.255, allocations: 64.27 kB / 1.081 GB, free: 145.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/1.255, allocations: 7.781 kB / 1.081 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007512/1.263, allocations: 1.522 MB / 1.082 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.263, allocations: 4.25 kB / 1.082 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/1.263, allocations: 12.72 kB / 1.082 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/1.266, allocations: 344.1 kB / 1.082 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.127e-05/1.267, allocations: 16.45 kB / 1.082 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/1.269, allocations: 188.8 kB / 1.083 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/1.27, allocations: 61.42 kB / 1.083 GB, free: 144.7 MB / 0.698 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 ($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.00138/1.271, allocations: 478.2 kB / 1.083 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/1.271, allocations: 122.9 kB / 1.083 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009073/1.281, allocations: 1.885 MB / 1.085 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.45e-05/1.281, allocations: 9.125 kB / 1.085 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.281, allocations: 1.125 kB / 1.085 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.282, allocations: 415.1 kB / 1.086 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003614/1.282, allocations: 30.97 kB / 1.086 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002537/1.285, allocations: 128.3 kB / 1.086 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/1.285, allocations: 100.4 kB / 1.086 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01002/1.295, allocations: 1.892 MB / 1.088 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0111/1.306, allocations: 2.798 MB / 1.09 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00336/1.31, allocations: 0.7521 MB / 1.091 GB, free: 139.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001168/1.311, allocations: 0.5843 MB / 1.092 GB, free: 139.3 MB / 0.698 GB Notification: Performance of Backend: time 1.814e-06/1.311, allocations: 0 / 1.092 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01092/1.322, allocations: 2.524 MB / 1.094 GB, free: 137.2 MB / 0.698 GB Notification: Performance of SimCode: time 0.007683/1.33, allocations: 3.602 MB / 1.098 GB, free: 133.5 MB / 0.698 GB Notification: Performance of Templates: time 0.07344/1.403, allocations: 30.72 MB / 1.128 GB, free: 103 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)