Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001724, allocations: 104.9 kB / 16.36 MB, free: 6.258 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.001879/0.001879, allocations: 190.5 kB / 17.3 MB, free: 5.848 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.299/1.299, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.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.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.001429/0.001429, allocations: 83.88 kB / 0.6729 GB, free: 5.766 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1972, allocations: 114.5 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.3141/0.5113, allocations: 7.047 MB / 0.7917 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.6714, allocations: 158.9 MB / 0.9469 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.6726, allocations: 35.81 kB / 0.9469 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00445/0.6771, allocations: 1.925 MB / 0.9488 GB, free: 2.172 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002352/0.6794, allocations: 1.063 MB / 0.9498 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.6824, allocations: 1.358 MB / 0.9511 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00454/0.6869, allocations: 5.056 MB / 0.9561 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.6885, allocations: 1.246 MB / 0.9573 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.6904, allocations: 1.628 MB / 0.9589 GB, free: 7.785 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.692, allocations: 1.44 MB / 0.9603 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003385/0.6924, allocations: 275.9 kB / 0.9606 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003615/0.696, allocations: 2.466 MB / 0.963 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.003241/0.6993, allocations: 4.327 MB / 0.9672 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.7008, allocations: 1.609 MB / 0.9688 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006172/0.7069, allocations: 5.979 MB / 0.9746 GB, free: 7.656 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.707, allocations: 0 / 0.9746 GB, free: 7.656 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.423e-06/0.707, allocations: 0 / 0.9746 GB, free: 7.656 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.11e-05/0.707, allocations: 0 / 0.9746 GB, free: 7.656 MB / 0.7637 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.006283/0.7133, allocations: 3.998 MB / 0.9785 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.7134, allocations: 8.875 kB / 0.9785 GB, free: 3.578 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.7146, allocations: 416.5 kB / 0.9789 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.7262, allocations: 12.28 MB / 0.9909 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.7264, allocations: 166.9 kB / 0.9911 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.7267, allocations: 224 kB / 0.9913 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.7302, allocations: 2.272 MB / 0.9935 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.7302, allocations: 0 / 0.9935 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.7304, allocations: 64 kB / 0.9936 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.793e-05/0.7304, allocations: 39.94 kB / 0.9936 GB, free: 3.996 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.7339, allocations: 2.378 MB / 0.9959 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01797/0.7519, allocations: 14.72 MB / 1.01 GB, free: 2.77 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.7546, allocations: 1.852 MB / 1.012 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.7561, allocations: 1.242 MB / 1.013 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.16e-05/0.7562, allocations: 37.02 kB / 1.013 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001746/0.7579, allocations: 1.258 MB / 1.015 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=126): time 2.755e-06/0.758, allocations: 1.969 kB / 1.015 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=126): time 0.006395/0.7644, allocations: 3.64 MB / 1.018 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002255/0.7646, allocations: 366.5 kB / 1.018 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02981/0.7944, allocations: 20.52 MB / 1.039 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0004804/0.7949, allocations: 81.7 kB / 1.039 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.7963, allocations: 1.135 MB / 1.04 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005297/0.7969, allocations: 441.7 kB / 1.04 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004054/0.8009, allocations: 4.907 MB / 1.045 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.801, allocations: 301.1 kB / 1.045 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0335/0.8345, allocations: 38.63 MB / 1.083 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03416/0.8687, allocations: 40.03 MB / 1.122 GB, free: 15.88 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3578/1.226, allocations: 47.65 MB / 1.169 GB, free: 290.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.334e-05/1.227, allocations: 6.656 kB / 1.169 GB, free: 290.8 MB / 0.92 GB Notification: Performance of matching and sorting (n=1836) (initialization): time 0.06865/1.295, allocations: 90.85 MB / 1.257 GB, free: 220.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/1.295, allocations: 205.3 kB / 1.257 GB, free: 220.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-05/1.296, allocations: 16 kB / 1.257 GB, free: 220.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/1.296, allocations: 110.9 kB / 1.258 GB, free: 220.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/1.298, allocations: 0.5972 MB / 1.258 GB, free: 220.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.3, allocations: 1.664 MB / 1.26 GB, free: 218.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/1.303, allocations: 346.2 kB / 1.26 GB, free: 218.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/1.303, allocations: 148.4 kB / 1.26 GB, free: 218.1 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (380): * Single equations (assignments): 339 * Array equations: 39 * 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.002175/1.305, allocations: 2.489 MB / 1.263 GB, free: 215.9 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/1.306, allocations: 246 kB / 1.263 GB, free: 215.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004331/1.31, allocations: 3.284 MB / 1.266 GB, free: 212.8 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.31, allocations: 5.297 kB / 1.266 GB, free: 212.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/1.31, allocations: 0 / 1.266 GB, free: 212.8 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/1.311, allocations: 0.521 MB / 1.267 GB, free: 212.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003327/1.311, allocations: 31.44 kB / 1.267 GB, free: 212.3 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009296/1.312, allocations: 76.2 kB / 1.267 GB, free: 212.2 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.313, allocations: 84 kB / 1.267 GB, free: 212.1 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004061/1.317, allocations: 3.526 MB / 1.27 GB, free: 209 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004952/1.322, allocations: 4.82 MB / 1.275 GB, free: 204.6 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001506/1.323, allocations: 1.971 MB / 1.277 GB, free: 202.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.007751/1.331, allocations: 12.75 MB / 1.289 GB, free: 190.9 MB / 0.92 GB Notification: Performance of Backend: time 6.92e-07/1.331, allocations: 3.656 kB / 1.289 GB, free: 190.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03233/1.363, allocations: 50.71 MB / 1.339 GB, free: 142.6 MB / 0.92 GB Notification: Performance of SimCode: time 0.01834/1.382, allocations: 19.1 MB / 1.358 GB, free: 123.5 MB / 0.92 GB Notification: Performance of Templates: time 0.1575/1.539, allocations: 59.92 MB / 1.416 GB, free: 64.07 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1)