Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade.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.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 115.9 kB / 16.38 MB, free: 5.547 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.0009821/0.0009821, allocations: 186.1 kB / 17.31 MB, free: 5.188 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.285/1.285, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.728/1.728, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001508/0.001508, allocations: 72.12 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1952, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.3174/0.5126, allocations: 7.669 MB / 0.7923 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1591/0.6718, allocations: 155.6 MB / 0.9443 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.6732, allocations: 39.75 kB / 0.9443 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004554/0.6778, allocations: 1.632 MB / 0.9459 GB, free: 5.113 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.00263/0.6805, allocations: 0.7465 MB / 0.9466 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.6837, allocations: 1.117 MB / 0.9477 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006584/0.6903, allocations: 6.826 MB / 0.9544 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.6936, allocations: 3.086 MB / 0.9574 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003703/0.6973, allocations: 2.95 MB / 0.9603 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003971/0.7013, allocations: 3.163 MB / 0.9634 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007912/0.7021, allocations: 0.582 MB / 0.9639 GB, free: 2.586 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.7038, allocations: 1.003 MB / 0.9649 GB, free: 1.582 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.7054, allocations: 1.846 MB / 0.9667 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.003194/0.7086, allocations: 3.243 MB / 0.9699 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008194/0.7168, allocations: 9.229 MB / 0.9789 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.7168, allocations: 0 / 0.9789 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7168, allocations: 0 / 0.9789 GB, free: 3.215 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001749/0.717, allocations: 0 / 0.9789 GB, free: 3.215 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: 941 * Number of variables: 941 Notification: Performance of Generate backend data structure: time 0.01223/0.7292, allocations: 7.027 MB / 0.9858 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.7293, allocations: 8.031 kB / 0.9858 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.334/1.063, allocations: 76.63 MB / 1.061 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01424/1.078, allocations: 7.539 MB / 1.068 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/1.078, allocations: 291.4 kB / 1.068 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/1.08, allocations: 376 kB / 1.069 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1173/1.197, allocations: 35.79 MB / 1.104 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.15e-05/1.197, allocations: 23.81 kB / 1.104 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/1.198, allocations: 176 kB / 1.104 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.315e-05/1.198, allocations: 100 kB / 1.104 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5847/1.783, allocations: 63.43 MB / 1.166 GB, free: 295.3 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1404/1.923, allocations: 61.69 MB / 1.226 GB, free: 256.7 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1222/2.045, allocations: 40.41 MB / 1.265 GB, free: 216.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09305/2.138, allocations: 30.44 MB / 1.295 GB, free: 185.7 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/2.139, allocations: 0.6523 MB / 1.296 GB, free: 185 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09756/2.237, allocations: 31.86 MB / 1.327 GB, free: 153 MB / 0.92 GB Notification: Performance of pre-optimization done (n=257): time 5.81e-06/2.237, allocations: 4 kB / 1.327 GB, free: 153 MB / 0.92 GB Notification: Performance of matching and sorting (n=257): time 0.2781/2.515, allocations: 87.88 MB / 1.413 GB, free: 64.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/2.515, allocations: 312.8 kB / 1.413 GB, free: 64.54 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007996/2.523, allocations: 6.895 MB / 1.42 GB, free: 57.64 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.001523/2.524, allocations: 79 kB / 1.42 GB, free: 57.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/2.526, allocations: 2.786 MB / 1.423 GB, free: 54.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001308/2.527, allocations: 0.8579 MB / 1.423 GB, free: 53.92 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002906/2.53, allocations: 1.241 MB / 1.425 GB, free: 52.67 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.19e-05/2.53, allocations: 309.1 kB / 1.425 GB, free: 52.36 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0943/2.625, allocations: 30.48 MB / 1.455 GB, free: 21.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09751/2.722, allocations: 31.8 MB / 1.486 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5363/3.259, allocations: 54.1 MB / 1.539 GB, free: 298.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.311e-05/3.259, allocations: 10.47 kB / 1.539 GB, free: 298.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=464) (initialization): time 0.1911/3.45, allocations: 58.95 MB / 1.596 GB, free: 253.4 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/3.45, allocations: 24 kB / 1.596 GB, free: 253.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/3.45, allocations: 36.62 kB / 1.596 GB, free: 253.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/3.451, allocations: 141.6 kB / 1.596 GB, free: 253.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05144/3.502, allocations: 13.1 MB / 1.609 GB, free: 240.1 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/3.504, allocations: 1.784 MB / 1.611 GB, free: 238.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05157/3.556, allocations: 12.46 MB / 1.623 GB, free: 225.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001687/3.557, allocations: 327.5 kB / 1.623 GB, free: 225.6 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 169 * Number of states: 0 () * Number of discrete variables: 40 (sha[4].idxSou.y,sha[3].idxSou.y,sha[2].idxSou.y,sha[1].idxSou.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,sha[4].extFraSun.index,$PRE.sha[4].extFraSun.index,sha[3].extFraSun.index,$PRE.sha[3].extFraSun.index,sha[2].extFraSun.index,$PRE.sha[2].extFraSun.index,sha[1].extFraSun.index,$PRE.sha[1].extFraSun.index,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,sha[4].extFraSun.k[4],sha[4].extFraSun.k[3],sha[4].extFraSun.k[2],sha[4].extFraSun.k[1],sha[3].extFraSun.k[4],sha[3].extFraSun.k[3],sha[3].extFraSun.k[2],sha[3].extFraSun.k[1],sha[2].extFraSun.k[4],sha[2].extFraSun.k[3],sha[2].extFraSun.k[2],sha[2].extFraSun.k[1],sha[1].extFraSun.k[4],sha[1].extFraSun.k[3],sha[1].extFraSun.k[2],sha[1].extFraSun.k[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (462): * Single equations (assignments): 461 * Array equations: 0 * Algorithm blocks: 0 * 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.004337/3.562, allocations: 2.334 MB / 1.626 GB, free: 223.3 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001749/3.563, allocations: 0.5361 MB / 1.626 GB, free: 222.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1938/3.757, allocations: 59.67 MB / 1.684 GB, free: 163 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.141e-05/3.757, allocations: 19.88 kB / 1.684 GB, free: 163 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/3.757, allocations: 0 / 1.684 GB, free: 163 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006503/3.764, allocations: 2.955 MB / 1.687 GB, free: 160 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002215/3.766, allocations: 51.98 kB / 1.687 GB, free: 159.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04938/3.815, allocations: 12.13 MB / 1.699 GB, free: 147.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/3.816, allocations: 166 kB / 1.699 GB, free: 147.6 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2281/4.044, allocations: 69.59 MB / 1.767 GB, free: 77.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.6204/4.665, allocations: 93.49 MB / 1.859 GB, free: 305 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.09923/4.764, allocations: 30.52 MB / 1.888 GB, free: 296.9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.007985/4.772, allocations: 4.85 MB / 1.893 GB, free: 294.5 MB / 0.9356 GB Notification: Performance of Backend: time 6.01e-07/4.772, allocations: 0 / 1.893 GB, free: 294.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.1061/4.878, allocations: 32.28 MB / 1.925 GB, free: 273.2 MB / 0.9356 GB Notification: Performance of SimCode: time 0.01903/4.897, allocations: 12.36 MB / 1.937 GB, free: 260.9 MB / 0.9356 GB Notification: Performance of Templates: time 0.2042/5.101, allocations: 207.3 MB / 2.139 GB, free: 54.52 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)