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.419/1.419, allocations: 288.4 MB / 303.6 MB, free: 7.973 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.0008909/0.0008909, allocations: 187.1 kB / 372.2 MB, free: 10.12 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.084/1.084, allocations: 205.4 MB / 0.631 GB, free: 9.805 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.000658/0.000658, allocations: 94.34 kB / 0.7444 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 21.25 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1396, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.003983/0.1436, allocations: 5.031 MB / 0.9851 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.417/0.5606, allocations: 140.2 MB / 1.122 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004906/0.5612, allocations: 29.66 kB / 1.122 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.5644, allocations: 1.568 MB / 1.124 GB, free: 2.066 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.0009775/0.5654, allocations: 0.5506 MB / 1.124 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.567, allocations: 0.7309 MB / 1.125 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.5689, allocations: 2.893 MB / 1.128 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.5697, allocations: 0.8758 MB / 1.129 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007659/0.5705, allocations: 0.8296 MB / 1.129 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000674/0.5712, allocations: 0.7564 MB / 1.13 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.5713, allocations: 43.22 kB / 1.13 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.5735, allocations: 1.776 MB / 1.132 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.5746, allocations: 1.93 MB / 1.134 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.5757, allocations: 1.65 MB / 1.135 GB, free: 300 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004625/0.5804, allocations: 6.146 MB / 1.141 GB, free: 13.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5804, allocations: 0 / 1.141 GB, free: 13.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5804, allocations: 4 kB / 1.141 GB, free: 13.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.642e-05/0.5805, allocations: 0 / 1.141 GB, free: 13.61 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.008038/0.5885, allocations: 4.96 MB / 1.146 GB, free: 10.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5885, allocations: 10.03 kB / 1.146 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.5887, allocations: 179.5 kB / 1.146 GB, free: 10.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.5899, allocations: 469.6 kB / 1.147 GB, free: 10.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5568/1.147, allocations: 321 MB / 1.46 GB, free: 343.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/1.147, allocations: 125.5 kB / 1.46 GB, free: 343.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/1.147, allocations: 176.2 kB / 1.461 GB, free: 343.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.149, allocations: 1.549 MB / 1.462 GB, free: 342.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/1.149, allocations: 0 / 1.462 GB, free: 342.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/1.149, allocations: 49.94 kB / 1.462 GB, free: 342.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/1.149, allocations: 24.97 kB / 1.462 GB, free: 342.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/1.151, allocations: 1.652 MB / 1.464 GB, free: 341.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03838/1.189, allocations: 76.35 MB / 1.538 GB, free: 265.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.191, allocations: 1.464 MB / 1.54 GB, free: 263.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/1.192, allocations: 1.002 MB / 1.541 GB, free: 262.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.092e-05/1.192, allocations: 32.75 kB / 1.541 GB, free: 262.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008904/1.193, allocations: 0.8833 MB / 1.542 GB, free: 261.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 2.535e-06/1.193, allocations: 0 / 1.542 GB, free: 261.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=106): time 0.004706/1.197, allocations: 2.843 MB / 1.544 GB, free: 259.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/1.198, allocations: 342.2 kB / 1.545 GB, free: 258.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6514/1.849, allocations: 379.7 MB / 1.916 GB, free: 259.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003777/1.849, allocations: 73.2 kB / 1.916 GB, free: 259.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/1.851, allocations: 1.564 MB / 1.917 GB, free: 257.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/1.851, allocations: 354.6 kB / 1.917 GB, free: 257.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/1.851, allocations: 40 kB / 1.918 GB, free: 257.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/1.851, allocations: 406.3 kB / 1.918 GB, free: 257.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/1.853, allocations: 1.397 MB / 1.919 GB, free: 255.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/1.854, allocations: 2.102 MB / 1.921 GB, free: 253.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/1.857, allocations: 3.473 MB / 1.925 GB, free: 249.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/1.857, allocations: 8 kB / 1.925 GB, free: 249.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.004861/1.862, allocations: 4.135 MB / 1.929 GB, free: 245.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.862, allocations: 189.6 kB / 1.929 GB, free: 245.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.862, allocations: 20 kB / 1.929 GB, free: 245.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.939e-05/1.862, allocations: 36.25 kB / 1.929 GB, free: 245.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/1.863, allocations: 455.2 kB / 1.929 GB, free: 244.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/1.863, allocations: 46.3 kB / 1.929 GB, free: 244.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.865, allocations: 0.537 MB / 1.93 GB, free: 244.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/1.865, allocations: 104 kB / 1.93 GB, free: 244 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.00162/1.867, allocations: 1.647 MB / 1.932 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/1.867, allocations: 343.4 kB / 1.932 GB, free: 242 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/1.87, allocations: 2.891 MB / 1.935 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.87, allocations: 8 kB / 1.935 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.87, allocations: 4 kB / 1.935 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/1.87, allocations: 3.984 kB / 1.935 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/1.876, allocations: 6.088 MB / 1.941 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.876, allocations: 3.984 kB / 1.941 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/1.876, allocations: 161.4 kB / 1.941 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.876, allocations: 4 kB / 1.941 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.895e-05/1.876, allocations: 27.98 kB / 1.941 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/1.876, allocations: 4 kB / 1.941 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.876, allocations: 0 / 1.941 GB, free: 232.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/1.879, allocations: 2.752 MB / 1.944 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.88, allocations: 1.222 MB / 1.945 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004262/1.88, allocations: 20 kB / 1.945 GB, free: 228.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.882, allocations: 304.6 kB / 1.945 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/1.882, allocations: 64.91 kB / 1.945 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/1.882, allocations: 44.61 kB / 1.945 GB, free: 228.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.4991/2.381, allocations: 305.4 MB / 2.244 GB, free: 300.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/2.381, allocations: 0 / 2.244 GB, free: 300.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003844/2.385, allocations: 1.17 MB / 2.245 GB, free: 299.7 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.004926/2.39, allocations: 4.113 MB / 2.249 GB, free: 296.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003533/2.393, allocations: 4.491 MB / 2.253 GB, free: 292.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/2.394, allocations: 1.25 kB / 2.253 GB, free: 292.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/2.395, allocations: 2.18 MB / 2.255 GB, free: 290.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/2.397, allocations: 431.2 kB / 2.256 GB, free: 289.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.248/3.645, allocations: 0.9189 GB / 3.175 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/3.646, allocations: 2.315 MB / 3.177 GB, free: 99.16 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002903/3.649, allocations: 1.265 MB / 3.178 GB, free: 98.02 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/3.652, allocations: 1.702 MB / 3.18 GB, free: 96.32 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/3.652, allocations: 0 / 3.18 GB, free: 96.32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.368/5.019, allocations: 189.6 MB / 3.365 GB, free: 278.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/5.019, allocations: 273.6 kB / 3.365 GB, free: 278.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.871/8.891, allocations: 3.281 kB / 3.365 GB, free: 278.2 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)