Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.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.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources") translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001415/0.001415, allocations: 182.5 kB / 326.3 MB, free: 2.855 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.53/2.53, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009705/0.0009703, allocations: 84.8 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007118/0.0007123, allocations: 9.094 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2889, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.08841/0.3774, allocations: 40.35 MB / 0.9389 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 1.113/1.49, allocations: 157 MB / 1.092 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01009/1.5, allocations: 138.4 kB / 1.092 GB, free: 11.08 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0087/1.509, allocations: 1.844 MB / 1.094 GB, free: 10.61 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.02522/1.534, allocations: 4.158 MB / 1.098 GB, free: 9.449 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.02343/1.558, allocations: 3.57 MB / 1.102 GB, free: 9.234 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.02331/1.581, allocations: 12.15 MB / 1.114 GB, free: 7.352 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02848/1.61, allocations: 10.74 MB / 1.124 GB, free: 4.543 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01808/1.628, allocations: 6.678 MB / 1.131 GB, free: 2.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01094/1.639, allocations: 4.624 MB / 1.135 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003166/1.642, allocations: 282.8 kB / 1.135 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009863/1.652, allocations: 1.582 MB / 1.137 GB, free: 184 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00911/1.661, allocations: 2.389 MB / 1.139 GB, free: 0 / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00505/1.666, allocations: 1.8 MB / 1.141 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.02488/1.691, allocations: 13.49 MB / 1.154 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.691, allocations: 0 / 1.154 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.118e-06/1.691, allocations: 0 / 1.154 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0007386/1.692, allocations: 1.859 kB / 1.154 GB, free: 7.48 MB / 0.7136 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.03729/1.729, allocations: 8.995 MB / 1.163 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.729, allocations: 7.844 kB / 1.163 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1274/1.857, allocations: 8.49 MB / 1.171 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/1.877, allocations: 5.392 MB / 1.177 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/1.878, allocations: 0.6895 MB / 1.177 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006376/1.885, allocations: 0.9027 MB / 1.178 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07225/1.957, allocations: 14.32 MB / 1.192 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000637/1.958, allocations: 23.77 kB / 1.192 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00446/1.962, allocations: 395.2 kB / 1.192 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002549/1.965, allocations: 0.5873 MB / 1.193 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0867/2.052, allocations: 15.52 MB / 1.208 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.145/2.197, allocations: 47.15 MB / 1.254 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05858/2.255, allocations: 9.848 MB / 1.264 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03205/2.287, allocations: 5.793 MB / 1.27 GB, free: 8.492 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002387/2.29, allocations: 0.714 MB / 1.27 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03605/2.326, allocations: 6.462 MB / 1.277 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=671): time 1.643e-05/2.326, allocations: 0 / 1.277 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1187): time 5.23/7.556, allocations: 335.4 MB / 1.604 GB, free: 192.4 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004021/7.556, allocations: 0.7074 MB / 1.605 GB, free: 191.5 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01724/7.574, allocations: 5.483 MB / 1.61 GB, free: 186.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.007387/7.581, allocations: 233.7 kB / 1.61 GB, free: 185.8 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.006445/7.588, allocations: 3.907 MB / 1.614 GB, free: 181.9 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.01296/7.601, allocations: 3.911 MB / 1.618 GB, free: 178 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00767/7.608, allocations: 232 kB / 1.618 GB, free: 177.8 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.001407/7.61, allocations: 0.7591 MB / 1.619 GB, free: 177 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1411/7.751, allocations: 19.13 MB / 1.638 GB, free: 157.9 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1188/7.87, allocations: 20.81 MB / 1.658 GB, free: 136.6 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1136/7.984, allocations: 18.77 MB / 1.676 GB, free: 117.8 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.395e-05/7.984, allocations: 8 kB / 1.676 GB, free: 117.8 MB / 0.9324 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.3372/8.321, allocations: 51.97 MB / 1.727 GB, free: 65.76 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006171/8.322, allocations: 1.098 MB / 1.728 GB, free: 64.21 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.736e-05/8.322, allocations: 32 kB / 1.728 GB, free: 64.18 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1117/8.433, allocations: 14.22 MB / 1.742 GB, free: 49.94 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08687/8.52, allocations: 6.328 MB / 1.748 GB, free: 43.61 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8025/9.323, allocations: 41.49 MB / 1.789 GB, free: 325.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07955/9.402, allocations: 4.424 MB / 1.793 GB, free: 325.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00656/9.409, allocations: 0.6367 MB / 1.794 GB, free: 325.4 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/9.409, allocations: 2.781 kB / 1.794 GB, free: 325.4 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3279/9.737, allocations: 48.59 MB / 1.841 GB, free: 317.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/9.737, allocations: 31.88 kB / 1.841 GB, free: 317.1 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08326/9.821, allocations: 10.56 MB / 1.851 GB, free: 315.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.08539/9.906, allocations: 6.376 MB / 1.858 GB, free: 310 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1062/10.01, allocations: 31.7 MB / 1.889 GB, free: 278.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07472/10.09, allocations: 4.376 MB / 1.893 GB, free: 273.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005556/10.09, allocations: 0.6282 MB / 1.894 GB, free: 273.3 MB / 0.9324 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.01578/10.11, allocations: 2.466 MB / 1.896 GB, free: 270.8 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00667/10.12, allocations: 0.8465 MB / 1.897 GB, free: 270.4 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3508/10.47, allocations: 53.51 MB / 1.949 GB, free: 216.9 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004195/10.47, allocations: 57.19 kB / 1.949 GB, free: 216.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/10.47, allocations: 7.938 kB / 1.949 GB, free: 216.9 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01434/10.48, allocations: 4.151 MB / 1.953 GB, free: 212.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007413/10.49, allocations: 208 kB / 1.953 GB, free: 212.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.07729/10.57, allocations: 4.37 MB / 1.958 GB, free: 208.4 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007003/10.57, allocations: 0.8712 MB / 1.958 GB, free: 207.5 MB / 0.9324 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.4189/10.99, allocations: 49.41 MB / 2.007 GB, free: 158.2 MB / 0.9324 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3745/11.37, allocations: 62.49 MB / 2.068 GB, free: 95.58 MB / 0.9324 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1219/11.49, allocations: 20.28 MB / 2.088 GB, free: 75.27 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.01367/11.5, allocations: 3.663 MB / 2.091 GB, free: 71.62 MB / 0.9324 GB Notification: Performance of Backend: time 2.325e-06/11.5, allocations: 0 / 2.091 GB, free: 71.62 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.3752/11.88, allocations: 50.3 MB / 2.14 GB, free: 21.89 MB / 0.9324 GB Notification: Performance of SimCode: time 0.7508/12.63, allocations: 23.42 MB / 2.163 GB, free: 319.8 MB / 0.9324 GB Notification: Performance of Templates: time 1.759/14.39, allocations: 0.5315 GB / 2.695 GB, free: 175.2 MB / 0.9324 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.sim & ./Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.Examples.RenewableSources.pipe 2>&1)