Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0007908/0.0007907, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005447/0.005447, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.512/1.512, allocations: 205.4 MB / 222.5 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.543/1.543, allocations: 252 MB / 0.5105 GB, free: 4.75 MB / 414.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.0005294/0.0005294, allocations: 20 kB / 0.6249 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5587/0.5593, allocations: 106.3 MB / 0.7287 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006825/0.5661, allocations: 5.333 MB / 0.7339 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1701/0.7363, allocations: 150.6 MB / 0.881 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.7376, allocations: 23.88 kB / 0.881 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00436/0.7419, allocations: 1.612 MB / 0.8826 GB, free: 13.21 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.001998/0.7439, allocations: 0.5739 MB / 0.8831 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.7461, allocations: 0.8261 MB / 0.8839 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002895/0.749, allocations: 3.131 MB / 0.887 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.7501, allocations: 0.8692 MB / 0.8878 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.7515, allocations: 0.8325 MB / 0.8886 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001201/0.7527, allocations: 0.7894 MB / 0.8894 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.7528, allocations: 44 kB / 0.8895 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.7561, allocations: 1.876 MB / 0.8913 GB, free: 4.223 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001375/0.7575, allocations: 1.72 MB / 0.893 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008773/0.7584, allocations: 0.8944 MB / 0.8938 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005141/0.7636, allocations: 3.871 MB / 0.8976 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7636, allocations: 4 kB / 0.8976 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.524e-06/0.7636, allocations: 0 / 0.8976 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.974e-05/0.7636, allocations: 0 / 0.8976 GB, free: 13.71 MB / 0.7169 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.004011/0.7677, allocations: 2.364 MB / 0.8999 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7677, allocations: 12.03 kB / 0.8999 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008076/0.7685, allocations: 305.4 kB / 0.9002 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004636/0.7732, allocations: 4.504 MB / 0.9046 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.436e-05/0.7733, allocations: 126.1 kB / 0.9048 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.7735, allocations: 172 kB / 0.9049 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002365/0.7759, allocations: 1.56 MB / 0.9064 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.7759, allocations: 0 / 0.9064 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.776, allocations: 48 kB / 0.9065 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.7761, allocations: 28 kB / 0.9065 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/0.7783, allocations: 1.651 MB / 0.9081 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3722/1.15, allocations: 6.773 MB / 0.9147 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/1.153, allocations: 1.467 MB / 0.9162 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/1.154, allocations: 0.999 MB / 0.9171 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.583e-05/1.154, allocations: 28.19 kB / 0.9172 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001567/1.156, allocations: 0.893 MB / 0.918 GB, free: 177 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.196e-06/1.156, allocations: 0 / 0.918 GB, free: 177 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.003725/1.16, allocations: 2.68 MB / 0.9207 GB, free: 176.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/1.16, allocations: 345.6 kB / 0.921 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008122/1.168, allocations: 7.313 MB / 0.9281 GB, free: 172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/1.168, allocations: 69.7 kB / 0.9282 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000507/1.169, allocations: 0.7465 MB / 0.9289 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002132/1.169, allocations: 366.2 kB / 0.9293 GB, free: 171 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007801/1.17, allocations: 1.595 MB / 0.9308 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.087e-05/1.17, allocations: 307.6 kB / 0.9311 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008421/1.178, allocations: 12.95 MB / 0.9438 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009004/1.187, allocations: 13.65 MB / 0.9571 GB, free: 142.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.198, allocations: 17.04 MB / 0.9737 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-05/1.199, allocations: 8 kB / 0.9738 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02233/1.221, allocations: 31.16 MB / 1.004 GB, free: 93.97 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.221, allocations: 181.6 kB / 1.004 GB, free: 93.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/1.221, allocations: 12 kB / 1.004 GB, free: 93.78 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/1.221, allocations: 20.53 kB / 1.004 GB, free: 93.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/1.223, allocations: 459.2 kB / 1.005 GB, free: 93.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/1.223, allocations: 31.92 kB / 1.005 GB, free: 93.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/1.224, allocations: 265.1 kB / 1.005 GB, free: 93.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/1.224, allocations: 104 kB / 1.005 GB, free: 92.92 MB / 0.7169 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.001163/1.225, allocations: 1.222 MB / 1.006 GB, free: 91.69 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/1.226, allocations: 169.8 kB / 1.007 GB, free: 91.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002963/1.229, allocations: 2.602 MB / 1.009 GB, free: 88.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/1.229, allocations: 12 kB / 1.009 GB, free: 88.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.229, allocations: 0 / 1.009 GB, free: 88.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.229, allocations: 3.984 kB / 1.009 GB, free: 88.89 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/1.233, allocations: 4.09 MB / 1.013 GB, free: 84.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.233, allocations: 4 kB / 1.013 GB, free: 84.76 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/1.233, allocations: 148.4 kB / 1.013 GB, free: 84.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.233, allocations: 4 kB / 1.013 GB, free: 84.61 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/1.233, allocations: 31.98 kB / 1.013 GB, free: 84.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.233, allocations: 3.984 kB / 1.013 GB, free: 84.58 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.233, allocations: 12 kB / 1.013 GB, free: 84.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002437/1.236, allocations: 2.573 MB / 1.016 GB, free: 81.97 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/1.236, allocations: 434.3 kB / 1.016 GB, free: 81.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/1.237, allocations: 24 kB / 1.016 GB, free: 81.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/1.237, allocations: 76.81 kB / 1.016 GB, free: 81.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.237, allocations: 70.09 kB / 1.016 GB, free: 81.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.068e-05/1.237, allocations: 43.98 kB / 1.016 GB, free: 81.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00292/1.24, allocations: 4.595 MB / 1.021 GB, free: 76.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/1.24, allocations: 3.938 kB / 1.021 GB, free: 76.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002426/1.243, allocations: 1.148 MB / 1.022 GB, free: 75.65 MB / 0.7169 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.001943/1.245, allocations: 0.9084 MB / 1.023 GB, free: 75.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.257, allocations: 18.85 MB / 1.041 GB, free: 56.14 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.257, allocations: 0 / 1.041 GB, free: 56.14 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/1.258, allocations: 2.189 MB / 1.043 GB, free: 53.94 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/1.26, allocations: 319.4 kB / 1.044 GB, free: 53.63 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/1.269, allocations: 9.405 MB / 1.053 GB, free: 44.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.271, allocations: 2.318 MB / 1.055 GB, free: 41.84 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001293/1.272, allocations: 419.7 kB / 1.056 GB, free: 41.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/1.272, allocations: 151.4 kB / 1.056 GB, free: 41.28 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/1.272, allocations: 0 / 1.056 GB, free: 41.28 MB / 0.7169 GB Notification: Performance of Templates: time 0.04206/1.314, allocations: 30.52 MB / 1.086 GB, free: 10.93 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) Environment - environmentSimulation: