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.001281/0.001281, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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: 194.7 kB / 16.25 MB, free: 6.621 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.476/1.476, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.695/1.695, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001383/0.001383, allocations: 70.11 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007703/0.2173, allocations: 5.766 MB / 0.7885 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6026/0.8199, allocations: 152.7 MB / 0.9377 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.8212, allocations: 27.69 kB / 0.9377 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005743/0.8269, allocations: 1.613 MB / 0.9393 GB, free: 5.098 MB / 0.7325 GB [/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.002407/0.8294, allocations: 0.5893 MB / 0.9398 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.8319, allocations: 0.8538 MB / 0.9407 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00395/0.8359, allocations: 3.192 MB / 0.9438 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.8374, allocations: 0.918 MB / 0.9447 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.8395, allocations: 1.099 MB / 0.9458 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.8412, allocations: 0.9812 MB / 0.9467 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003906/0.8416, allocations: 176.6 kB / 0.9469 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/0.8464, allocations: 2.117 MB / 0.9489 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.8493, allocations: 1.872 MB / 0.9508 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002095/0.8514, allocations: 1.069 MB / 0.9518 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006699/0.8581, allocations: 4.047 MB / 0.9558 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.8581, allocations: 0 / 0.9558 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8581, allocations: 0 / 0.9558 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.599e-05/0.8582, allocations: 1.156 kB / 0.9558 GB, free: 4.262 MB / 0.7325 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.006602/0.8648, allocations: 2.805 MB / 0.9585 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.8649, allocations: 8.75 kB / 0.9585 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.8661, allocations: 289.3 kB / 0.9588 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006457/0.8726, allocations: 4.504 MB / 0.9632 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.8727, allocations: 128.1 kB / 0.9633 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.8731, allocations: 173.7 kB / 0.9635 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.8757, allocations: 1.552 MB / 0.965 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.8757, allocations: 3.312 kB / 0.965 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.8759, allocations: 50.81 kB / 0.9651 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.8759, allocations: 26.69 kB / 0.9651 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002211/0.8781, allocations: 1.638 MB / 0.9667 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009435/0.8876, allocations: 6.681 MB / 0.9732 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.8893, allocations: 1.469 MB / 0.9746 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009228/0.8903, allocations: 0.9944 MB / 0.9756 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.672e-05/0.8904, allocations: 32.23 kB / 0.9756 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.8915, allocations: 0.8882 MB / 0.9765 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=106): time 2.415e-06/0.8915, allocations: 0 / 0.9765 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=106): time 0.003699/0.8952, allocations: 2.665 MB / 0.9791 GB, free: 16.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000222/0.8955, allocations: 339.7 kB / 0.9794 GB, free: 16.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009659/0.9052, allocations: 7.318 MB / 0.9866 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006367/0.9058, allocations: 74.55 kB / 0.9866 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.9068, allocations: 0.7542 MB / 0.9874 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.9073, allocations: 359.8 kB / 0.9877 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/0.9092, allocations: 1.865 MB / 0.9895 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9093, allocations: 301.1 kB / 0.9898 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01177/0.9211, allocations: 12.95 MB / 1.002 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01337/0.9345, allocations: 13.66 MB / 1.016 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01615/0.9507, allocations: 17.02 MB / 1.032 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.9507, allocations: 2.531 kB / 1.032 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03292/0.9837, allocations: 31.15 MB / 1.063 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000297/0.984, allocations: 177.6 kB / 1.063 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.936e-05/0.9841, allocations: 12 kB / 1.063 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.473e-05/0.9841, allocations: 20 kB / 1.063 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.9863, allocations: 458.8 kB / 1.064 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/0.9864, allocations: 36.98 kB / 1.064 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/0.9882, allocations: 264.7 kB / 1.064 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/0.9884, allocations: 107.3 kB / 1.064 GB, free: 5.262 MB / 0.8106 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.00176/0.9902, allocations: 1.207 MB / 1.065 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004146/0.9906, allocations: 171.4 kB / 1.065 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/0.9943, allocations: 2.595 MB / 1.068 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.9944, allocations: 8 kB / 1.068 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.9944, allocations: 4 kB / 1.068 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.9944, allocations: 11.98 kB / 1.068 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006712/1.001, allocations: 4.083 MB / 1.072 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.001, allocations: 0 / 1.072 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/1.002, allocations: 157 kB / 1.072 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.002, allocations: 7.938 kB / 1.072 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/1.002, allocations: 35.92 kB / 1.072 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.002, allocations: 0 / 1.072 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.002, allocations: 4 kB / 1.072 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/1.005, allocations: 2.558 MB / 1.074 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006829/1.006, allocations: 410.4 kB / 1.075 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/1.006, allocations: 27.94 kB / 1.075 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/1.007, allocations: 63.88 kB / 1.075 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.007, allocations: 64.91 kB / 1.075 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.478e-05/1.007, allocations: 43.98 kB / 1.075 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004402/1.012, allocations: 4.599 MB / 1.08 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.3e-07/1.012, allocations: 1.875 kB / 1.08 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003714/1.015, allocations: 1.134 MB / 1.081 GB, free: 4.043 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00268/1.018, allocations: 0.9045 MB / 1.082 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01952/1.038, allocations: 19.42 MB / 1.101 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/1.038, allocations: 0 / 1.101 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002362/1.04, allocations: 2.19 MB / 1.103 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/1.042, allocations: 328.7 kB / 1.103 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.055, allocations: 9.368 MB / 1.112 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/1.057, allocations: 2.316 MB / 1.114 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00166/1.059, allocations: 431.7 kB / 1.115 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/1.059, allocations: 147.4 kB / 1.115 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of SimCode: time 1.012e-06/1.059, allocations: 3.938 kB / 1.115 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of Templates: time 0.08031/1.14, allocations: 33.59 MB / 1.148 GB, free: 15.83 MB / 0.9044 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)