Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00157/0.00157, allocations: 197.7 kB / 16.14 MB, free: 6.711 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.336/1.336, allocations: 205.1 MB / 222 MB, free: 4.75 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.507/1.507, allocations: 251.6 MB / 0.5088 GB, free: 3.309 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.001494/0.001494, allocations: 59.92 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4936/0.4951, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009222/0.5044, allocations: 7.014 MB / 0.7307 GB, free: 6.074 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1572/0.6617, allocations: 156.9 MB / 0.8839 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.6634, allocations: 31.81 kB / 0.8839 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00617/0.6695, allocations: 1.775 MB / 0.8857 GB, free: 6.773 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.004391/0.6739, allocations: 0.9724 MB / 0.8866 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.6774, allocations: 1.187 MB / 0.8878 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004829/0.6822, allocations: 5.037 MB / 0.8927 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.6839, allocations: 1.213 MB / 0.8939 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.6861, allocations: 1.378 MB / 0.8952 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.688, allocations: 1.409 MB / 0.8966 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002956/0.6883, allocations: 128 kB / 0.8967 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00406/0.6924, allocations: 2.2 MB / 0.8989 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003195/0.6956, allocations: 4.178 MB / 0.9029 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.6971, allocations: 1.433 MB / 0.9043 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.4543/1.151, allocations: 5.753 MB / 0.91 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.151, allocations: 0.6875 kB / 0.91 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/1.152, allocations: 0.9062 kB / 0.91 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001442/1.152, allocations: 1.844 kB / 0.91 GB, free: 14.05 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.009751/1.161, allocations: 3.996 MB / 0.9139 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.161, allocations: 9.406 kB / 0.9139 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/1.163, allocations: 418 kB / 0.9143 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/1.176, allocations: 12.24 MB / 0.9262 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/1.177, allocations: 164.9 kB / 0.9264 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004308/1.177, allocations: 225.9 kB / 0.9266 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/1.18, allocations: 2.269 MB / 0.9288 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/1.181, allocations: 5.469 kB / 0.9288 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/1.181, allocations: 64.48 kB / 0.9289 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/1.181, allocations: 37.31 kB / 0.9289 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00301/1.184, allocations: 2.377 MB / 0.9312 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/1.201, allocations: 14.77 MB / 0.9457 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/1.203, allocations: 1.856 MB / 0.9475 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.205, allocations: 1.24 MB / 0.9487 GB, free: 9.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/1.205, allocations: 37.08 kB / 0.9487 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001619/1.207, allocations: 1.261 MB / 0.95 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 2.234e-06/1.207, allocations: 0 / 0.95 GB, free: 9.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.006742/1.213, allocations: 3.636 MB / 0.9535 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002473/1.214, allocations: 358.5 kB / 0.9539 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02673/1.24, allocations: 20.56 MB / 0.9739 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008801/1.241, allocations: 81.7 kB / 0.974 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002014/1.243, allocations: 1.149 MB / 0.9751 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/1.244, allocations: 431.3 kB / 0.9755 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004125/1.248, allocations: 4.909 MB / 0.9803 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/1.248, allocations: 301.1 kB / 0.9806 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04215/1.29, allocations: 39.6 MB / 1.019 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03571/1.326, allocations: 40.02 MB / 1.058 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04107/1.367, allocations: 47.65 MB / 1.105 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.804e-05/1.367, allocations: 7.984 kB / 1.105 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.08789/1.455, allocations: 90.85 MB / 1.194 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002586/1.456, allocations: 207.9 kB / 1.194 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/1.456, allocations: 20 kB / 1.194 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/1.456, allocations: 108.8 kB / 1.194 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/1.459, allocations: 0.594 MB / 1.195 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/1.461, allocations: 1.542 MB / 1.196 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/1.464, allocations: 370.4 kB / 1.196 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000352/1.464, allocations: 146.3 kB / 1.197 GB, free: 432 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (380): * Single equations (assignments): 339 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003213/1.468, allocations: 2.491 MB / 1.199 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/1.468, allocations: 245.4 kB / 1.199 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005244/1.473, allocations: 3.353 MB / 1.202 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/1.473, allocations: 8 kB / 1.202 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.474, allocations: 4 kB / 1.202 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/1.474, allocations: 6.609 kB / 1.203 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007693/1.481, allocations: 5.383 MB / 1.208 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.481, allocations: 4 kB / 1.208 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/1.482, allocations: 193.8 kB / 1.208 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/1.483, allocations: 88.52 kB / 1.208 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.553e-05/1.483, allocations: 35.98 kB / 1.208 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/1.485, allocations: 1.554 MB / 1.21 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.485, allocations: 0 / 1.21 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/1.489, allocations: 3.27 MB / 1.213 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/1.49, allocations: 0.517 MB / 1.213 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/1.491, allocations: 31.97 kB / 1.213 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009995/1.492, allocations: 91.91 kB / 1.213 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/1.492, allocations: 80.89 kB / 1.213 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.492, allocations: 63.97 kB / 1.214 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01037/1.503, allocations: 12.74 MB / 1.226 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4e-07/1.503, allocations: 0 / 1.226 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.004704/1.507, allocations: 1.698 MB / 1.228 GB, free: 412 kB / 0.9669 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002284/1.51, allocations: 0.9741 MB / 1.229 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.3801/1.89, allocations: 50.79 MB / 1.278 GB, free: 453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.89, allocations: 0 / 1.278 GB, free: 453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002498/1.892, allocations: 2.653 MB / 1.281 GB, free: 451.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/1.894, allocations: 435.6 kB / 1.281 GB, free: 451.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.915, allocations: 21.01 MB / 1.302 GB, free: 431.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003927/1.919, allocations: 4.602 MB / 1.306 GB, free: 426.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002094/1.921, allocations: 0.6371 MB / 1.307 GB, free: 426.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/1.922, allocations: 203.4 kB / 1.307 GB, free: 425.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.773e-06/1.922, allocations: 3.75 kB / 1.307 GB, free: 425.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.161/2.083, allocations: 56.85 MB / 1.363 GB, free: 369.4 MB / 0.9981 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)