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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.259/1.259, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009078/0.0009079, allocations: 180.6 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205 MB / 0.576 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006871/0.0006871, allocations: 91.64 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 12.91 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1691, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.004465/0.1736, allocations: 5.451 MB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.123/0.2966, allocations: 152.9 MB / 1.051 GB, free: 5.078 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.2973, allocations: 23.88 kB / 1.051 GB, free: 5.055 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003465/0.3008, allocations: 1.616 MB / 1.052 GB, free: 3.434 MB / 0.698 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.00111/0.3019, allocations: 0.5692 MB / 1.053 GB, free: 2.863 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3034, allocations: 0.8247 MB / 1.054 GB, free: 2.047 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.3768/0.6802, allocations: 3.129 MB / 1.057 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.6814, allocations: 0.8788 MB / 1.058 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.6825, allocations: 0.8367 MB / 1.059 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008856/0.6834, allocations: 0.7824 MB / 1.059 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.6836, allocations: 46.08 kB / 1.059 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.6866, allocations: 1.887 MB / 1.061 GB, free: 3.277 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.6883, allocations: 1.863 MB / 1.063 GB, free: 3.277 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.6904, allocations: 1.715 MB / 1.065 GB, free: 3.277 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.008993/0.6994, allocations: 7.197 MB / 1.072 GB, free: 2.699 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6994, allocations: 3 kB / 1.072 GB, free: 2.699 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.276e-06/0.6994, allocations: 1.219 kB / 1.072 GB, free: 2.699 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.54e-05/0.6995, allocations: 5.25 kB / 1.072 GB, free: 2.695 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.01156/0.7111, allocations: 4.945 MB / 1.077 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.7112, allocations: 13.06 kB / 1.077 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002749/0.7114, allocations: 183.5 kB / 1.077 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002666/0.7141, allocations: 463.8 kB / 1.077 GB, free: 364 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2695/0.9837, allocations: 322.5 MB / 1.392 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.9838, allocations: 126.2 kB / 1.392 GB, free: 12.19 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.9841, allocations: 168 kB / 1.392 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.9864, allocations: 1.559 MB / 1.394 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.9865, allocations: 0 / 1.394 GB, free: 10.41 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.189e-05/0.9866, allocations: 51.98 kB / 1.394 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.9866, allocations: 35.66 kB / 1.394 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.9886, allocations: 1.643 MB / 1.396 GB, free: 8.676 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.364/1.353, allocations: 76.36 MB / 1.47 GB, free: 392.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/1.354, allocations: 1.465 MB / 1.472 GB, free: 391.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007473/1.355, allocations: 0.997 MB / 1.473 GB, free: 390.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.29e-05/1.355, allocations: 33.08 kB / 1.473 GB, free: 390.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/1.356, allocations: 0.894 MB / 1.474 GB, free: 389.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 2.915e-06/1.356, allocations: 0 / 1.474 GB, free: 389.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.004746/1.361, allocations: 2.851 MB / 1.476 GB, free: 386.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.361, allocations: 342.2 kB / 1.477 GB, free: 386.5 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3342/1.695, allocations: 379.6 MB / 1.847 GB, free: 6.832 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004242/1.696, allocations: 69.7 kB / 1.847 GB, free: 6.758 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00152/1.697, allocations: 1.57 MB / 1.849 GB, free: 5.242 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/1.697, allocations: 348.2 kB / 1.849 GB, free: 4.906 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/1.698, allocations: 273.8 kB / 1.85 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 3.271e-05/1.698, allocations: 301.1 kB / 1.85 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.699, allocations: 1.398 MB / 1.851 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.701, allocations: 2.123 MB / 1.853 GB, free: 0.5312 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2884/1.989, allocations: 3.466 MB / 1.857 GB, free: 441.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/1.989, allocations: 5.812 kB / 1.857 GB, free: 441.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.00666/1.996, allocations: 4.159 MB / 1.861 GB, free: 441.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/1.996, allocations: 185.3 kB / 1.861 GB, free: 441.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/1.996, allocations: 23.14 kB / 1.861 GB, free: 441.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.442e-05/1.996, allocations: 31.94 kB / 1.861 GB, free: 441.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/1.997, allocations: 455.1 kB / 1.861 GB, free: 441.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.57e-05/1.997, allocations: 51.83 kB / 1.861 GB, free: 441.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/2, allocations: 0.5344 MB / 1.862 GB, free: 441.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/2, allocations: 107.4 kB / 1.862 GB, free: 441.4 MB / 0.9792 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 (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 (249): * Single equations (assignments): 248 * Array equations: 0 * 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.002352/2.002, allocations: 1.643 MB / 1.864 GB, free: 441.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009585/2.003, allocations: 337.5 kB / 1.864 GB, free: 441 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003513/2.007, allocations: 2.9 MB / 1.867 GB, free: 440.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/2.007, allocations: 9.047 kB / 1.867 GB, free: 440.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/2.007, allocations: 0 / 1.867 GB, free: 440.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/2.007, allocations: 5.859 kB / 1.867 GB, free: 440.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/2.014, allocations: 6.105 MB / 1.873 GB, free: 439 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/2.014, allocations: 0.7031 kB / 1.873 GB, free: 439 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/2.015, allocations: 150.6 kB / 1.873 GB, free: 439 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/2.015, allocations: 7.344 kB / 1.873 GB, free: 439 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-05/2.015, allocations: 36.17 kB / 1.873 GB, free: 439 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/2.015, allocations: 3.938 kB / 1.873 GB, free: 439 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/2.015, allocations: 3.344 kB / 1.873 GB, free: 439 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/2.018, allocations: 2.75 MB / 1.876 GB, free: 436.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/2.02, allocations: 1.206 MB / 1.877 GB, free: 435.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004762/2.02, allocations: 30.02 kB / 1.877 GB, free: 435.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/2.022, allocations: 308.9 kB / 1.877 GB, free: 435.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/2.022, allocations: 67.55 kB / 1.877 GB, free: 435.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/2.022, allocations: 40.39 kB / 1.877 GB, free: 435.2 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.1825/2.205, allocations: 305.3 MB / 2.175 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.5e-07/2.205, allocations: 2.438 kB / 2.175 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005172/2.21, allocations: 1.164 MB / 2.177 GB, free: 128.7 MB / 0.9792 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.007218/2.217, allocations: 4.115 MB / 2.181 GB, free: 124.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003842/2.221, allocations: 4.502 MB / 2.185 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/2.221, allocations: 1.984 kB / 2.185 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/2.222, allocations: 2.196 MB / 2.187 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/2.226, allocations: 440.4 kB / 2.188 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.113/4.339, allocations: 1.514 GB / 3.702 GB, free: 357 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/4.341, allocations: 2.324 MB / 3.704 GB, free: 354.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002976/4.344, allocations: 1.262 MB / 3.705 GB, free: 353.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002531/4.347, allocations: 1.706 MB / 3.707 GB, free: 351.8 MB / 0.9792 GB Notification: Performance of SimCode: time 6.81e-07/4.347, allocations: 2.656 kB / 3.707 GB, free: 351.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.146/5.493, allocations: 190.2 MB / 3.893 GB, free: 162.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/5.493, allocations: 303.2 kB / 3.893 GB, free: 162.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.182/9.674, allocations: 0 / 3.893 GB, free: 162.2 MB / 0.9792 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)