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.001043/0.001043, 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.001176/0.001176, allocations: 190.5 kB / 16.14 MB, free: 6.703 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.37/1.37, allocations: 205.1 MB / 222 MB, free: 4.77 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.464/1.464, allocations: 251.7 MB / 0.5088 GB, free: 3.324 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.001258/0.001258, allocations: 63.92 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5082, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007204/0.5155, allocations: 5.773 MB / 0.7294 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1536/0.6691, allocations: 152.9 MB / 0.8788 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.6704, allocations: 19.88 kB / 0.8788 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004335/0.6747, allocations: 1.62 MB / 0.8804 GB, free: 12.18 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.001635/0.6764, allocations: 0.5715 MB / 0.881 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.6783, allocations: 0.8281 MB / 0.8818 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002471/0.6808, allocations: 3.142 MB / 0.8848 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.6818, allocations: 0.8886 MB / 0.8857 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.6831, allocations: 0.9536 MB / 0.8866 GB, free: 5.75 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.6841, allocations: 0.9221 MB / 0.8875 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.6843, allocations: 96 kB / 0.8876 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.6874, allocations: 1.923 MB / 0.8895 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.6888, allocations: 1.81 MB / 0.8913 GB, free: 0.9922 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009039/0.6897, allocations: 0.9708 MB / 0.8922 GB, free: 16 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00485/0.6945, allocations: 3.962 MB / 0.8961 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6946, allocations: 0 / 0.8961 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6946, allocations: 0 / 0.8961 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.6946, allocations: 0 / 0.8961 GB, free: 12.04 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.004042/0.6987, allocations: 2.804 MB / 0.8988 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6987, allocations: 12.03 kB / 0.8988 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.6995, allocations: 289.4 kB / 0.8991 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004251/0.7038, allocations: 4.508 MB / 0.9035 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.151e-05/0.7039, allocations: 126.2 kB / 0.9036 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/0.7041, allocations: 168 kB / 0.9038 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.7063, allocations: 1.552 MB / 0.9053 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7063, allocations: 4 kB / 0.9053 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.7064, allocations: 48 kB / 0.9054 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.7065, allocations: 28 kB / 0.9054 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.7087, allocations: 1.644 MB / 0.907 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3851/1.094, allocations: 6.67 MB / 0.9135 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/1.096, allocations: 1.461 MB / 0.9149 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/1.098, allocations: 0.9935 MB / 0.9159 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.62e-05/1.098, allocations: 34.09 kB / 0.9159 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/1.099, allocations: 0.8916 MB / 0.9168 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.396e-06/1.099, allocations: 0 / 0.9168 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.003882/1.103, allocations: 2.671 MB / 0.9194 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/1.104, allocations: 343.1 kB / 0.9197 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/1.111, allocations: 7.317 MB / 0.9269 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003202/1.112, allocations: 65.7 kB / 0.927 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005095/1.112, allocations: 0.7522 MB / 0.9277 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/1.112, allocations: 354.5 kB / 0.928 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.113, allocations: 1.865 MB / 0.9298 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.297e-05/1.113, allocations: 306.5 kB / 0.9301 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008014/1.121, allocations: 12.94 MB / 0.9428 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008784/1.13, allocations: 13.65 MB / 0.9561 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.142, allocations: 17.03 MB / 0.9727 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.208e-05/1.142, allocations: 4 kB / 0.9727 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02254/1.164, allocations: 31.16 MB / 1.003 GB, free: 93.88 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/1.164, allocations: 183.5 kB / 1.003 GB, free: 93.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-05/1.165, allocations: 12 kB / 1.003 GB, free: 93.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/1.165, allocations: 27.94 kB / 1.003 GB, free: 93.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/1.166, allocations: 455.2 kB / 1.004 GB, free: 93.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/1.166, allocations: 27.94 kB / 1.004 GB, free: 93.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.168, allocations: 261.1 kB / 1.004 GB, free: 92.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/1.168, allocations: 104 kB / 1.004 GB, free: 92.82 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.001299/1.169, allocations: 1.209 MB / 1.005 GB, free: 91.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/1.17, allocations: 165.8 kB / 1.006 GB, free: 91.44 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/1.173, allocations: 2.6 MB / 1.008 GB, free: 88.83 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/1.173, allocations: 15.94 kB / 1.008 GB, free: 88.81 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.173, allocations: 4 kB / 1.008 GB, free: 88.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/1.173, allocations: 7.922 kB / 1.008 GB, free: 88.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004276/1.177, allocations: 4.075 MB / 1.012 GB, free: 84.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.177, allocations: 3.938 kB / 1.012 GB, free: 84.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005538/1.177, allocations: 155.8 kB / 1.012 GB, free: 84.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/1.177, allocations: 0 / 1.012 GB, free: 84.53 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.29e-05/1.178, allocations: 35.98 kB / 1.012 GB, free: 84.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/1.178, allocations: 4 kB / 1.012 GB, free: 84.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.178, allocations: 0 / 1.012 GB, free: 84.49 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/1.18, allocations: 2.561 MB / 1.015 GB, free: 81.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/1.181, allocations: 410.3 kB / 1.015 GB, free: 81.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/1.181, allocations: 24 kB / 1.015 GB, free: 81.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/1.182, allocations: 63.94 kB / 1.015 GB, free: 81.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.182, allocations: 64.91 kB / 1.015 GB, free: 81.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/1.182, allocations: 43.98 kB / 1.015 GB, free: 81.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003185/1.185, allocations: 4.595 MB / 1.02 GB, free: 76.71 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.71e-07/1.185, allocations: 0 / 1.02 GB, free: 76.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002786/1.188, allocations: 1.142 MB / 1.021 GB, free: 75.64 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.002045/1.19, allocations: 0.9176 MB / 1.022 GB, free: 74.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01198/1.202, allocations: 18.85 MB / 1.04 GB, free: 56.12 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.202, allocations: 0 / 1.04 GB, free: 56.12 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/1.203, allocations: 2.184 MB / 1.042 GB, free: 53.92 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/1.205, allocations: 315.5 kB / 1.043 GB, free: 53.61 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/1.213, allocations: 9.352 MB / 1.052 GB, free: 44.24 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/1.215, allocations: 2.31 MB / 1.054 GB, free: 41.89 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001238/1.216, allocations: 431.6 kB / 1.054 GB, free: 41.47 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.216, allocations: 147.4 kB / 1.055 GB, free: 41.32 MB / 0.7169 GB Notification: Performance of SimCode: time 1.413e-06/1.216, allocations: 0 / 1.055 GB, free: 41.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.06643/1.283, allocations: 32.77 MB / 1.087 GB, free: 8.723 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (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)