Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001093/0.001093, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001497/0.001497, allocations: 189.2 kB / 16.25 MB, free: 6.145 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.47/1.47, allocations: 205.1 MB / 222.1 MB, free: 4.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.473/1.473, allocations: 251.7 MB / 0.5089 GB, free: 3.219 MB / 414.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.001295/0.001295, allocations: 68.36 kB / 0.6218 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4861/0.4874, allocations: 104.7 MB / 0.724 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008275/0.4957, allocations: 5.773 MB / 0.7296 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.6665, allocations: 152.8 MB / 0.8788 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.668, allocations: 23.88 kB / 0.8788 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005493/0.6736, allocations: 1.616 MB / 0.8804 GB, free: 12.28 MB / 0.7012 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.002617/0.6762, allocations: 0.596 MB / 0.881 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.6786, allocations: 0.8466 MB / 0.8818 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00372/0.6823, allocations: 3.198 MB / 0.8849 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001311/0.6836, allocations: 0.9232 MB / 0.8858 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.6854, allocations: 1.102 MB / 0.8869 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.6868, allocations: 0.9729 MB / 0.8879 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.6871, allocations: 176 kB / 0.888 GB, free: 4.418 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.6904, allocations: 2.11 MB / 0.8901 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001575/0.692, allocations: 1.868 MB / 0.8919 GB, free: 444 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.6932, allocations: 1.068 MB / 0.893 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006023/0.6992, allocations: 4.055 MB / 0.8969 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6993, allocations: 0 / 0.8969 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6993, allocations: 0 / 0.8969 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.896e-05/0.6993, allocations: 0 / 0.8969 GB, free: 11.29 MB / 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.004559/0.7039, allocations: 2.808 MB / 0.8997 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.704, allocations: 12.03 kB / 0.8997 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008229/0.7048, allocations: 289.4 kB / 0.9 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/0.7093, allocations: 4.5 MB / 0.9043 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.7094, allocations: 126.2 kB / 0.9045 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.7096, allocations: 168 kB / 0.9046 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.7119, allocations: 1.556 MB / 0.9061 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.7119, allocations: 4 kB / 0.9062 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.712, allocations: 55.92 kB / 0.9062 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.712, allocations: 28 kB / 0.9062 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3615/1.074, allocations: 1.636 MB / 0.9078 GB, free: 181.6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/1.084, allocations: 6.665 MB / 0.9143 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/1.087, allocations: 1.462 MB / 0.9158 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/1.088, allocations: 0.9936 MB / 0.9167 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/1.088, allocations: 38.11 kB / 0.9168 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/1.09, allocations: 0.8892 MB / 0.9176 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.747e-06/1.09, allocations: 0 / 0.9176 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.00361/1.093, allocations: 2.666 MB / 0.9202 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/1.093, allocations: 346.7 kB / 0.9206 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007781/1.101, allocations: 7.318 MB / 0.9277 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003753/1.102, allocations: 65.7 kB / 0.9278 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005725/1.102, allocations: 0.7552 MB / 0.9285 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/1.102, allocations: 358.7 kB / 0.9289 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/1.104, allocations: 1.864 MB / 0.9307 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.033e-05/1.104, allocations: 305.1 kB / 0.931 GB, free: 168.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007923/1.112, allocations: 12.94 MB / 0.9436 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00921/1.121, allocations: 13.64 MB / 0.9569 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/1.132, allocations: 17.03 MB / 0.9736 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-05/1.132, allocations: 4 kB / 0.9736 GB, free: 124.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02138/1.153, allocations: 31.15 MB / 1.004 GB, free: 93.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/1.153, allocations: 185.6 kB / 1.004 GB, free: 93.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/1.153, allocations: 12 kB / 1.004 GB, free: 93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/1.153, allocations: 23.94 kB / 1.004 GB, free: 92.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.155, allocations: 456.7 kB / 1.005 GB, free: 92.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/1.155, allocations: 27.92 kB / 1.005 GB, free: 92.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.156, allocations: 265.1 kB / 1.005 GB, free: 92.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/1.156, allocations: 99.97 kB / 1.005 GB, free: 92.15 MB / 0.7169 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.001085/1.158, allocations: 1.205 MB / 1.006 GB, free: 90.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/1.158, allocations: 165.8 kB / 1.006 GB, free: 90.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/1.161, allocations: 2.611 MB / 1.009 GB, free: 88.14 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/1.161, allocations: 12 kB / 1.009 GB, free: 88.13 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.161, allocations: 0 / 1.009 GB, free: 88.13 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.161, allocations: 7.734 kB / 1.009 GB, free: 88.12 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003914/1.165, allocations: 4.078 MB / 1.013 GB, free: 84.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.165, allocations: 0 / 1.013 GB, free: 84.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/1.165, allocations: 155.7 kB / 1.013 GB, free: 83.86 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/1.165, allocations: 12 kB / 1.013 GB, free: 83.84 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-05/1.165, allocations: 27.98 kB / 1.013 GB, free: 83.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/1.165, allocations: 4 kB / 1.013 GB, free: 83.81 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.165, allocations: 0 / 1.013 GB, free: 83.81 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/1.168, allocations: 2.561 MB / 1.016 GB, free: 81.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003986/1.168, allocations: 402.5 kB / 1.016 GB, free: 80.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.168, allocations: 35.78 kB / 1.016 GB, free: 80.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006657/1.169, allocations: 63.2 kB / 1.016 GB, free: 80.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.169, allocations: 64.91 kB / 1.016 GB, free: 80.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/1.169, allocations: 43.98 kB / 1.016 GB, free: 80.61 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002587/1.172, allocations: 4.595 MB / 1.021 GB, free: 76.03 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.172, allocations: 0 / 1.021 GB, free: 76.03 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002087/1.174, allocations: 1.142 MB / 1.022 GB, free: 74.96 MB / 0.7169 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.001773/1.176, allocations: 0.9129 MB / 1.023 GB, free: 74.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.187, allocations: 19.41 MB / 1.042 GB, free: 54.88 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.187, allocations: 4 kB / 1.042 GB, free: 54.87 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/1.189, allocations: 2.182 MB / 1.044 GB, free: 52.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/1.19, allocations: 340.2 kB / 1.044 GB, free: 52.36 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007247/1.198, allocations: 9.361 MB / 1.053 GB, free: 42.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.199, allocations: 2.315 MB / 1.055 GB, free: 40.63 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009944/1.2, allocations: 435.6 kB / 1.056 GB, free: 40.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/1.2, allocations: 147.3 kB / 1.056 GB, free: 40.06 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/1.2, allocations: 0 / 1.056 GB, free: 40.06 MB / 0.7169 GB Notification: Performance of Templates: time 0.0637/1.264, allocations: 33.59 MB / 1.089 GB, free: 6.664 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1)