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 2.507/2.507, allocations: 252 MB / 267.3 MB, free: 10.86 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.001777/0.001778, allocations: 180.1 kB / 327 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.307/3.307, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.001276/0.001276, allocations: 89.72 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007044/0.0007045, allocations: 9.156 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4075, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009301/0.4169, allocations: 5.333 MB / 0.9061 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2804/0.6974, allocations: 150.5 MB / 1.053 GB, free: 2.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.6996, allocations: 27.81 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008376/0.708, allocations: 1.608 MB / 1.055 GB, free: 1.289 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.004142/0.7122, allocations: 0.578 MB / 1.055 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 1.031/1.743, allocations: 0.8207 MB / 1.056 GB, free: 3.289 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007469/1.751, allocations: 3.132 MB / 1.059 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/1.753, allocations: 0.8718 MB / 1.06 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/1.757, allocations: 0.8388 MB / 1.061 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/1.761, allocations: 0.7807 MB / 1.062 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007057/1.761, allocations: 44.78 kB / 1.062 GB, free: 3.117 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00771/1.769, allocations: 1.887 MB / 1.063 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0059/1.775, allocations: 1.856 MB / 1.065 GB, free: 3.113 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01088/1.786, allocations: 1.745 MB / 1.067 GB, free: 3.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02713/1.813, allocations: 7.205 MB / 1.074 GB, free: 2.457 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.813, allocations: 0 / 1.074 GB, free: 2.457 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.527e-06/1.813, allocations: 0 / 1.074 GB, free: 2.457 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003602/1.814, allocations: 0 / 1.074 GB, free: 2.457 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.02925/1.843, allocations: 4.954 MB / 1.079 GB, free: 380 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.362e-05/1.843, allocations: 17.81 kB / 1.079 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001126/1.844, allocations: 180.7 kB / 1.079 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005969/1.85, allocations: 461.8 kB / 1.079 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5299/2.38, allocations: 322.1 MB / 1.394 GB, free: 10.12 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/2.381, allocations: 130.2 kB / 1.394 GB, free: 9.992 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/2.382, allocations: 172 kB / 1.394 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005649/2.387, allocations: 1.555 MB / 1.396 GB, free: 8.211 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/2.387, allocations: 4 kB / 1.396 GB, free: 8.207 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003202/2.388, allocations: 48 kB / 1.396 GB, free: 8.16 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/2.388, allocations: 28 kB / 1.396 GB, free: 8.133 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/2.393, allocations: 1.649 MB / 1.397 GB, free: 6.48 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.005/3.397, allocations: 76.36 MB / 1.472 GB, free: 388.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/3.4, allocations: 1.473 MB / 1.474 GB, free: 387.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/3.402, allocations: 0.9964 MB / 1.474 GB, free: 386.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/3.402, allocations: 35.81 kB / 1.475 GB, free: 386.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/3.404, allocations: 0.8917 MB / 1.475 GB, free: 385.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=106): time 5.209e-06/3.404, allocations: 0 / 1.475 GB, free: 385.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=106): time 0.009019/3.413, allocations: 2.848 MB / 1.478 GB, free: 382.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/3.413, allocations: 338.2 kB / 1.478 GB, free: 382.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6867/4.1, allocations: 379.6 MB / 1.849 GB, free: 2.762 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000929/4.101, allocations: 69.7 kB / 1.849 GB, free: 2.688 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004942/4.106, allocations: 1.569 MB / 1.851 GB, free: 1.176 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008691/4.107, allocations: 353.4 kB / 1.851 GB, free: 0.832 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007584/4.108, allocations: 40 kB / 1.851 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006024/4.108, allocations: 410.3 kB / 1.852 GB, free: 396 kB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.8387/4.947, allocations: 1.399 MB / 1.853 GB, free: 438.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00619/4.955, allocations: 2.12 MB / 1.855 GB, free: 437.5 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01201/4.967, allocations: 3.481 MB / 1.858 GB, free: 436.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.792e-05/4.967, allocations: 5.906 kB / 1.858 GB, free: 436.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.02032/4.987, allocations: 4.149 MB / 1.862 GB, free: 436.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004646/4.988, allocations: 182.6 kB / 1.863 GB, free: 436.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/4.988, allocations: 22.84 kB / 1.863 GB, free: 436.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/4.988, allocations: 31.56 kB / 1.863 GB, free: 436.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003473/4.992, allocations: 456.3 kB / 1.863 GB, free: 436.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001607/4.992, allocations: 49.81 kB / 1.863 GB, free: 436.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008874/5.001, allocations: 0.5344 MB / 1.864 GB, free: 436.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/5.002, allocations: 108.1 kB / 1.864 GB, free: 436.1 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01035/5.012, allocations: 1.648 MB / 1.865 GB, free: 435.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003955/5.016, allocations: 335.8 kB / 1.866 GB, free: 435.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01117/5.028, allocations: 2.904 MB / 1.869 GB, free: 435.5 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/5.028, allocations: 8.562 kB / 1.869 GB, free: 435.5 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/5.028, allocations: 0.5 kB / 1.869 GB, free: 435.5 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.97e-05/5.028, allocations: 9.844 kB / 1.869 GB, free: 435.5 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02929/5.057, allocations: 6.097 MB / 1.875 GB, free: 434.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/5.057, allocations: 0 / 1.875 GB, free: 434.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/5.058, allocations: 161 kB / 1.875 GB, free: 433.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/5.058, allocations: 4 kB / 1.875 GB, free: 433.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/5.059, allocations: 25.11 kB / 1.875 GB, free: 433.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.147e-05/5.059, allocations: 12.64 kB / 1.875 GB, free: 433.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/5.059, allocations: 4 kB / 1.875 GB, free: 433.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/5.069, allocations: 2.75 MB / 1.877 GB, free: 431.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005942/5.075, allocations: 1.234 MB / 1.879 GB, free: 430.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003798/5.079, allocations: 20 kB / 1.879 GB, free: 430.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00618/5.085, allocations: 309.4 kB / 1.879 GB, free: 430.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005648/5.085, allocations: 62.89 kB / 1.879 GB, free: 430 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/5.086, allocations: 46.75 kB / 1.879 GB, free: 430 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.4133/5.499, allocations: 305.3 MB / 2.177 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.382e-06/5.499, allocations: 0.875 kB / 2.177 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0122/5.511, allocations: 1.17 MB / 2.178 GB, free: 123.6 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.01753/5.529, allocations: 4.114 MB / 2.182 GB, free: 119.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.008493/5.538, allocations: 4.501 MB / 2.187 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/5.538, allocations: 4.062 kB / 2.187 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002984/5.541, allocations: 2.188 MB / 2.189 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009459/5.55, allocations: 437.5 kB / 2.189 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.997/11.55, allocations: 1.514 GB / 3.704 GB, free: 344.8 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005082/11.55, allocations: 2.315 MB / 3.706 GB, free: 342.4 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.00928/11.56, allocations: 1.269 MB / 3.707 GB, free: 341.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009782/11.57, allocations: 1.71 MB / 3.709 GB, free: 339.6 MB / 0.9792 GB Notification: Performance of SimCode: time 3.086e-06/11.57, allocations: 2.906 kB / 3.709 GB, free: 339.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4711/12.04, allocations: 189.6 MB / 3.894 GB, free: 150.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004133/12.04, allocations: 305.8 kB / 3.894 GB, free: 150.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.797/20.84, allocations: 7.391 kB / 3.894 GB, free: 150.5 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)