Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 109.7 kB / 16.37 MB, free: 6.262 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.001567/0.001567, allocations: 192.8 kB / 17.3 MB, free: 5.848 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.319/1.319, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001442/0.001442, allocations: 63.91 kB / 0.6729 GB, free: 5.762 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1978, allocations: 114.6 MB / 0.7848 GB, free: 3.09 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.3212/0.519, allocations: 5.771 MB / 0.7904 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1579/0.677, allocations: 155 MB / 0.9418 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009747/0.678, allocations: 23.88 kB / 0.9418 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004206/0.6822, allocations: 1.754 MB / 0.9435 GB, free: 7.512 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.001809/0.684, allocations: 0.6442 MB / 0.9441 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.6862, allocations: 0.9446 MB / 0.9451 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002904/0.6891, allocations: 3.2 MB / 0.9482 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6902, allocations: 0.9136 MB / 0.9491 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.6913, allocations: 1.067 MB / 0.9501 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.6924, allocations: 0.9456 MB / 0.9511 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.6926, allocations: 176 kB / 0.9512 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.6957, allocations: 2.134 MB / 0.9533 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.6971, allocations: 1.868 MB / 0.9551 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00093/0.6981, allocations: 1.065 MB / 0.9562 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004133/0.7022, allocations: 4.109 MB / 0.9602 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7022, allocations: 4 kB / 0.9602 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7023, allocations: 0 / 0.9602 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.7023, allocations: 4 kB / 0.9602 GB, free: 6.387 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: 309 * Number of variables: 309 Notification: Performance of Generate backend data structure: time 0.004164/0.7065, allocations: 2.811 MB / 0.9629 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7065, allocations: 8.031 kB / 0.9629 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/0.7073, allocations: 287.5 kB / 0.9632 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.712, allocations: 4.539 MB / 0.9676 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.656e-05/0.7121, allocations: 126.2 kB / 0.9678 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.7123, allocations: 164 kB / 0.9679 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.7145, allocations: 1.552 MB / 0.9694 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.7146, allocations: 0 / 0.9694 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.7147, allocations: 55.92 kB / 0.9695 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.7147, allocations: 28 kB / 0.9695 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.7171, allocations: 1.645 MB / 0.9711 GB, free: 11 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009086/0.7262, allocations: 6.636 MB / 0.9776 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.7282, allocations: 1.452 MB / 0.979 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.7293, allocations: 0.9953 MB / 0.98 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.706e-05/0.7294, allocations: 32.77 kB / 0.98 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.7306, allocations: 0.8907 MB / 0.9809 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=106): time 3.146e-06/0.7306, allocations: 0 / 0.9809 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of matching and sorting (n=106): time 0.003759/0.7344, allocations: 2.666 MB / 0.9835 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002094/0.7346, allocations: 350.1 kB / 0.9838 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00948/0.7441, allocations: 7.314 MB / 0.991 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.7444, allocations: 69.7 kB / 0.991 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/0.745, allocations: 0.7409 MB / 0.9918 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.7453, allocations: 366.8 kB / 0.9921 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/0.7469, allocations: 1.86 MB / 0.9939 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.747, allocations: 313 kB / 0.9942 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01131/0.7583, allocations: 12.94 MB / 1.007 GB, free: 6.18 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01245/0.7708, allocations: 13.64 MB / 1.02 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01699/0.7878, allocations: 17.02 MB / 1.037 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.424e-05/0.7879, allocations: 4 kB / 1.037 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.0319/0.8198, allocations: 31.16 MB / 1.067 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/0.82, allocations: 185.7 kB / 1.067 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.8201, allocations: 13.25 kB / 1.067 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.447e-05/0.8201, allocations: 20 kB / 1.067 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.822, allocations: 455.2 kB / 1.068 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.925e-05/0.822, allocations: 31.86 kB / 1.068 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.8235, allocations: 257.2 kB / 1.068 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.8237, allocations: 105.5 kB / 1.068 GB, free: 6.652 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (274): * Single equations (assignments): 260 * Array equations: 13 * Algorithm blocks: 1 * 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.001404/0.8251, allocations: 1.213 MB / 1.069 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.8254, allocations: 169.7 kB / 1.07 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/0.8291, allocations: 2.537 MB / 1.072 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.8291, allocations: 3.984 kB / 1.072 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8291, allocations: 3.938 kB / 1.072 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.8297, allocations: 406.4 kB / 1.072 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.8299, allocations: 20 kB / 1.073 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007066/0.8306, allocations: 63.94 kB / 1.073 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.8307, allocations: 72.84 kB / 1.073 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003477/0.8342, allocations: 2.825 MB / 1.075 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003297/0.8375, allocations: 2.639 MB / 1.078 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001633/0.8392, allocations: 1.703 MB / 1.08 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.004124/0.8433, allocations: 4.599 MB / 1.084 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of Backend: time 5.61e-07/0.8433, allocations: 0 / 1.084 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0182/0.8615, allocations: 18.95 MB / 1.103 GB, free: 3.609 MB / 0.8887 GB Notification: Performance of SimCode: time 0.01021/0.8718, allocations: 8.469 MB / 1.111 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of Templates: time 0.3656/1.237, allocations: 35.43 MB / 1.146 GB, free: 304.4 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)