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: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002222/0.002222, allocations: 194.2 kB / 16.13 MB, free: 6.656 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.452/1.452, allocations: 205.1 MB / 222 MB, free: 4.762 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.7/1.7, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001334/0.001334, allocations: 65.23 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2322, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007032/0.2392, allocations: 5.777 MB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6089/0.8482, allocations: 152.9 MB / 0.9376 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009795/0.8492, allocations: 23.84 kB / 0.9377 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004763/0.854, allocations: 1.61 MB / 0.9392 GB, free: 5.184 MB / 0.7325 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.001848/0.8559, allocations: 0.5828 MB / 0.9398 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.8579, allocations: 0.8242 MB / 0.9406 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.8608, allocations: 3.135 MB / 0.9437 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.8619, allocations: 0.8892 MB / 0.9445 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.8634, allocations: 0.9541 MB / 0.9455 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.8648, allocations: 0.9279 MB / 0.9464 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.865, allocations: 95.31 kB / 0.9465 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004081/0.8691, allocations: 1.931 MB / 0.9484 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.8712, allocations: 1.796 MB / 0.9501 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.873, allocations: 0.98 MB / 0.9511 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005814/0.8788, allocations: 3.959 MB / 0.9549 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.8788, allocations: 0 / 0.9549 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8789, allocations: 0 / 0.9549 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.195e-05/0.8789, allocations: 0 / 0.9549 GB, free: 4.348 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.005132/0.8841, allocations: 2.803 MB / 0.9577 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.8841, allocations: 9.25 kB / 0.9577 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/0.885, allocations: 291.6 kB / 0.958 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.8902, allocations: 4.504 MB / 0.9624 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/0.8903, allocations: 125 kB / 0.9625 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000239/0.8906, allocations: 170.3 kB / 0.9626 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.8929, allocations: 1.56 MB / 0.9642 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.893, allocations: 0 / 0.9642 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.8931, allocations: 46.78 kB / 0.9642 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/0.8931, allocations: 27.66 kB / 0.9642 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.8954, allocations: 1.642 MB / 0.9658 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009039/0.9045, allocations: 6.68 MB / 0.9724 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.9063, allocations: 1.457 MB / 0.9738 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000894/0.9072, allocations: 0.9978 MB / 0.9748 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.538e-05/0.9073, allocations: 37.41 kB / 0.9748 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.9084, allocations: 0.8824 MB / 0.9757 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=106): time 3.778e-06/0.9084, allocations: 3.984 kB / 0.9757 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of matching and sorting (n=106): time 0.004088/0.9125, allocations: 2.664 MB / 0.9783 GB, free: 16.94 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002622/0.9128, allocations: 346.7 kB / 0.9786 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/0.9231, allocations: 7.315 MB / 0.9857 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007089/0.9239, allocations: 67.8 kB / 0.9858 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.9249, allocations: 0.7478 MB / 0.9865 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.9255, allocations: 363.9 kB / 0.9869 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/0.9274, allocations: 1.868 MB / 0.9887 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.9275, allocations: 301.1 kB / 0.989 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01153/0.939, allocations: 12.95 MB / 1.002 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0135/0.9525, allocations: 13.64 MB / 1.015 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01581/0.9684, allocations: 17.03 MB / 1.032 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.074e-05/0.9685, allocations: 4 kB / 1.032 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.03218/1.001, allocations: 31.16 MB / 1.062 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003772/1.001, allocations: 177.6 kB / 1.062 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.49e-05/1.001, allocations: 12 kB / 1.062 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.479e-05/1.001, allocations: 24 kB / 1.062 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.004, allocations: 451.8 kB / 1.063 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.397e-05/1.004, allocations: 33 kB / 1.063 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/1.006, allocations: 264.9 kB / 1.063 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/1.006, allocations: 100 kB / 1.063 GB, free: 5.598 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (274): * Single equations (assignments): 260 * Array equations: 13 * 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.001847/1.008, allocations: 1.217 MB / 1.064 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/1.009, allocations: 172.3 kB / 1.064 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003747/1.012, allocations: 2.59 MB / 1.067 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/1.012, allocations: 12 kB / 1.067 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.012, allocations: 7.938 kB / 1.067 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.012, allocations: 3.984 kB / 1.067 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00569/1.018, allocations: 4.083 MB / 1.071 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.018, allocations: 0 / 1.071 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/1.019, allocations: 158 kB / 1.071 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.019, allocations: 7.938 kB / 1.071 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-05/1.019, allocations: 35.97 kB / 1.071 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.019, allocations: 8 kB / 1.071 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.019, allocations: 0 / 1.071 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.022, allocations: 2.558 MB / 1.074 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/1.023, allocations: 402.4 kB / 1.074 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/1.023, allocations: 27.94 kB / 1.074 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007442/1.024, allocations: 64.8 kB / 1.074 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/1.024, allocations: 64.91 kB / 1.074 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/1.024, allocations: 47.97 kB / 1.074 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004301/1.029, allocations: 4.595 MB / 1.079 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.7e-07/1.029, allocations: 0 / 1.079 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003317/1.032, allocations: 1.145 MB / 1.08 GB, free: 4.367 MB / 0.8262 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.002305/1.034, allocations: 0.9088 MB / 1.081 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01659/1.051, allocations: 18.85 MB / 1.099 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/1.051, allocations: 0 / 1.099 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002098/1.053, allocations: 2.186 MB / 1.101 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/1.055, allocations: 316.7 kB / 1.102 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.066, allocations: 9.361 MB / 1.111 GB, free: 5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/1.068, allocations: 2.316 MB / 1.113 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001381/1.069, allocations: 435.6 kB / 1.113 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/1.07, allocations: 149.2 kB / 1.114 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of SimCode: time 1.022e-06/1.07, allocations: 0 / 1.114 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of Templates: time 0.07394/1.144, allocations: 32.74 MB / 1.145 GB, free: 1.531 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (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 & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)