Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 288.4 MB / 303.3 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 172.5 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.6307 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000763/0.0007629, allocations: 96.81 kB / 0.7441 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004335, allocations: 12.47 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005059/0.2206, allocations: 5.027 MB / 0.9846 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6736/0.8942, allocations: 140.2 MB / 1.122 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00145/0.8958, allocations: 20.78 kB / 1.122 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005431/0.9012, allocations: 1.497 MB / 1.123 GB, free: 1.977 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.002557/0.9038, allocations: 0.5464 MB / 1.124 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.9068, allocations: 0.731 MB / 1.124 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003549/0.9104, allocations: 2.856 MB / 1.127 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.9114, allocations: 0.6977 MB / 1.128 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.913, allocations: 0.8986 MB / 1.129 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.9141, allocations: 0.7523 MB / 1.129 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.9142, allocations: 45.16 kB / 1.129 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.9182, allocations: 1.733 MB / 1.131 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.9201, allocations: 1.926 MB / 1.133 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008995/0.921, allocations: 0.563 MB / 1.133 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01269/0.9337, allocations: 6.137 MB / 1.139 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.9338, allocations: 3.938 kB / 1.139 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.065e-06/0.9338, allocations: 0 / 1.139 GB, free: 14.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002471/0.9341, allocations: 0 / 1.139 GB, free: 14.18 MB / 0.698 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.02583/0.9599, allocations: 4.993 MB / 1.144 GB, free: 11.37 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.455e-05/0.9601, allocations: 9.875 kB / 1.144 GB, free: 11.37 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009368/0.961, allocations: 186.4 kB / 1.145 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006342/0.9674, allocations: 467.5 kB / 1.145 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8487/1.816, allocations: 320.9 MB / 1.458 GB, free: 344 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/1.816, allocations: 124.9 kB / 1.459 GB, free: 343.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/1.817, allocations: 173.6 kB / 1.459 GB, free: 343.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/1.82, allocations: 1.322 MB / 1.46 GB, free: 343.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/1.82, allocations: 0 / 1.46 GB, free: 343.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.82, allocations: 57.25 kB / 1.46 GB, free: 343.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/1.82, allocations: 29.44 kB / 1.46 GB, free: 343.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/1.822, allocations: 1.416 MB / 1.461 GB, free: 342.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05205/1.874, allocations: 76.34 MB / 1.536 GB, free: 267.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/1.876, allocations: 1.129 MB / 1.537 GB, free: 266.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/1.877, allocations: 0.6555 MB / 1.538 GB, free: 265.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.799e-05/1.877, allocations: 36.67 kB / 1.538 GB, free: 265.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009449/1.878, allocations: 0.67 MB / 1.538 GB, free: 264.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 3.737e-06/1.878, allocations: 0 / 1.538 GB, free: 264.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=106): time 0.005833/1.884, allocations: 2.16 MB / 1.541 GB, free: 262.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.884, allocations: 338.2 kB / 1.541 GB, free: 262.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8999/2.784, allocations: 379.7 MB / 1.912 GB, free: 263 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004953/2.784, allocations: 69.7 kB / 1.912 GB, free: 262.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002094/2.786, allocations: 1.566 MB / 1.913 GB, free: 261.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/2.787, allocations: 350.9 kB / 1.914 GB, free: 261.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/2.787, allocations: 40 kB / 1.914 GB, free: 261.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002063/2.787, allocations: 413.8 kB / 1.914 GB, free: 260.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/2.789, allocations: 1.156 MB / 1.915 GB, free: 259.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/2.791, allocations: 1.881 MB / 1.917 GB, free: 257.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002055/2.793, allocations: 1.585 MB / 1.918 GB, free: 255.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/2.794, allocations: 8 kB / 1.919 GB, free: 255.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.00612/2.8, allocations: 3.683 MB / 1.922 GB, free: 252.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/2.8, allocations: 185.6 kB / 1.922 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/2.8, allocations: 20.98 kB / 1.922 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/2.8, allocations: 40.34 kB / 1.922 GB, free: 251.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/2.801, allocations: 459.2 kB / 1.923 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.974e-05/2.801, allocations: 44.73 kB / 1.923 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00316/2.805, allocations: 0.5341 MB / 1.923 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/2.805, allocations: 108 kB / 1.923 GB, free: 250.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002412/2.807, allocations: 1.64 MB / 1.925 GB, free: 249.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/2.809, allocations: 343.4 kB / 1.925 GB, free: 248.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/2.812, allocations: 2.434 MB / 1.928 GB, free: 246.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/2.812, allocations: 16.08 kB / 1.928 GB, free: 246.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/2.812, allocations: 0 / 1.928 GB, free: 246.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/2.812, allocations: 9.047 kB / 1.928 GB, free: 246.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007391/2.82, allocations: 5.63 MB / 1.933 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/2.82, allocations: 4 kB / 1.933 GB, free: 240.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/2.82, allocations: 155.7 kB / 1.933 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/2.82, allocations: 0 / 1.933 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/2.82, allocations: 31.98 kB / 1.933 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/2.82, allocations: 4 kB / 1.933 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/2.82, allocations: 0 / 1.933 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003106/2.824, allocations: 2.279 MB / 1.936 GB, free: 238.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001814/2.825, allocations: 1.23 MB / 1.937 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006174/2.826, allocations: 24 kB / 1.937 GB, free: 236.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001622/2.828, allocations: 303.1 kB / 1.937 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/2.828, allocations: 64.91 kB / 1.937 GB, free: 236.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/2.828, allocations: 45.44 kB / 1.937 GB, free: 236.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.6179/3.446, allocations: 305.4 MB / 2.235 GB, free: 308.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.495e-06/3.446, allocations: 0 / 2.235 GB, free: 308.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005359/3.451, allocations: 1.168 MB / 2.237 GB, free: 307.3 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008557/3.46, allocations: 3.638 MB / 2.24 GB, free: 304.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004826/3.465, allocations: 4.028 MB / 2.244 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/3.465, allocations: 3.938 kB / 2.244 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/3.466, allocations: 1.967 MB / 2.246 GB, free: 298.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/3.471, allocations: 417.5 kB / 2.246 GB, free: 298.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.596/5.067, allocations: 0.918 GB / 3.164 GB, free: 111.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/5.07, allocations: 2.321 MB / 3.167 GB, free: 109.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003879/5.074, allocations: 1.266 MB / 3.168 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003361/5.077, allocations: 1.704 MB / 3.17 GB, free: 106.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.944e-06/5.077, allocations: 0 / 3.17 GB, free: 106.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.655/5.732, allocations: 188.2 MB / 3.353 GB, free: 289.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/5.732, allocations: 278.9 kB / 3.354 GB, free: 289.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.438/10.17, allocations: 0 / 3.354 GB, free: 289.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)