Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.305/1.305, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008672/0.0008672, allocations: 178.4 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007103/0.0007104, allocations: 94.95 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002878/0.0002879, allocations: 9.719 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1593, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.006201/0.1655, allocations: 7.308 MB / 0.9039 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1366/0.3022, allocations: 153.2 MB / 1.053 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.3036, allocations: 35.75 kB / 1.053 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.3077, allocations: 1.52 MB / 1.055 GB, free: 1.5 MB / 0.698 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.001948/0.3097, allocations: 0.651 MB / 1.056 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.3579/0.6676, allocations: 0.968 MB / 1.057 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006502/0.6741, allocations: 7.463 MB / 1.064 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003592/0.6777, allocations: 2.965 MB / 1.067 GB, free: 2.613 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.682, allocations: 2.284 MB / 1.069 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005068/0.6871, allocations: 2.641 MB / 1.072 GB, free: 2.516 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.6885, allocations: 224.7 kB / 1.072 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.691, allocations: 0.5951 MB / 1.072 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.6926, allocations: 1.372 MB / 1.074 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003728/0.6963, allocations: 2.694 MB / 1.076 GB, free: 1.258 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007705/0.7041, allocations: 8.619 MB / 1.085 GB, free: 48 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7041, allocations: 0 / 1.085 GB, free: 48 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/0.7041, allocations: 0 / 1.085 GB, free: 48 kB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003808/0.7045, allocations: 3.25 kB / 1.085 GB, free: 48 kB / 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.01181/0.7163, allocations: 5.864 MB / 1.09 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.7164, allocations: 8.344 kB / 1.09 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3066/1.023, allocations: 88.34 MB / 1.177 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/1.035, allocations: 7.283 MB / 1.184 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008452/1.036, allocations: 0.67 MB / 1.185 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/1.037, allocations: 365.9 kB / 1.185 GB, free: 6.629 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1047/1.142, allocations: 39.54 MB / 1.223 GB, free: 2.484 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.22e-05/1.142, allocations: 19.72 kB / 1.223 GB, free: 2.477 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000895/1.143, allocations: 176.9 kB / 1.224 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/1.143, allocations: 103 kB / 1.224 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1975/1.34, allocations: 70.87 MB / 1.293 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1436/1.484, allocations: 65.6 MB / 1.357 GB, free: 13.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1242/1.608, allocations: 44.67 MB / 1.401 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4169/2.025, allocations: 34.15 MB / 1.434 GB, free: 420.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/2.026, allocations: 0.6554 MB / 1.435 GB, free: 419.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.09218/2.118, allocations: 35.58 MB / 1.469 GB, free: 387.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=257): time 5.681e-06/2.118, allocations: 4 kB / 1.469 GB, free: 387.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=257): time 0.2636/2.382, allocations: 98.76 MB / 1.566 GB, free: 289.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/2.382, allocations: 320.5 kB / 1.566 GB, free: 288.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008024/2.39, allocations: 6.939 MB / 1.573 GB, free: 281.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001504/2.391, allocations: 81.69 kB / 1.573 GB, free: 281.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/2.393, allocations: 2.786 MB / 1.576 GB, free: 279.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002002/2.395, allocations: 0.8486 MB / 1.577 GB, free: 278.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/2.396, allocations: 321.4 kB / 1.577 GB, free: 278 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 3.196e-05/2.396, allocations: 309.1 kB / 1.577 GB, free: 277.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09073/2.487, allocations: 34.18 MB / 1.611 GB, free: 243.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08842/2.575, allocations: 35.51 MB / 1.645 GB, free: 207.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1631/2.739, allocations: 61.04 MB / 1.705 GB, free: 145.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/2.739, allocations: 12 kB / 1.705 GB, free: 145.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=464) (initialization): time 0.1757/2.914, allocations: 66.14 MB / 1.769 GB, free: 79.49 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/2.914, allocations: 22.66 kB / 1.769 GB, free: 79.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/2.914, allocations: 39.94 kB / 1.769 GB, free: 79.43 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/2.915, allocations: 145 kB / 1.77 GB, free: 79.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04961/2.965, allocations: 15 MB / 1.784 GB, free: 64.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/2.966, allocations: 1.671 MB / 1.786 GB, free: 62.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04956/3.016, allocations: 14.34 MB / 1.8 GB, free: 48.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/3.018, allocations: 338.2 kB / 1.8 GB, free: 47.76 MB / 0.9792 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.004645/3.022, allocations: 2.34 MB / 1.803 GB, free: 45.41 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00178/3.024, allocations: 0.536 MB / 1.803 GB, free: 44.87 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5069/3.531, allocations: 66.93 MB / 1.868 GB, free: 416.7 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-05/3.531, allocations: 15.89 kB / 1.868 GB, free: 416.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/3.531, allocations: 0 / 1.868 GB, free: 416.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006573/3.538, allocations: 2.968 MB / 1.871 GB, free: 416.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002345/3.54, allocations: 55.64 kB / 1.871 GB, free: 416.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0481/3.588, allocations: 14.03 MB / 1.885 GB, free: 405.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005135/3.589, allocations: 184.7 kB / 1.885 GB, free: 405.7 MB / 0.9792 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2158/3.805, allocations: 78.66 MB / 1.962 GB, free: 327.3 MB / 0.9792 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2636/4.068, allocations: 104.4 MB / 2.064 GB, free: 222.9 MB / 0.9792 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.08651/4.155, allocations: 34.22 MB / 2.097 GB, free: 188.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007759/4.163, allocations: 4.884 MB / 2.102 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of Backend: time 8.12e-07/4.163, allocations: 0 / 2.102 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.09859/4.261, allocations: 35.98 MB / 2.137 GB, free: 148.1 MB / 0.9792 GB Notification: Performance of SimCode: time 0.02134/4.283, allocations: 14.33 MB / 2.151 GB, free: 133.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.5113/4.794, allocations: 202.8 MB / 2.349 GB, free: 365.6 MB / 0.9792 GB make -j1 -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)