Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Examples.RenewableSources.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.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Examples.RenewableSources") translateModel(Buildings.Electrical.Examples.RenewableSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.Examples.RenewableSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001668/0.001668, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.967/1.967, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.002597/0.002597, allocations: 63.91 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2751, allocations: 114.6 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Examples.RenewableSources): time 0.5283/0.8034, allocations: 44.81 MB / 0.8285 GB, free: 21.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.2559/1.059, allocations: 172.1 MB / 0.9966 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0123/1.072, allocations: 155.2 kB / 0.9968 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01502/1.087, allocations: 5.261 MB / 1.002 GB, free: 11.82 MB / 0.795 GB [/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'. [/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'. Notification: Performance of NFTyping.typeBindings: time 0.02142/1.108, allocations: 5.062 MB / 1.007 GB, free: 6.75 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01891/1.127, allocations: 5.267 MB / 1.012 GB, free: 1.512 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02827/1.155, allocations: 12.61 MB / 1.024 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02181/1.177, allocations: 12.16 MB / 1.036 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03558/1.213, allocations: 9.009 MB / 1.045 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01414/1.227, allocations: 6.382 MB / 1.051 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.005891/1.233, allocations: 1.367 MB / 1.053 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0117/1.245, allocations: 3.325 MB / 1.056 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.006365/1.251, allocations: 3.521 MB / 1.059 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01132/1.263, allocations: 5.808 MB / 1.065 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02883/1.291, allocations: 17.56 MB / 1.082 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.291, allocations: 0 / 1.082 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.534e-06/1.291, allocations: 0 / 1.082 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0006524/1.292, allocations: 0 / 1.082 GB, free: 10.63 MB / 0.8731 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.03563/1.328, allocations: 11.15 MB / 1.093 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.328, allocations: 12.03 kB / 1.093 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05307/1.381, allocations: 7.971 MB / 1.101 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0162/1.397, allocations: 5.758 MB / 1.106 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008134/1.398, allocations: 0.6863 MB / 1.107 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004011/1.402, allocations: 0.9022 MB / 1.108 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05668/1.459, allocations: 14.2 MB / 1.122 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005553/1.459, allocations: 27.66 kB / 1.122 GB, free: 1.328 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004697/1.464, allocations: 404 kB / 1.122 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002177/1.466, allocations: 0.5833 MB / 1.123 GB, free: 356 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07604/1.542, allocations: 15.2 MB / 1.138 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.013/2.555, allocations: 46.64 MB / 1.183 GB, free: 262.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03653/2.592, allocations: 9.81 MB / 1.193 GB, free: 259.4 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01864/2.611, allocations: 5.758 MB / 1.198 GB, free: 257.4 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/2.612, allocations: 0.7091 MB / 1.199 GB, free: 256.8 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02432/2.637, allocations: 6.434 MB / 1.205 GB, free: 253.4 MB / 0.92 GB Notification: Performance of pre-optimization done (n=671): time 4.75e-05/2.637, allocations: 0 / 1.205 GB, free: 253.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=1187): time 2.229/4.866, allocations: 328.1 MB / 1.526 GB, free: 304.4 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003808/4.866, allocations: 0.7056 MB / 1.526 GB, free: 303.6 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/4.877, allocations: 5.53 MB / 1.532 GB, free: 301.8 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.00537/4.882, allocations: 231.4 kB / 1.532 GB, free: 301.6 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.004444/4.887, allocations: 3.903 MB / 1.536 GB, free: 299.6 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.008162/4.895, allocations: 3.912 MB / 1.54 GB, free: 296.6 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01814/4.913, allocations: 2.479 MB / 1.542 GB, free: 295.6 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 7.746e-05/4.913, allocations: 307.9 kB / 1.542 GB, free: 295.4 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06938/4.982, allocations: 19.02 MB / 1.561 GB, free: 289.8 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06814/5.051, allocations: 20.65 MB / 1.581 GB, free: 279.5 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1259/5.177, allocations: 37.66 MB / 1.618 GB, free: 244.3 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001451/5.177, allocations: 8 kB / 1.618 GB, free: 244.3 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1533) (initialization): time 0.1933/5.37, allocations: 51.3 MB / 1.668 GB, free: 193.2 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/5.37, allocations: 16.78 kB / 1.668 GB, free: 193.2 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/5.37, allocations: 36.12 kB / 1.668 GB, free: 193.1 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0538/5.424, allocations: 13.49 MB / 1.681 GB, free: 179.6 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04313/5.467, allocations: 6.222 MB / 1.687 GB, free: 173.4 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08288/5.55, allocations: 44.46 MB / 1.731 GB, free: 128.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0419/5.592, allocations: 4.312 MB / 1.735 GB, free: 124.3 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006405/5.599, allocations: 0.636 MB / 1.736 GB, free: 123.7 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.07579/5.675, allocations: 20.74 MB / 1.756 GB, free: 102.9 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.06569/5.74, allocations: 20.46 MB / 1.776 GB, free: 81.99 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1202/5.861, allocations: 37.27 MB / 1.812 GB, free: 44.23 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001135/5.861, allocations: 12 kB / 1.812 GB, free: 44.22 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1533) (initialization_lambda0): time 0.815/6.676, allocations: 48.57 MB / 1.86 GB, free: 290.7 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 5.896e-05/6.676, allocations: 17.89 kB / 1.86 GB, free: 290.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-05/6.676, allocations: 35.94 kB / 1.86 GB, free: 290.7 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04516/6.721, allocations: 9.813 MB / 1.869 GB, free: 290.7 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04415/6.765, allocations: 6.277 MB / 1.875 GB, free: 290.7 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06396/6.829, allocations: 35.27 MB / 1.91 GB, free: 279.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04124/6.871, allocations: 4.272 MB / 1.914 GB, free: 278.7 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005304/6.876, allocations: 0.6288 MB / 1.915 GB, free: 278.4 MB / 0.9513 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 ($PRE.pow1.nextTimeEvent,$whenCondition7,$PRE.pow2.nextTimeEvent,$whenCondition6,$PRE.pow3.nextTimeEvent,$whenCondition5,$PRE.pow4.nextTimeEvent,$whenCondition4,$PRE.pow5.nextTimeEvent,$whenCondition3,$PRE.pow6.nextTimeEvent,$whenCondition2,$PRE.pow7.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,line8.commercialCable.material,line7.commercialCable.material,line6.commercialCable.material,line5.commercialCable.material,line4.commercialCable.material,line3.commercialCable.material,line2.commercialCable.material,line1.commercialCable.material,pow7.nextTimeEventScaled,$PRE.pow7.nextTimeEventScaled,pow7.nextTimeEvent,pow6.nextTimeEventScaled,$PRE.pow6.nextTimeEventScaled,pow6.nextTimeEvent,pow5.nextTimeEventScaled,$PRE.pow5.nextTimeEventScaled,pow5.nextTimeEvent,pow4.nextTimeEventScaled,$PRE.pow4.nextTimeEventScaled,pow4.nextTimeEvent,pow3.nextTimeEventScaled,$PRE.pow3.nextTimeEventScaled,pow3.nextTimeEvent,pow2.nextTimeEventScaled,$PRE.pow2.nextTimeEventScaled,pow2.nextTimeEvent,pow1.nextTimeEventScaled,$PRE.pow1.nextTimeEventScaled,pow1.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition8,$whenCondition9,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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(23,67,20.4%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(23,67)} Notification: Performance of prepare postOptimizeDAE: time 0.007163/6.883, allocations: 0.8186 MB / 1.915 GB, free: 277.9 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004921/6.888, allocations: 0.8418 MB / 1.916 GB, free: 277.9 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1883/7.077, allocations: 52.7 MB / 1.968 GB, free: 241.3 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005582/7.077, allocations: 63.72 kB / 1.968 GB, free: 241.2 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.828e-05/7.077, allocations: 0 / 1.968 GB, free: 241.2 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01158/7.089, allocations: 4.086 MB / 1.972 GB, free: 237.2 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005828/7.095, allocations: 224.9 kB / 1.972 GB, free: 237 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03761/7.132, allocations: 4.253 MB / 1.976 GB, free: 232.7 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003866/7.136, allocations: 0.8595 MB / 1.977 GB, free: 231.9 MB / 0.9513 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1891/7.325, allocations: 48.88 MB / 2.025 GB, free: 183.1 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1999/7.525, allocations: 61.94 MB / 2.085 GB, free: 121.1 MB / 0.9513 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.06154/7.587, allocations: 20.12 MB / 2.105 GB, free: 100.9 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.006725/7.594, allocations: 3.704 MB / 2.109 GB, free: 97.22 MB / 0.9513 GB Notification: Performance of Backend: time 1.402e-06/7.594, allocations: 0 / 2.109 GB, free: 97.22 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.17/7.764, allocations: 50.16 MB / 2.157 GB, free: 47.87 MB / 0.9513 GB Notification: Performance of SimCode: time 0.04013/7.804, allocations: 19.58 MB / 2.177 GB, free: 28.39 MB / 0.9513 GB Notification: Performance of Templates: time 1.537/9.341, allocations: 0.5582 GB / 2.735 GB, free: 197.8 MB / 0.9669 GB make -j1 -f Buildings_8_Buildings.Electrical.Examples.RenewableSources.makefile (rm -f Buildings_8_Buildings.Electrical.Examples.RenewableSources.pipe ; mkfifo Buildings_8_Buildings.Electrical.Examples.RenewableSources.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Examples.RenewableSources.pipe >> ../files/Buildings_8_Buildings.Electrical.Examples.RenewableSources.sim & ./Buildings_8_Buildings.Electrical.Examples.RenewableSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.Examples.RenewableSources.pipe 2>&1)