Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources") translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.646/1.646, allocations: 288.4 MB / 304.3 MB, free: 8.023 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.001036/0.001036, allocations: 189.7 kB / 372.9 MB, free: 10.12 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.681/1.681, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0008236/0.0008237, allocations: 90.31 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000416/0.0004164, allocations: 18.83 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.03907/0.2747, allocations: 40.36 MB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7522/1.027, allocations: 157.1 MB / 1.174 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006878/1.034, allocations: 139 kB / 1.174 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005591/1.04, allocations: 1.839 MB / 1.175 GB, free: 11.65 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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.0.1-maint.8.0.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‘. Notification: Performance of NFTyping.typeBindings: time 0.01663/1.056, allocations: 4.347 MB / 1.18 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01341/1.07, allocations: 3.656 MB / 1.183 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02298/1.093, allocations: 12.13 MB / 1.195 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02553/1.118, allocations: 11.52 MB / 1.206 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04731/1.166, allocations: 7.844 MB / 1.214 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01052/1.176, allocations: 4.62 MB / 1.219 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.003355/1.18, allocations: 283.9 kB / 1.219 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009611/1.189, allocations: 2.422 MB / 1.221 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.005444/1.195, allocations: 2.171 MB / 1.223 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.01104/1.206, allocations: 4.103 MB / 1.227 GB, free: 200 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.02035/1.226, allocations: 13.54 MB / 1.241 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/1.226, allocations: 4 kB / 1.241 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.216e-06/1.226, allocations: 0 / 1.241 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0007674/1.227, allocations: 0 / 1.241 GB, free: 2.617 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.02484/1.252, allocations: 8.881 MB / 1.249 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.252, allocations: 8.031 kB / 1.249 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05118/1.303, allocations: 8.486 MB / 1.257 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/1.316, allocations: 5.599 MB / 1.263 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006571/1.317, allocations: 0.6824 MB / 1.264 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00443/1.321, allocations: 0.9022 MB / 1.264 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0507/1.372, allocations: 14.33 MB / 1.278 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003322/1.373, allocations: 19.78 kB / 1.279 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003389/1.376, allocations: 396 kB / 1.279 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001429/1.377, allocations: 0.5872 MB / 1.279 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04959/1.427, allocations: 15.52 MB / 1.295 GB, free: 10.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09609/1.523, allocations: 47.14 MB / 1.341 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03/1.553, allocations: 9.854 MB / 1.35 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01675/1.57, allocations: 5.793 MB / 1.356 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001366/1.571, allocations: 0.7108 MB / 1.357 GB, free: 9.316 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01984/1.591, allocations: 6.481 MB / 1.363 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=671): time 1.258e-05/1.591, allocations: 0 / 1.363 GB, free: 2.746 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1187): time 2.774/4.365, allocations: 335.3 MB / 1.69 GB, free: 105.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002365/4.365, allocations: 0.7036 MB / 1.691 GB, free: 104.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008455/4.374, allocations: 5.487 MB / 1.696 GB, free: 98.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.004801/4.379, allocations: 229.7 kB / 1.697 GB, free: 98.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004006/4.383, allocations: 3.91 MB / 1.7 GB, free: 94.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006608/4.389, allocations: 3.912 MB / 1.704 GB, free: 90.79 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002843/4.392, allocations: 232 kB / 1.705 GB, free: 90.56 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005022/4.393, allocations: 0.7622 MB / 1.705 GB, free: 89.79 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05838/4.451, allocations: 19.14 MB / 1.724 GB, free: 70.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06211/4.513, allocations: 20.81 MB / 1.744 GB, free: 49.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7044/5.218, allocations: 38.01 MB / 1.781 GB, free: 302.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.061e-05/5.218, allocations: 8.25 kB / 1.781 GB, free: 302.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.2109/5.429, allocations: 51.97 MB / 1.832 GB, free: 289.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008541/5.43, allocations: 1.087 MB / 1.833 GB, free: 288.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001204/5.43, allocations: 36.94 kB / 1.833 GB, free: 288.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06044/5.49, allocations: 14.23 MB / 1.847 GB, free: 286.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04229/5.533, allocations: 6.326 MB / 1.853 GB, free: 284.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07443/5.607, allocations: 41.5 MB / 1.894 GB, free: 248.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04022/5.647, allocations: 4.428 MB / 1.898 GB, free: 244.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004887/5.652, allocations: 0.636 MB / 1.899 GB, free: 243.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/5.652, allocations: 4 kB / 1.899 GB, free: 243.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1603/5.813, allocations: 48.59 MB / 1.946 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001136/5.813, allocations: 35.94 kB / 1.946 GB, free: 194.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03995/5.853, allocations: 10.56 MB / 1.957 GB, free: 184.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04227/5.895, allocations: 6.382 MB / 1.963 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05142/5.947, allocations: 31.69 MB / 1.994 GB, free: 146.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03781/5.984, allocations: 4.376 MB / 1.998 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00386/5.988, allocations: 0.6243 MB / 1.999 GB, free: 141.2 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.008169/5.997, allocations: 2.484 MB / 2.001 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002711/5.999, allocations: 0.8453 MB / 2.002 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.172/6.171, allocations: 53.49 MB / 2.054 GB, free: 84.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003466/6.172, allocations: 63.77 kB / 2.054 GB, free: 84.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/6.172, allocations: 0 / 2.054 GB, free: 84.56 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009898/6.182, allocations: 4.153 MB / 2.058 GB, free: 80.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0052/6.187, allocations: 200 kB / 2.058 GB, free: 80.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03769/6.225, allocations: 4.376 MB / 2.063 GB, free: 75.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003986/6.229, allocations: 0.875 MB / 2.064 GB, free: 74.93 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1792/6.408, allocations: 49.41 MB / 2.112 GB, free: 25.65 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.6858/7.094, allocations: 62.48 MB / 2.173 GB, free: 276.5 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.06137/7.155, allocations: 20.29 MB / 2.193 GB, free: 270.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.004903/7.16, allocations: 3.658 MB / 2.196 GB, free: 269.3 MB / 0.948 GB Notification: Performance of Backend: time 4.81e-07/7.16, allocations: 0 / 2.196 GB, free: 269.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.1597/7.32, allocations: 50.62 MB / 2.246 GB, free: 243.2 MB / 0.948 GB Notification: Performance of SimCode: time 0.03787/7.358, allocations: 23.39 MB / 2.269 GB, free: 221.5 MB / 0.948 GB Notification: Performance of Templates: time 1.158/8.516, allocations: 0.5322 GB / 2.801 GB, free: 35.94 MB / 0.9637 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Examples.RenewableSources.pipe 2>&1)