Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources.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.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources") translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.637/1.637, allocations: 287.4 MB / 303.2 MB, free: 8.23 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.001128/0.001128, allocations: 189.3 kB / 371.8 MB, free: 10.82 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.654/1.654, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008975/0.0008976, allocations: 92.39 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005924/0.0005925, allocations: 22.95 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2905, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.03955/0.3301, allocations: 40.37 MB / 1.019 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7799/1.11, allocations: 157 MB / 1.172 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009676/1.12, allocations: 136.1 kB / 1.172 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005771/1.126, allocations: 1.854 MB / 1.174 GB, free: 12.74 MB / 0.7136 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.01688/1.143, allocations: 4.16 MB / 1.178 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01334/1.156, allocations: 3.561 MB / 1.182 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02019/1.176, allocations: 12.14 MB / 1.193 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02369/1.2, allocations: 11.52 MB / 1.205 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0148/1.215, allocations: 6.666 MB / 1.211 GB, free: 140 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009148/1.224, allocations: 4.628 MB / 1.216 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.002806/1.227, allocations: 280 kB / 1.216 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008099/1.235, allocations: 1.58 MB / 1.217 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00431/1.239, allocations: 2.179 MB / 1.22 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004286/1.243, allocations: 1.793 MB / 1.221 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01743/1.261, allocations: 13.49 MB / 1.235 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/1.261, allocations: 4 kB / 1.235 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.156e-06/1.261, allocations: 0 / 1.235 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0007424/1.262, allocations: 0 / 1.235 GB, free: 8.109 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.02654/1.288, allocations: 8.881 MB / 1.243 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/1.288, allocations: 8.031 kB / 1.243 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05114/1.339, allocations: 8.494 MB / 1.252 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01565/1.355, allocations: 5.587 MB / 1.257 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008777/1.356, allocations: 0.6824 MB / 1.258 GB, free: 252 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004403/1.36, allocations: 0.9061 MB / 1.259 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04807/1.409, allocations: 14.32 MB / 1.272 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004815/1.409, allocations: 19.78 kB / 1.273 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003738/1.413, allocations: 403.9 kB / 1.273 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001551/1.414, allocations: 0.5833 MB / 1.273 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05257/1.467, allocations: 15.52 MB / 1.289 GB, free: 112 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/1.572, allocations: 47.14 MB / 1.335 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0328/1.605, allocations: 9.85 MB / 1.344 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01746/1.623, allocations: 5.793 MB / 1.35 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/1.624, allocations: 0.7148 MB / 1.351 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02097/1.645, allocations: 6.469 MB / 1.357 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=671): time 1.462e-05/1.645, allocations: 0 / 1.357 GB, free: 8.258 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1187): time 2.717/4.362, allocations: 335.3 MB / 1.684 GB, free: 111.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002328/4.363, allocations: 0.7036 MB / 1.685 GB, free: 110.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007197/4.37, allocations: 5.483 MB / 1.69 GB, free: 105 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004573/4.375, allocations: 233.7 kB / 1.691 GB, free: 104.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003807/4.378, allocations: 3.906 MB / 1.695 GB, free: 100.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007634/4.386, allocations: 3.909 MB / 1.698 GB, free: 97.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003441/4.39, allocations: 232 kB / 1.699 GB, free: 96.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006462/4.39, allocations: 0.763 MB / 1.699 GB, free: 96.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05909/4.449, allocations: 19.13 MB / 1.718 GB, free: 76.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06258/4.512, allocations: 20.81 MB / 1.738 GB, free: 55.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1254/4.637, allocations: 38.02 MB / 1.775 GB, free: 17.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.7e-05/4.638, allocations: 8 kB / 1.775 GB, free: 17.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.8281/5.466, allocations: 51.96 MB / 1.826 GB, free: 297.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006359/5.466, allocations: 1.094 MB / 1.827 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.121e-05/5.466, allocations: 30.22 kB / 1.827 GB, free: 296.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05876/5.525, allocations: 14.23 MB / 1.841 GB, free: 295.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04294/5.568, allocations: 6.333 MB / 1.847 GB, free: 294.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07424/5.642, allocations: 41.49 MB / 1.888 GB, free: 256.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04029/5.683, allocations: 4.432 MB / 1.892 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004209/5.687, allocations: 0.6359 MB / 1.893 GB, free: 251.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/5.687, allocations: 7.375 kB / 1.893 GB, free: 251.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1685/5.856, allocations: 48.59 MB / 1.94 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/5.856, allocations: 36.25 kB / 1.94 GB, free: 202.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04009/5.896, allocations: 10.56 MB / 1.951 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04176/5.938, allocations: 6.378 MB / 1.957 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05027/5.988, allocations: 31.68 MB / 1.988 GB, free: 154 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03919/6.027, allocations: 4.377 MB / 1.992 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005258/6.032, allocations: 0.6255 MB / 1.993 GB, free: 149 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 54 ($whenCondition7,$PRE.pow1.nextTimeEvent,$whenCondition6,$PRE.pow2.nextTimeEvent,$whenCondition5,$PRE.pow3.nextTimeEvent,$whenCondition4,$PRE.pow4.nextTimeEvent,$whenCondition3,$PRE.pow5.nextTimeEvent,$whenCondition2,$PRE.pow6.nextTimeEvent,$whenCondition1,$PRE.pow7.nextTimeEvent,$whenCondition9,$whenCondition8,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,pow1.nextTimeEvent,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEventScaled,pow2.nextTimeEvent,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEventScaled,pow3.nextTimeEvent,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEventScaled,pow4.nextTimeEvent,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEventScaled,pow5.nextTimeEvent,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEventScaled,pow6.nextTimeEvent,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEventScaled,pow7.nextTimeEvent,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEventScaled,line1.commercialCable.material,line2.commercialCable.material,line3.commercialCable.material,line4.commercialCable.material,line5.commercialCable.material,line6.commercialCable.material,line7.commercialCable.material,line8.commercialCable.material,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,ELoa.local_reset,ESol.local_reset,EWin.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1314): * Single equations (assignments): 1303 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(23,20.6%) 67,(1,100.0%) 1} * Non-linear torn systems: 1 {23 67} Notification: Performance of prepare postOptimizeDAE: time 0.01028/6.043, allocations: 2.478 MB / 1.995 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003361/6.046, allocations: 0.8435 MB / 1.996 GB, free: 146 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1775/6.224, allocations: 53.49 MB / 2.048 GB, free: 92.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004032/6.224, allocations: 63.77 kB / 2.048 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/6.224, allocations: 4 kB / 2.048 GB, free: 92.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01003/6.234, allocations: 4.149 MB / 2.052 GB, free: 88.16 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004758/6.239, allocations: 207.9 kB / 2.052 GB, free: 87.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03807/6.277, allocations: 4.374 MB / 2.057 GB, free: 83.58 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003432/6.281, allocations: 0.875 MB / 2.058 GB, free: 82.7 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1785/6.459, allocations: 49.39 MB / 2.106 GB, free: 33.44 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.7157/7.175, allocations: 62.49 MB / 2.167 GB, free: 277.1 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.06419/7.239, allocations: 20.28 MB / 2.187 GB, free: 271.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005166/7.244, allocations: 3.66 MB / 2.19 GB, free: 269.9 MB / 0.948 GB Notification: Performance of Backend: time 9.02e-07/7.244, allocations: 3.688 kB / 2.19 GB, free: 269.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.1616/7.406, allocations: 50.32 MB / 2.239 GB, free: 247.9 MB / 0.948 GB Notification: Performance of SimCode: time 0.03947/7.445, allocations: 23.39 MB / 2.262 GB, free: 226.3 MB / 0.948 GB Notification: Performance of Templates: time 1.206/8.651, allocations: 0.5315 GB / 2.794 GB, free: 24.14 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources.sim & ./Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.Examples.RenewableSources.pipe 2>&1)