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.376/1.376, allocations: 252 MB / 267 MB, free: 10.99 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.001039/0.001039, allocations: 177.8 kB / 326.6 MB, free: 2.242 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.803/1.803, allocations: 205.4 MB / 0.5777 GB, free: 20.3 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.0009587/0.0009587, allocations: 92.58 kB / 0.6822 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00053/0.0005302, allocations: 10.62 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2294, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005316/0.2348, allocations: 5.044 MB / 0.9052 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1549/0.3898, allocations: 140.2 MB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009603/0.3908, allocations: 23.88 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003909/0.3947, allocations: 1.499 MB / 1.044 GB, free: 12.61 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.001714/0.3964, allocations: 0.5396 MB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.3984, allocations: 0.7278 MB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002721/0.4012, allocations: 2.858 MB / 1.048 GB, free: 8.488 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009726/0.4022, allocations: 0.7025 MB / 1.048 GB, free: 7.762 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.4036, allocations: 0.895 MB / 1.049 GB, free: 6.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.4047, allocations: 0.7586 MB / 1.05 GB, free: 6.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.4049, allocations: 47.94 kB / 1.05 GB, free: 6.055 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.4083, allocations: 1.74 MB / 1.052 GB, free: 4.312 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.4098, allocations: 1.93 MB / 1.054 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000611/0.4104, allocations: 0.5582 MB / 1.054 GB, free: 1.812 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.5178/0.9283, allocations: 6.124 MB / 1.06 GB, free: 7.016 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/0.9283, allocations: 0 / 1.06 GB, free: 7.016 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.075e-06/0.9283, allocations: 3.875 kB / 1.06 GB, free: 7.016 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001558/0.9285, allocations: 0.6875 kB / 1.06 GB, free: 7.016 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.01227/0.9408, allocations: 4.992 MB / 1.065 GB, free: 4.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.588e-05/0.9409, allocations: 9 kB / 1.065 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005358/0.9414, allocations: 184.2 kB / 1.065 GB, free: 4.914 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.9442, allocations: 468.1 kB / 1.066 GB, free: 4.695 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3119/1.256, allocations: 322.6 MB / 1.381 GB, free: 5.023 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/1.256, allocations: 126.2 kB / 1.381 GB, free: 4.898 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006412/1.257, allocations: 172 kB / 1.381 GB, free: 4.73 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/1.26, allocations: 1.321 MB / 1.382 GB, free: 3.348 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/1.26, allocations: 7 kB / 1.382 GB, free: 3.344 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/1.261, allocations: 48 kB / 1.382 GB, free: 3.297 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/1.261, allocations: 28 kB / 1.382 GB, free: 3.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/1.263, allocations: 1.413 MB / 1.384 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.417/1.68, allocations: 76.34 MB / 1.458 GB, free: 368.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/1.682, allocations: 1.132 MB / 1.459 GB, free: 367.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/1.683, allocations: 0.657 MB / 1.46 GB, free: 366.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/1.683, allocations: 25.89 kB / 1.46 GB, free: 366.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00084/1.684, allocations: 0.6744 MB / 1.461 GB, free: 365.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=106): time 3.296e-06/1.684, allocations: 3.875 kB / 1.461 GB, free: 365.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=106): time 0.003953/1.688, allocations: 2.147 MB / 1.463 GB, free: 363.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.688, allocations: 352.5 kB / 1.463 GB, free: 363.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.746/2.434, allocations: 379.7 MB / 1.834 GB, free: 400 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004773/2.434, allocations: 66.64 kB / 1.834 GB, free: 400 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002179/2.436, allocations: 1.566 MB / 1.836 GB, free: 399.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/2.437, allocations: 358.2 kB / 1.836 GB, free: 399.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/2.437, allocations: 43.31 kB / 1.836 GB, free: 399.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001321/2.437, allocations: 410.2 kB / 1.836 GB, free: 399.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/2.439, allocations: 1.157 MB / 1.837 GB, free: 399.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/2.441, allocations: 1.883 MB / 1.839 GB, free: 398.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/2.442, allocations: 1.586 MB / 1.841 GB, free: 397.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/2.442, allocations: 8.781 kB / 1.841 GB, free: 397.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.00596/2.448, allocations: 3.681 MB / 1.844 GB, free: 395.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/2.449, allocations: 185.6 kB / 1.845 GB, free: 395.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/2.449, allocations: 25.81 kB / 1.845 GB, free: 395.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/2.449, allocations: 36 kB / 1.845 GB, free: 395.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/2.45, allocations: 455.2 kB / 1.845 GB, free: 395.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/2.45, allocations: 47.8 kB / 1.845 GB, free: 395 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/2.453, allocations: 0.5316 MB / 1.846 GB, free: 394.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/2.453, allocations: 107.3 kB / 1.846 GB, free: 394.4 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.002687/2.456, allocations: 1.636 MB / 1.847 GB, free: 392.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002045/2.458, allocations: 342.7 kB / 1.848 GB, free: 392.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003677/2.462, allocations: 2.447 MB / 1.85 GB, free: 390 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/2.462, allocations: 8 kB / 1.85 GB, free: 389.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/2.462, allocations: 0 / 1.85 GB, free: 389.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/2.462, allocations: 3.984 kB / 1.85 GB, free: 389.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008084/2.47, allocations: 5.631 MB / 1.856 GB, free: 384.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/2.47, allocations: 0 / 1.856 GB, free: 384.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/2.471, allocations: 152.7 kB / 1.856 GB, free: 384.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/2.471, allocations: 4 kB / 1.856 GB, free: 384.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.136e-05/2.471, allocations: 31.98 kB / 1.856 GB, free: 384.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/2.471, allocations: 4 kB / 1.856 GB, free: 384.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/2.471, allocations: 3.938 kB / 1.856 GB, free: 384.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/2.474, allocations: 2.28 MB / 1.858 GB, free: 381.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/2.477, allocations: 1.226 MB / 1.859 GB, free: 380.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007277/2.477, allocations: 20 kB / 1.859 GB, free: 380.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/2.479, allocations: 307.4 kB / 1.859 GB, free: 380.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/2.479, allocations: 65.52 kB / 1.86 GB, free: 380.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/2.479, allocations: 43.98 kB / 1.86 GB, free: 380.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.2038/2.683, allocations: 305.4 MB / 2.158 GB, free: 74.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.32e-07/2.683, allocations: 4 kB / 2.158 GB, free: 74.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004185/2.687, allocations: 1.176 MB / 2.159 GB, free: 73.55 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.006305/2.694, allocations: 3.635 MB / 2.163 GB, free: 70.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003828/2.697, allocations: 4.026 MB / 2.166 GB, free: 66.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/2.697, allocations: 0 / 2.166 GB, free: 66.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/2.699, allocations: 1.961 MB / 2.168 GB, free: 64.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/2.703, allocations: 432.4 kB / 2.169 GB, free: 63.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.939/4.642, allocations: 0.918 GB / 3.087 GB, free: 373.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/4.645, allocations: 2.321 MB / 3.089 GB, free: 371.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004969/4.65, allocations: 1.262 MB / 3.09 GB, free: 370.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004206/4.654, allocations: 1.705 MB / 3.092 GB, free: 368.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/4.654, allocations: 0 / 3.092 GB, free: 368.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3141/4.968, allocations: 188.2 MB / 3.276 GB, free: 181.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002053/4.968, allocations: 298.5 kB / 3.276 GB, free: 180.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.601/9.57, allocations: 2.578 kB / 3.276 GB, free: 180.7 MB / 0.948 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)