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.0008271/0.0008274, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005711/0.005711, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.447/1.447, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.682/1.682, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005047/0.0005048, allocations: 14.56 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2077, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.005964/0.2137, allocations: 5.326 MB / 0.7931 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5708/0.7846, allocations: 150.5 MB / 0.9401 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008923/0.7855, allocations: 22.56 kB / 0.9401 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.7892, allocations: 1.608 MB / 0.9417 GB, free: 1.262 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.00157/0.7908, allocations: 0.5891 MB / 0.9423 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.7926, allocations: 0.8255 MB / 0.9431 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.7957, allocations: 3.129 MB / 0.9461 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.797, allocations: 0.8788 MB / 0.947 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.7988, allocations: 0.8297 MB / 0.9478 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.8002, allocations: 0.7856 MB / 0.9486 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.8003, allocations: 42.97 kB / 0.9486 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.8034, allocations: 1.884 MB / 0.9504 GB, free: 472 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.8049, allocations: 1.719 MB / 0.9521 GB, free: 460 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.8059, allocations: 0.8939 MB / 0.953 GB, free: 420 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004933/0.8108, allocations: 3.871 MB / 0.9568 GB, free: 44 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.8108, allocations: 0 / 0.9568 GB, free: 44 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8109, allocations: 1.25 kB / 0.9568 GB, free: 44 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.517e-05/0.8109, allocations: 0 / 0.9568 GB, free: 44 kB / 0.7169 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.004463/0.8154, allocations: 2.378 MB / 0.9591 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.8154, allocations: 13 kB / 0.9591 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008771/0.8163, allocations: 298.6 kB / 0.9594 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006324/0.8226, allocations: 4.496 MB / 0.9638 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.8228, allocations: 128.8 kB / 0.9639 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.8233, allocations: 168.8 kB / 0.9641 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003691/0.827, allocations: 1.556 MB / 0.9656 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.8271, allocations: 0 / 0.9656 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.8273, allocations: 54.33 kB / 0.9656 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.8273, allocations: 27.28 kB / 0.9657 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/0.831, allocations: 1.653 MB / 0.9673 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.845, allocations: 6.771 MB / 0.9739 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.8479, allocations: 1.461 MB / 0.9753 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.8495, allocations: 1.007 MB / 0.9763 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.8496, allocations: 30.53 kB / 0.9763 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001774/0.8514, allocations: 0.8911 MB / 0.9772 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=106): time 7.605e-06/0.8515, allocations: 3.938 kB / 0.9772 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=106): time 0.005946/0.8574, allocations: 2.68 MB / 0.9798 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002938/0.8577, allocations: 351.4 kB / 0.9801 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/0.8737, allocations: 7.315 MB / 0.9873 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006443/0.8744, allocations: 68.58 kB / 0.9874 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001533/0.8759, allocations: 0.7467 MB / 0.9881 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006855/0.8766, allocations: 362 kB / 0.9884 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002452/0.8791, allocations: 1.599 MB / 0.99 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8792, allocations: 305.1 kB / 0.9903 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02061/0.8998, allocations: 12.95 MB / 1.003 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02147/0.9214, allocations: 13.65 MB / 1.016 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02628/0.9477, allocations: 17.03 MB / 1.033 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-05/0.9478, allocations: 11.98 kB / 1.033 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.04002/0.9878, allocations: 31.17 MB / 1.063 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002377/0.9881, allocations: 181.6 kB / 1.064 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/0.9881, allocations: 12 kB / 1.064 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.9882, allocations: 20 kB / 1.064 GB, free: 10.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.9901, allocations: 459.7 kB / 1.064 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-05/0.9902, allocations: 39.84 kB / 1.064 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.9918, allocations: 264.7 kB / 1.064 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.992, allocations: 102.6 kB / 1.064 GB, free: 10.08 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.001506/0.9936, allocations: 1.213 MB / 1.066 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/0.9938, allocations: 173.7 kB / 1.066 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003525/0.9974, allocations: 2.6 MB / 1.068 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.9974, allocations: 8 kB / 1.068 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9974, allocations: 7.938 kB / 1.068 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.9974, allocations: 7.969 kB / 1.068 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/1.002, allocations: 4.092 MB / 1.072 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.002, allocations: 0 / 1.072 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/1.003, allocations: 155.8 kB / 1.072 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.003, allocations: 7.938 kB / 1.072 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/1.003, allocations: 31.98 kB / 1.072 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/1.003, allocations: 7.984 kB / 1.072 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.003, allocations: 4 kB / 1.072 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/1.006, allocations: 2.569 MB / 1.075 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005949/1.007, allocations: 446.1 kB / 1.075 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/1.007, allocations: 20 kB / 1.075 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007371/1.008, allocations: 75.94 kB / 1.075 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/1.008, allocations: 67.02 kB / 1.076 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/1.008, allocations: 43.98 kB / 1.076 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.004176/1.012, allocations: 4.595 MB / 1.08 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/1.012, allocations: 0 / 1.08 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003393/1.015, allocations: 1.145 MB / 1.081 GB, free: 8.727 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.002233/1.018, allocations: 0.9005 MB / 1.082 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01644/1.034, allocations: 18.86 MB / 1.101 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.034, allocations: 0 / 1.101 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.036, allocations: 2.188 MB / 1.103 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.038, allocations: 313.5 kB / 1.103 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/1.049, allocations: 9.419 MB / 1.112 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/1.051, allocations: 2.314 MB / 1.114 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001352/1.052, allocations: 423.6 kB / 1.115 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/1.052, allocations: 151.4 kB / 1.115 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/1.052, allocations: 0 / 1.115 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of Templates: time 0.05187/1.104, allocations: 30.51 MB / 1.145 GB, free: 7.945 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: