Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008959/0.0008959, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005093/0.005093, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.534/1.534, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004735, allocations: 14.41 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1877, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005858/0.1936, allocations: 5.338 MB / 0.7932 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5367/0.7303, allocations: 150.5 MB / 0.9402 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008266/0.7311, allocations: 20.91 kB / 0.9402 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/0.7349, allocations: 1.615 MB / 0.9418 GB, free: 1.434 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001583/0.7365, allocations: 0.5696 MB / 0.9424 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.7383, allocations: 0.8338 MB / 0.9432 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003013/0.7413, allocations: 3.131 MB / 0.9462 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.7426, allocations: 0.875 MB / 0.9471 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.7443, allocations: 0.8333 MB / 0.9479 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.7455, allocations: 0.7885 MB / 0.9487 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001556/0.7456, allocations: 43.34 kB / 0.9487 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.7487, allocations: 1.881 MB / 0.9506 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.7502, allocations: 1.861 MB / 0.9524 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.7521, allocations: 1.742 MB / 0.9541 GB, free: 420 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009356/0.7614, allocations: 7.195 MB / 0.9611 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7615, allocations: 0 / 0.9611 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7615, allocations: 1.719 kB / 0.9611 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001474/0.7617, allocations: 4 kB / 0.9611 GB, free: 14.48 MB / 0.7325 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.01327/0.7749, allocations: 4.96 MB / 0.9659 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.775, allocations: 10.66 kB / 0.966 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003364/0.7753, allocations: 179 kB / 0.9661 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.7774, allocations: 473.5 kB / 0.9666 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6628/1.44, allocations: 321 MB / 1.28 GB, free: 414.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/1.44, allocations: 124.2 kB / 1.28 GB, free: 414.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/1.441, allocations: 169.7 kB / 1.28 GB, free: 414.6 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/1.443, allocations: 1.561 MB / 1.282 GB, free: 414.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/1.443, allocations: 1 kB / 1.282 GB, free: 414.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/1.443, allocations: 47.98 kB / 1.282 GB, free: 414.4 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/1.443, allocations: 27.22 kB / 1.282 GB, free: 414.4 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/1.446, allocations: 1.654 MB / 1.284 GB, free: 414.4 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05155/1.498, allocations: 76.36 MB / 1.358 GB, free: 358.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/1.499, allocations: 1.464 MB / 1.36 GB, free: 356.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/1.5, allocations: 0.9992 MB / 1.361 GB, free: 355.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.207e-05/1.5, allocations: 26.91 kB / 1.361 GB, free: 355.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00094/1.501, allocations: 0.8987 MB / 1.361 GB, free: 354.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=106): time 2.935e-06/1.501, allocations: 0 / 1.361 GB, free: 354.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=106): time 0.005704/1.507, allocations: 2.848 MB / 1.364 GB, free: 351.9 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.507, allocations: 342.2 kB / 1.365 GB, free: 351.5 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7205/2.228, allocations: 379.6 MB / 1.735 GB, free: 409.6 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004143/2.228, allocations: 70.27 kB / 1.735 GB, free: 409.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001712/2.23, allocations: 1.566 MB / 1.737 GB, free: 408.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/2.23, allocations: 355.8 kB / 1.737 GB, free: 408 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/2.23, allocations: 263.3 kB / 1.737 GB, free: 407.8 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/2.23, allocations: 302.5 kB / 1.738 GB, free: 407.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/2.232, allocations: 1.403 MB / 1.739 GB, free: 406.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/2.234, allocations: 2.127 MB / 1.741 GB, free: 404 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/2.237, allocations: 3.473 MB / 1.745 GB, free: 400.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/2.237, allocations: 8 kB / 1.745 GB, free: 400.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=278) (initialization): time 0.005452/2.242, allocations: 4.154 MB / 1.749 GB, free: 396.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/2.243, allocations: 185.6 kB / 1.749 GB, free: 396.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/2.243, allocations: 20.66 kB / 1.749 GB, free: 396.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/2.243, allocations: 36.28 kB / 1.749 GB, free: 396.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/2.244, allocations: 457.5 kB / 1.749 GB, free: 396.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.429e-05/2.244, allocations: 48.69 kB / 1.749 GB, free: 396.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/2.246, allocations: 0.5383 MB / 1.75 GB, free: 395.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/2.246, allocations: 107.5 kB / 1.75 GB, free: 395.4 MB / 1.014 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.001887/2.248, allocations: 1.643 MB / 1.752 GB, free: 393.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/2.249, allocations: 345.3 kB / 1.752 GB, free: 393.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/2.252, allocations: 2.899 MB / 1.755 GB, free: 391 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/2.252, allocations: 12 kB / 1.755 GB, free: 391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/2.252, allocations: 0.7969 kB / 1.755 GB, free: 391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/2.252, allocations: 7.359 kB / 1.755 GB, free: 391 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/2.258, allocations: 6.095 MB / 1.761 GB, free: 386.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/2.258, allocations: 0 / 1.761 GB, free: 386.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/2.259, allocations: 161.6 kB / 1.761 GB, free: 386.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/2.259, allocations: 4 kB / 1.761 GB, free: 386.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/2.259, allocations: 24.97 kB / 1.761 GB, free: 386.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/2.259, allocations: 9.562 kB / 1.761 GB, free: 386.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/2.259, allocations: 0 / 1.761 GB, free: 386.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002747/2.262, allocations: 2.755 MB / 1.764 GB, free: 383.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/2.263, allocations: 1.23 MB / 1.765 GB, free: 382.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/2.264, allocations: 20 kB / 1.765 GB, free: 382.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/2.265, allocations: 303.9 kB / 1.765 GB, free: 381.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/2.265, allocations: 61.62 kB / 1.765 GB, free: 381.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/2.265, allocations: 47.97 kB / 1.765 GB, free: 381.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.1976/2.463, allocations: 305.3 MB / 2.063 GB, free: 76.45 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.72e-07/2.463, allocations: 0 / 2.063 GB, free: 76.45 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005259/2.468, allocations: 1.172 MB / 2.064 GB, free: 75.35 MB / 1.014 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.007341/2.476, allocations: 4.112 MB / 2.068 GB, free: 71.51 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004209/2.48, allocations: 4.503 MB / 2.073 GB, free: 67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.48, allocations: 0 / 2.073 GB, free: 67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/2.481, allocations: 2.189 MB / 2.075 GB, free: 64.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004214/2.486, allocations: 442.4 kB / 2.075 GB, free: 64.38 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.466/4.952, allocations: 1.514 GB / 3.59 GB, free: 246 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/4.954, allocations: 2.321 MB / 3.592 GB, free: 243.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002892/4.957, allocations: 1.274 MB / 3.593 GB, free: 242.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002613/4.959, allocations: 1.702 MB / 3.595 GB, free: 240.8 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/4.959, allocations: 0 / 3.595 GB, free: 240.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.365/10.32, allocations: 189.6 MB / 3.78 GB, free: 52.48 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/10.32, allocations: 290.3 kB / 3.78 GB, free: 52.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.046/14.37, allocations: 0 / 3.78 GB, free: 52.1 MB / 1.014 GB (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)