Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.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.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 112.1 kB / 16.38 MB, free: 6.023 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.002134/0.002134, allocations: 192.3 kB / 17.32 MB, free: 5.613 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.756/1.756, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.978/1.978, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001486/0.001486, allocations: 64.47 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2751, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.5083/0.7834, allocations: 9.506 MB / 0.7941 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2231/1.007, allocations: 152.8 MB / 0.9433 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/1.009, allocations: 35.81 kB / 0.9434 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/1.012, allocations: 0.6962 MB / 0.9441 GB, free: 7.027 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.004048/1.016, allocations: 0.9033 MB / 0.9449 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004223/1.02, allocations: 1.541 MB / 0.9464 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005433/1.025, allocations: 2.959 MB / 0.9493 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004694/1.03, allocations: 3.075 MB / 0.9523 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/1.032, allocations: 1.261 MB / 0.9536 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/1.035, allocations: 1.428 MB / 0.955 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007276/1.036, allocations: 356 kB / 0.9553 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/1.038, allocations: 0.8468 MB / 0.9561 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0009344/1.039, allocations: 0.818 MB / 0.9569 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001678/1.041, allocations: 1.427 MB / 0.9583 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006699/1.047, allocations: 4.192 MB / 0.9624 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/1.047, allocations: 0 / 0.9624 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of FrontEnd: time 7.675e-06/1.047, allocations: 0 / 0.9624 GB, free: 4.191 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001419/1.048, allocations: 3.938 kB / 0.9624 GB, free: 4.188 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.007595/1.055, allocations: 2.936 MB / 0.9653 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.055, allocations: 8.031 kB / 0.9653 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/1.066, allocations: 1.534 MB / 0.9668 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/1.07, allocations: 1.485 MB / 0.9682 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/1.07, allocations: 182.3 kB / 0.9684 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006027/1.071, allocations: 248 kB / 0.9687 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008508/1.079, allocations: 3.399 MB / 0.972 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-05/1.079, allocations: 11.92 kB / 0.972 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/1.079, allocations: 104 kB / 0.9721 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/1.08, allocations: 112.6 kB / 0.9722 GB, free: 9.906 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/1.09, allocations: 3.852 MB / 0.976 GB, free: 6.039 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/1.109, allocations: 9.901 MB / 0.9856 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008276/1.117, allocations: 2.685 MB / 0.9882 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/1.121, allocations: 1.265 MB / 0.9895 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009159/1.122, allocations: 0.5826 MB / 0.9901 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004131/1.126, allocations: 1.514 MB / 0.9915 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=194): time 4.608e-06/1.126, allocations: 0 / 0.9915 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of matching and sorting (n=195): time 0.01168/1.138, allocations: 4.246 MB / 0.9957 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/1.138, allocations: 261.3 kB / 0.9959 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.139, allocations: 1.104 MB / 0.997 GB, free: 15.94 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002181/1.14, allocations: 57.7 kB / 0.9971 GB, free: 15.88 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008882/1.141, allocations: 0.9288 MB / 0.998 GB, free: 14.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006668/1.141, allocations: 0.643 MB / 0.9986 GB, free: 14.28 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000778/1.142, allocations: 387.2 kB / 0.999 GB, free: 13.89 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.142, allocations: 301.1 kB / 0.9993 GB, free: 13.6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003231/1.145, allocations: 1.08 MB / 1 GB, free: 12.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/1.149, allocations: 1.384 MB / 1.002 GB, free: 11.04 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/1.155, allocations: 2.467 MB / 1.004 GB, free: 8.488 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.156, allocations: 3.938 kB / 1.004 GB, free: 8.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.0076/1.163, allocations: 2.78 MB / 1.007 GB, free: 5.695 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.163, allocations: 8 kB / 1.007 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.163, allocations: 4 kB / 1.007 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/1.163, allocations: 16 kB / 1.007 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/1.166, allocations: 0.5515 MB / 1.007 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.088e-05/1.166, allocations: 14.19 kB / 1.007 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/1.169, allocations: 262.7 kB / 1.008 GB, free: 4.848 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/1.169, allocations: 95.91 kB / 1.008 GB, free: 4.754 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003979/1.173, allocations: 1.441 MB / 1.009 GB, free: 3.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003759/1.177, allocations: 1.359 MB / 1.01 GB, free: 1.844 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006987/1.184, allocations: 2.402 MB / 1.013 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.029e-05/1.184, allocations: 4 kB / 1.013 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.008041/1.192, allocations: 2.713 MB / 1.015 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.192, allocations: 8.781 kB / 1.015 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.192, allocations: 8 kB / 1.015 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.192, allocations: 16.62 kB / 1.015 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/1.195, allocations: 0.5343 MB / 1.016 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/1.195, allocations: 22.19 kB / 1.016 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/1.198, allocations: 258.7 kB / 1.016 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/1.198, allocations: 96.86 kB / 1.016 GB, free: 11.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (237): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006141/1.198, allocations: 291.8 kB / 1.017 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/1.199, allocations: 173.9 kB / 1.017 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008615/1.207, allocations: 3.028 MB / 1.02 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.672e-05/1.208, allocations: 11.95 kB / 1.02 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.208, allocations: 0 / 1.02 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/1.209, allocations: 0.5451 MB / 1.02 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003289/1.209, allocations: 47.84 kB / 1.02 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.211, allocations: 215.7 kB / 1.021 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/1.211, allocations: 129.8 kB / 1.021 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008826/1.22, allocations: 2.942 MB / 1.024 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007465/1.228, allocations: 2.895 MB / 1.026 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003197/1.231, allocations: 1.273 MB / 1.028 GB, free: 100 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001232/1.232, allocations: 0.7909 MB / 1.028 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Backend: time 7.41e-07/1.232, allocations: 0 / 1.028 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01078/1.243, allocations: 3.698 MB / 1.032 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of SimCode: time 0.007915/1.251, allocations: 3.966 MB / 1.036 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.08386/1.335, allocations: 49.28 MB / 1.084 GB, free: 6.828 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1)