Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.589/1.589, allocations: 288.4 MB / 304.3 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 185 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 0.6316 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008264/0.0008265, allocations: 90.36 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003825, allocations: 15.62 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.006458/0.1798, allocations: 6.718 MB / 0.9873 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5257/0.7056, allocations: 140.6 MB / 1.125 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.7073, allocations: 33.34 kB / 1.125 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004135/0.7115, allocations: 1.419 MB / 1.126 GB, free: 2.184 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.002426/0.7139, allocations: 0.628 MB / 1.127 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.7169, allocations: 0.8459 MB / 1.127 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.008438/0.7253, allocations: 6.684 MB / 1.134 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/0.7296, allocations: 2.972 MB / 1.137 GB, free: 40 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004502/0.7341, allocations: 2.29 MB / 1.139 GB, free: 15.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004529/0.7387, allocations: 2.539 MB / 1.142 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001629/0.7403, allocations: 217.2 kB / 1.142 GB, free: 14.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.7437, allocations: 0.592 MB / 1.142 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.7463, allocations: 1.324 MB / 1.144 GB, free: 14.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.006294/0.7526, allocations: 2.57 MB / 1.146 GB, free: 13.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.009637/0.7623, allocations: 7.218 MB / 1.153 GB, free: 9.492 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7623, allocations: 1.375 kB / 1.153 GB, free: 9.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7623, allocations: 0 / 1.153 GB, free: 9.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003958/0.7627, allocations: 0 / 1.153 GB, free: 9.492 MB / 0.698 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.01609/0.7788, allocations: 5.788 MB / 1.159 GB, free: 5.969 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.678e-05/0.7789, allocations: 10.88 kB / 1.159 GB, free: 5.969 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3325/1.111, allocations: 88.34 MB / 1.245 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.124, allocations: 7.285 MB / 1.252 GB, free: 1.711 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003807/1.125, allocations: 313.8 kB / 1.253 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002487/1.127, allocations: 365.8 kB / 1.253 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1208/1.248, allocations: 39.41 MB / 1.291 GB, free: 9.707 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.34e-05/1.248, allocations: 19.81 kB / 1.291 GB, free: 9.688 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001486/1.25, allocations: 180 kB / 1.292 GB, free: 9.512 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/1.25, allocations: 96 kB / 1.292 GB, free: 9.418 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2215/1.471, allocations: 70.67 MB / 1.361 GB, free: 2.641 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1569/1.628, allocations: 65.47 MB / 1.425 GB, free: 0.5977 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4701/2.099, allocations: 44.46 MB / 1.468 GB, free: 336.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09552/2.194, allocations: 34.06 MB / 1.501 GB, free: 305 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004932/2.195, allocations: 0.6507 MB / 1.502 GB, free: 304.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09697/2.292, allocations: 35.48 MB / 1.537 GB, free: 268.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=257): time 5.45e-06/2.292, allocations: 0 / 1.537 GB, free: 268.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=257): time 0.2847/2.576, allocations: 98.49 MB / 1.633 GB, free: 170.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/2.576, allocations: 321 kB / 1.633 GB, free: 169.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009845/2.586, allocations: 6.893 MB / 1.64 GB, free: 163.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001958/2.588, allocations: 73.7 kB / 1.64 GB, free: 163 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002686/2.591, allocations: 2.791 MB / 1.643 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/2.593, allocations: 0.8522 MB / 1.643 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008525/2.594, allocations: 68 kB / 1.643 GB, free: 159.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002046/2.594, allocations: 472.2 kB / 1.644 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09648/2.691, allocations: 34.07 MB / 1.677 GB, free: 125 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09688/2.788, allocations: 35.41 MB / 1.712 GB, free: 88.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1804/2.968, allocations: 60.92 MB / 1.771 GB, free: 27.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.568e-05/2.968, allocations: 8 kB / 1.771 GB, free: 27.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=464) (initialization): time 0.5472/3.515, allocations: 65.95 MB / 1.836 GB, free: 330.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/3.515, allocations: 18.41 kB / 1.836 GB, free: 330.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/3.515, allocations: 39.03 kB / 1.836 GB, free: 330.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/3.516, allocations: 143.9 kB / 1.836 GB, free: 330.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05358/3.57, allocations: 14.96 MB / 1.851 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/3.572, allocations: 1.671 MB / 1.852 GB, free: 314.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05191/3.624, allocations: 14.32 MB / 1.866 GB, free: 300.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002038/3.626, allocations: 327.5 kB / 1.866 GB, free: 300.2 MB / 0.948 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,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sha[1].extFraSun.k[1],sha[1].extFraSun.k[2],sha[1].extFraSun.k[3],sha[1].extFraSun.k[4],sha[2].extFraSun.k[1],sha[2].extFraSun.k[2],sha[2].extFraSun.k[3],sha[2].extFraSun.k[4],sha[3].extFraSun.k[1],sha[3].extFraSun.k[2],sha[3].extFraSun.k[3],sha[3].extFraSun.k[4],sha[4].extFraSun.k[1],sha[4].extFraSun.k[2],sha[4].extFraSun.k[3],sha[4].extFraSun.k[4],$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.sha[1].extFraSun.index,sha[1].extFraSun.index,$PRE.sha[2].extFraSun.index,sha[2].extFraSun.index,$PRE.sha[3].extFraSun.index,sha[3].extFraSun.index,$PRE.sha[4].extFraSun.index,sha[4].extFraSun.index,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005767/3.631, allocations: 2.338 MB / 1.869 GB, free: 297.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001881/3.633, allocations: 0.5397 MB / 1.869 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1919/3.825, allocations: 66.74 MB / 1.934 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.656e-05/3.825, allocations: 15.94 kB / 1.934 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/3.825, allocations: 0 / 1.934 GB, free: 230.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006613/3.832, allocations: 2.999 MB / 1.937 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0028/3.835, allocations: 51.94 kB / 1.937 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05116/3.886, allocations: 14 MB / 1.951 GB, free: 213.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/3.887, allocations: 182 kB / 1.951 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2372/4.124, allocations: 78.45 MB / 2.028 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2845/4.408, allocations: 104.1 MB / 2.13 GB, free: 30.43 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.4398/4.848, allocations: 34.11 MB / 2.163 GB, free: 339 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008106/4.856, allocations: 4.833 MB / 2.168 GB, free: 337.9 MB / 0.948 GB Notification: Performance of Backend: time 6.41e-07/4.857, allocations: 0 / 2.168 GB, free: 337.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.11/4.967, allocations: 35.88 MB / 2.203 GB, free: 325.7 MB / 0.948 GB Notification: Performance of SimCode: time 0.02181/4.988, allocations: 13.79 MB / 2.216 GB, free: 311.9 MB / 0.948 GB Notification: Performance of Templates: time 0.2082/5.197, allocations: 199.5 MB / 2.411 GB, free: 112.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)