Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 2.334/2.334, allocations: 252 MB / 267.3 MB, free: 10.84 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.001717/0.001717, allocations: 184.4 kB / 327 MB, free: 2.09 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.099/3.099, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.001242/0.001242, allocations: 94.27 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006341/0.0006344, allocations: 12.81 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3484, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01101/0.3596, allocations: 6.544 MB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2846/0.6442, allocations: 151.5 MB / 1.055 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/0.6476, allocations: 39.75 kB / 1.055 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.9194/1.567, allocations: 1.766 MB / 1.057 GB, free: 2.684 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.005321/1.572, allocations: 0.967 MB / 1.058 GB, free: 2.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006013/1.578, allocations: 1.181 MB / 1.059 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01149/1.59, allocations: 5.043 MB / 1.064 GB, free: 2.664 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003354/1.593, allocations: 1.194 MB / 1.065 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/1.6, allocations: 1.232 MB / 1.066 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006621/1.607, allocations: 1.221 MB / 1.068 GB, free: 2.414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001594/1.608, allocations: 67.84 kB / 1.068 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.011/1.619, allocations: 2.13 MB / 1.07 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.01233/1.632, allocations: 4.505 MB / 1.074 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01566/1.648, allocations: 3.92 MB / 1.078 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.03468/1.682, allocations: 16.84 MB / 1.094 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/1.682, allocations: 0 / 1.094 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.719e-06/1.682, allocations: 4 kB / 1.094 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0008674/1.683, allocations: 0 / 1.094 GB, free: 15.57 MB / 0.7136 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.05349/1.737, allocations: 11.21 MB / 1.105 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.000102/1.737, allocations: 8.938 kB / 1.105 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00145/1.738, allocations: 234.8 kB / 1.106 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/1.749, allocations: 0.9126 MB / 1.106 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.785/4.535, allocations: 0.9945 GB / 2.101 GB, free: 163.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/4.535, allocations: 162.9 kB / 2.101 GB, free: 163.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009255/4.536, allocations: 228 kB / 2.101 GB, free: 163.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006312/4.542, allocations: 2.274 MB / 2.104 GB, free: 161.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.19e-05/4.543, allocations: 3.938 kB / 2.104 GB, free: 161.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002935/4.543, allocations: 68 kB / 2.104 GB, free: 161.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/4.543, allocations: 36 kB / 2.104 GB, free: 161.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006007/4.549, allocations: 2.4 MB / 2.106 GB, free: 158.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.101/5.65, allocations: 242.5 MB / 2.343 GB, free: 361.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/5.655, allocations: 1.873 MB / 2.345 GB, free: 360 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/5.657, allocations: 1.247 MB / 2.346 GB, free: 358.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/5.657, allocations: 45.33 kB / 2.346 GB, free: 358.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00248/5.66, allocations: 1.263 MB / 2.347 GB, free: 357.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 6.132e-06/5.66, allocations: 0 / 2.347 GB, free: 357.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=126): time 0.01729/5.677, allocations: 4.165 MB / 2.351 GB, free: 354.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000263/5.678, allocations: 362.2 kB / 2.352 GB, free: 354 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.382/10.06, allocations: 1.182 GB / 3.534 GB, free: 16.53 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001236/10.06, allocations: 81.7 kB / 3.534 GB, free: 16.44 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01193/10.07, allocations: 3.699 MB / 3.538 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001265/10.07, allocations: 424.9 kB / 3.538 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/10.07, allocations: 56 kB / 3.538 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004918/10.08, allocations: 438.4 kB / 3.538 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003792/10.08, allocations: 1.899 MB / 3.54 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0043/10.08, allocations: 2.837 MB / 3.543 GB, free: 7.172 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008135/10.09, allocations: 4.565 MB / 3.548 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.075e-05/10.09, allocations: 8 kB / 3.548 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of matching and sorting (n=360) (initialization): time 1.062/11.15, allocations: 5.889 MB / 3.553 GB, free: 412.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/11.15, allocations: 204.4 kB / 3.553 GB, free: 412.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/11.15, allocations: 32.91 kB / 3.553 GB, free: 412.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/11.15, allocations: 122.8 kB / 3.554 GB, free: 412.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/11.16, allocations: 0.5948 MB / 3.554 GB, free: 412.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00278/11.16, allocations: 1.577 MB / 3.556 GB, free: 410.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01572/11.18, allocations: 1.171 MB / 3.557 GB, free: 410.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001584/11.18, allocations: 141.9 kB / 3.557 GB, free: 410.8 MB / 0.9792 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01746/11.2, allocations: 3.818 MB / 3.561 GB, free: 410.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009807/11.21, allocations: 0.7474 MB / 3.561 GB, free: 410.2 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01952/11.23, allocations: 4.237 MB / 3.566 GB, free: 410 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/11.23, allocations: 11.78 kB / 3.566 GB, free: 410 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/11.23, allocations: 0.6562 kB / 3.566 GB, free: 410 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.54e-05/11.23, allocations: 7.109 kB / 3.566 GB, free: 410 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05813/11.28, allocations: 12.24 MB / 3.578 GB, free: 408.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/11.28, allocations: 0 / 3.578 GB, free: 408.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001542/11.29, allocations: 210.3 kB / 3.578 GB, free: 408.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008511/11.29, allocations: 84.28 kB / 3.578 GB, free: 408.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/11.29, allocations: 37.89 kB / 3.578 GB, free: 408.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002932/11.29, allocations: 1.542 MB / 3.579 GB, free: 406.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/11.29, allocations: 5.922 kB / 3.579 GB, free: 406.9 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/11.31, allocations: 3.817 MB / 3.583 GB, free: 405.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01858/11.33, allocations: 3.126 MB / 3.586 GB, free: 403.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009626/11.34, allocations: 23.06 kB / 3.586 GB, free: 403.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01448/11.35, allocations: 0.7744 MB / 3.587 GB, free: 403.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007747/11.35, allocations: 90.39 kB / 3.587 GB, free: 403.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002803/11.35, allocations: 62.45 kB / 3.587 GB, free: 403.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.1/14.45, allocations: 0.9474 GB / 4.535 GB, free: 299.4 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.673e-06/14.45, allocations: 0 / 4.535 GB, free: 299.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01905/14.47, allocations: 1.809 MB / 4.536 GB, free: 297.8 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.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02123/14.49, allocations: 5.258 MB / 4.541 GB, free: 293.6 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01104/14.5, allocations: 5.608 MB / 4.547 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/14.51, allocations: 3.156 kB / 4.547 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004275/14.51, allocations: 2.66 MB / 4.55 GB, free: 285.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01981/14.53, allocations: 0.7834 MB / 4.55 GB, free: 285 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 15.53/30.06, allocations: 4.834 GB / 9.384 GB, free: 136.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01034/30.07, allocations: 4.614 MB / 9.389 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01543/30.08, allocations: 3.016 MB / 9.391 GB, free: 128.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01588/30.1, allocations: 4.063 MB / 9.395 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of SimCode: time 1.172e-06/30.1, allocations: 0 / 9.395 GB, free: 124.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.238/32.34, allocations: 0.5075 GB / 9.903 GB, free: 388 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/32.34, allocations: 338.4 kB / 9.903 GB, free: 387.6 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/45.69, allocations: 0.9062 kB / 9.903 GB, free: 387.6 MB / 0.9792 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)