Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic",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.651/1.651, allocations: 288.4 MB / 303.3 MB, free: 8.031 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.001238/0.001238, allocations: 190.9 kB / 372 MB, free: 10.25 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.367/1.367, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0007811/0.0007811, allocations: 94.36 kB / 0.744 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 16.83 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1934, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.006162/0.1997, allocations: 6.147 MB / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5479/0.7476, allocations: 141.1 MB / 1.123 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.7497, allocations: 33.66 kB / 1.123 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006271/0.756, allocations: 1.616 MB / 1.125 GB, free: 1.539 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.0039/0.7599, allocations: 0.8893 MB / 1.126 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.7641, allocations: 1.014 MB / 1.127 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007447/0.7716, allocations: 4.577 MB / 1.131 GB, free: 0.8945 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.7739, allocations: 0.9784 MB / 1.132 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003808/0.7778, allocations: 1.305 MB / 1.134 GB, free: 432 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.7809, allocations: 1.196 MB / 1.135 GB, free: 204 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.782, allocations: 62.25 kB / 1.135 GB, free: 204 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006736/0.7888, allocations: 1.995 MB / 1.137 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.006272/0.7951, allocations: 4.695 MB / 1.141 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002574/0.7977, allocations: 1.215 MB / 1.143 GB, free: 14.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.8143, allocations: 15.09 MB / 1.157 GB, free: 7.426 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.8144, allocations: 0 / 1.157 GB, free: 7.426 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8144, allocations: 2.875 kB / 1.157 GB, free: 7.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004816/0.8149, allocations: 0 / 1.157 GB, free: 7.426 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: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.03102/0.8459, allocations: 11.3 MB / 1.168 GB, free: 1.598 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.846, allocations: 10.44 kB / 1.168 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000664/0.8467, allocations: 228.8 kB / 1.169 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005755/0.8524, allocations: 0.9164 MB / 1.169 GB, free: 1.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.287/3.139, allocations: 0.9942 GB / 2.164 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/3.139, allocations: 168.2 kB / 2.164 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000505/3.14, allocations: 231.7 kB / 2.164 GB, free: 317.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004338/3.144, allocations: 2.007 MB / 2.166 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/3.144, allocations: 0 / 2.166 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/3.144, allocations: 62.62 kB / 2.166 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/3.144, allocations: 35.16 kB / 2.166 GB, free: 317 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004044/3.148, allocations: 2.135 MB / 2.168 GB, free: 316.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1529/3.301, allocations: 242.5 MB / 2.405 GB, free: 92.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/3.305, allocations: 1.488 MB / 2.406 GB, free: 90.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/3.306, allocations: 0.881 MB / 2.407 GB, free: 89.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/3.306, allocations: 37.48 kB / 2.407 GB, free: 89.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/3.308, allocations: 1 MB / 2.408 GB, free: 88.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 3.346e-06/3.308, allocations: 0 / 2.408 GB, free: 88.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.01052/3.318, allocations: 3.393 MB / 2.412 GB, free: 85.42 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/3.318, allocations: 362.5 kB / 2.412 GB, free: 85.02 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.768/6.087, allocations: 1.182 GB / 3.594 GB, free: 32.06 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005985/6.087, allocations: 85.7 kB / 3.595 GB, free: 31.97 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.005519/6.093, allocations: 3.7 MB / 3.598 GB, free: 28.46 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/6.093, allocations: 423.7 kB / 3.599 GB, free: 28.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/6.093, allocations: 52 kB / 3.599 GB, free: 28.05 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000143/6.094, allocations: 439.8 kB / 3.599 GB, free: 27.62 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/6.096, allocations: 1.621 MB / 3.601 GB, free: 26 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/6.098, allocations: 2.563 MB / 3.603 GB, free: 23.06 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/6.1, allocations: 2.146 MB / 3.605 GB, free: 20.95 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/6.1, allocations: 8 kB / 3.605 GB, free: 20.95 MB / 0.9636 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01015/6.11, allocations: 5.347 MB / 3.61 GB, free: 15.58 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/6.11, allocations: 208.1 kB / 3.611 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.824e-05/6.11, allocations: 28 kB / 3.611 GB, free: 15.34 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/6.111, allocations: 128.8 kB / 3.611 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/6.113, allocations: 0.5888 MB / 3.611 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/6.115, allocations: 1.579 MB / 3.613 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007259/6.122, allocations: 1.171 MB / 3.614 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/6.122, allocations: 136 kB / 3.614 GB, free: 11.61 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * 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 (329): * Single equations (assignments): 327 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005496/6.128, allocations: 3.822 MB / 3.618 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003888/6.132, allocations: 0.7439 MB / 3.619 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006333/6.138, allocations: 3.714 MB / 3.622 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/6.138, allocations: 8 kB / 3.622 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/6.138, allocations: 4 kB / 3.622 GB, free: 3.273 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/6.138, allocations: 3.984 kB / 3.622 GB, free: 3.27 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.437/6.575, allocations: 11.71 MB / 3.634 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/6.575, allocations: 3.406 kB / 3.634 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/6.576, allocations: 197 kB / 3.634 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000556/6.576, allocations: 89.03 kB / 3.634 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-05/6.576, allocations: 40.61 kB / 3.634 GB, free: 355.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/6.578, allocations: 1.539 MB / 3.636 GB, free: 354.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/6.578, allocations: 0.75 kB / 3.636 GB, free: 354.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00884/6.587, allocations: 3.29 MB / 3.639 GB, free: 353.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009149/6.596, allocations: 3.124 MB / 3.642 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004205/6.6, allocations: 28.34 kB / 3.642 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007029/6.607, allocations: 0.7731 MB / 3.643 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/6.608, allocations: 85.81 kB / 3.643 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003049/6.608, allocations: 60.97 kB / 3.643 GB, free: 351.7 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.579/8.187, allocations: 0.9476 GB / 4.59 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.094e-06/8.187, allocations: 0 / 4.59 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01161/8.198, allocations: 1.808 MB / 4.592 GB, free: 153.5 MB / 0.9636 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01463/8.213, allocations: 4.725 MB / 4.597 GB, free: 149.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006365/8.219, allocations: 5.066 MB / 4.602 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/8.22, allocations: 0 / 4.602 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/8.222, allocations: 2.406 MB / 4.604 GB, free: 141.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01147/8.233, allocations: 0.7794 MB / 4.605 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 6.179/14.41, allocations: 2.929 GB / 7.533 GB, free: 105.5 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01166/14.42, allocations: 4.617 MB / 7.538 GB, free: 100.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01125/14.44, allocations: 3.02 MB / 7.541 GB, free: 98.08 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01197/14.45, allocations: 3.978 MB / 7.545 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of SimCode: time 1.012e-06/14.45, allocations: 0 / 7.545 GB, free: 94.11 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.507/15.96, allocations: 0.4996 GB / 8.044 GB, free: 319.3 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001833/15.96, allocations: 312.4 kB / 8.045 GB, free: 318.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/26.04, allocations: 3.375 kB / 8.045 GB, free: 318.9 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)