Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.799/1.799, allocations: 287.4 MB / 303.2 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 170.7 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 0.6304 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008419/0.000842, allocations: 91.66 kB / 0.7438 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004051, allocations: 14.28 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2572, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.009379/0.2667, allocations: 7.139 MB / 0.9863 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7592/1.026, allocations: 138.1 MB / 1.121 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/1.028, allocations: 26.03 kB / 1.121 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009797/1.029, allocations: 204.5 kB / 1.121 GB, free: 2.203 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.002914/1.032, allocations: 0.5758 MB / 1.122 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/1.035, allocations: 0.8068 MB / 1.123 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003809/1.039, allocations: 2.035 MB / 1.125 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003426/1.042, allocations: 1.699 MB / 1.126 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/1.044, allocations: 0.5808 MB / 1.127 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00182/1.046, allocations: 0.6778 MB / 1.128 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006556/1.046, allocations: 46.75 kB / 1.128 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/1.048, allocations: 367.3 kB / 1.128 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/1.049, allocations: 334.6 kB / 1.128 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008983/1.05, allocations: 333.5 kB / 1.129 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003744/1.054, allocations: 2.21 MB / 1.131 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.054, allocations: 0 / 1.131 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.817e-06/1.054, allocations: 0 / 1.131 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001676/1.054, allocations: 3.141 kB / 1.131 GB, free: 0.582 MB / 0.6823 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.00526/1.06, allocations: 1.768 MB / 1.132 GB, free: 15.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.06, allocations: 11.91 kB / 1.132 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/1.066, allocations: 0.9523 MB / 1.133 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002479/1.068, allocations: 1.127 MB / 1.134 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/1.068, allocations: 124.7 kB / 1.135 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/1.069, allocations: 163.3 kB / 1.135 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/1.074, allocations: 2.174 MB / 1.137 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/1.074, allocations: 3.938 kB / 1.137 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/1.074, allocations: 72.91 kB / 1.137 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/1.074, allocations: 82.69 kB / 1.137 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006747/1.081, allocations: 2.516 MB / 1.139 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/1.095, allocations: 6.995 MB / 1.146 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/1.099, allocations: 1.59 MB / 1.148 GB, free: 9.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.101, allocations: 0.7493 MB / 1.149 GB, free: 9.773 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007362/1.102, allocations: 493.3 kB / 1.149 GB, free: 9.266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002329/1.104, allocations: 0.9273 MB / 1.15 GB, free: 8.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 5.681e-06/1.104, allocations: 0 / 1.15 GB, free: 8.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.006678/1.111, allocations: 2.198 MB / 1.152 GB, free: 8.398 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/1.111, allocations: 301.5 kB / 1.152 GB, free: 8.055 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/1.113, allocations: 0.8506 MB / 1.153 GB, free: 7.766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001727/1.113, allocations: 48.98 kB / 1.153 GB, free: 7.734 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/1.114, allocations: 0.6654 MB / 1.154 GB, free: 7.336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/1.114, allocations: 433.9 kB / 1.154 GB, free: 7.027 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-05/1.114, allocations: 22.94 kB / 1.154 GB, free: 7.027 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.114, allocations: 357.4 kB / 1.155 GB, free: 6.703 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.116, allocations: 0.6093 MB / 1.155 GB, free: 6.594 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/1.118, allocations: 0.812 MB / 1.156 GB, free: 6.301 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/1.122, allocations: 1.412 MB / 1.157 GB, free: 5.977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.122, allocations: 5.25 kB / 1.157 GB, free: 5.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004629/1.127, allocations: 1.668 MB / 1.159 GB, free: 5.605 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001431/1.127, allocations: 201.9 kB / 1.159 GB, free: 5.379 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.127, allocations: 9.484 kB / 1.159 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/1.127, allocations: 31.28 kB / 1.159 GB, free: 5.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.129, allocations: 340.5 kB / 1.16 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/1.13, allocations: 1.294 MB / 1.161 GB, free: 3.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/1.132, allocations: 197.5 kB / 1.161 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/1.132, allocations: 59.33 kB / 1.161 GB, free: 3.875 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/1.132, allocations: 5.812 kB / 1.161 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003938/1.136, allocations: 1.527 MB / 1.163 GB, free: 3.613 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.136, allocations: 5.375 kB / 1.163 GB, free: 3.613 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.136, allocations: 11.84 kB / 1.163 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/1.138, allocations: 337 kB / 1.163 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.138, allocations: 14.81 kB / 1.163 GB, free: 3.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.14, allocations: 187.8 kB / 1.163 GB, free: 3.438 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/1.14, allocations: 66.11 kB / 1.163 GB, free: 3.426 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.001188/1.141, allocations: 483.5 kB / 1.164 GB, free: 3.199 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/1.141, allocations: 121.8 kB / 1.164 GB, free: 3.137 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/1.147, allocations: 1.873 MB / 1.166 GB, free: 2.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/1.147, allocations: 7.969 kB / 1.166 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.147, allocations: 3.938 kB / 1.166 GB, free: 2.168 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00082/1.147, allocations: 421.1 kB / 1.166 GB, free: 1.809 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/1.148, allocations: 27.62 kB / 1.166 GB, free: 1.789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.149, allocations: 136.6 kB / 1.166 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/1.149, allocations: 88.67 kB / 1.166 GB, free: 1.688 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00491/1.154, allocations: 1.898 MB / 1.168 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006207/1.16, allocations: 2.794 MB / 1.171 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001838/1.162, allocations: 0.7612 MB / 1.172 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001067/1.163, allocations: 0.5793 MB / 1.172 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of Backend: time 6.72e-07/1.163, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007536/1.171, allocations: 2.518 MB / 1.175 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of SimCode: time 0.006825/1.178, allocations: 3.599 MB / 1.178 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.05877/1.236, allocations: 30.76 MB / 1.208 GB, free: 13.03 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1)