Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.118/2.118, allocations: 251.1 MB / 266.7 MB, free: 11.58 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.001337/0.001337, allocations: 178.3 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.319/2.319, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0008939/0.0008938, allocations: 96.05 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 11.53 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2211, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.009404/0.2306, allocations: 6.733 MB / 0.9061 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2136/0.4443, allocations: 140.5 MB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.4457, allocations: 35.81 kB / 1.043 GB, free: 13.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005472/0.4512, allocations: 1.361 MB / 1.045 GB, free: 12.44 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.002801/0.454, allocations: 0.6164 MB / 1.045 GB, free: 11.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.4574, allocations: 0.8413 MB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009787/0.4672, allocations: 6.245 MB / 1.052 GB, free: 4.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00501/0.4722, allocations: 2.742 MB / 1.055 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6035/1.076, allocations: 2.252 MB / 1.057 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005101/1.081, allocations: 2.548 MB / 1.06 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001989/1.083, allocations: 220.4 kB / 1.06 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/1.087, allocations: 0.5563 MB / 1.06 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.003202/1.09, allocations: 1.34 MB / 1.062 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002939/1.093, allocations: 1.127 MB / 1.063 GB, free: 6.297 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/1.106, allocations: 7.239 MB / 1.07 GB, free: 5.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.106, allocations: 0 / 1.07 GB, free: 5.867 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/1.106, allocations: 0 / 1.07 GB, free: 5.867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004114/1.107, allocations: 0.5938 kB / 1.07 GB, free: 5.867 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.02478/1.131, allocations: 5.93 MB / 1.076 GB, free: 3.137 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.132, allocations: 8.781 kB / 1.076 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6694/1.801, allocations: 88.41 MB / 1.162 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02478/1.826, allocations: 7.092 MB / 1.169 GB, free: 7.406 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001679/1.827, allocations: 0.6672 MB / 1.17 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003826/1.831, allocations: 370 kB / 1.17 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2338/2.065, allocations: 39.5 MB / 1.208 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/2.065, allocations: 22.53 kB / 1.208 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003191/2.069, allocations: 175.7 kB / 1.209 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/2.069, allocations: 100 kB / 1.209 GB, free: 2.27 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5256/2.594, allocations: 70.84 MB / 1.278 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3011/2.896, allocations: 65.63 MB / 1.342 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2744/3.17, allocations: 44.64 MB / 1.386 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7869/3.957, allocations: 34.14 MB / 1.419 GB, free: 412.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008563/3.958, allocations: 0.6483 MB / 1.42 GB, free: 412.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2009/4.159, allocations: 35.58 MB / 1.454 GB, free: 386.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=257): time 7.244e-06/4.159, allocations: 4 kB / 1.454 GB, free: 386.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=257): time 0.5924/4.751, allocations: 98.73 MB / 1.551 GB, free: 287.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/4.751, allocations: 316.5 kB / 1.551 GB, free: 287.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01594/4.767, allocations: 6.891 MB / 1.558 GB, free: 280.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002458/4.77, allocations: 81.69 kB / 1.558 GB, free: 280.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.004006/4.774, allocations: 2.786 MB / 1.561 GB, free: 277.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.003168/4.777, allocations: 0.8487 MB / 1.561 GB, free: 276.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001968/4.779, allocations: 80 kB / 1.561 GB, free: 276.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003763/4.779, allocations: 457.7 kB / 1.562 GB, free: 276.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2196/4.999, allocations: 34.17 MB / 1.595 GB, free: 241.9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2005/5.2, allocations: 35.5 MB / 1.63 GB, free: 205.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1851/5.385, allocations: 30.37 MB / 1.66 GB, free: 175.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/5.385, allocations: 8 kB / 1.66 GB, free: 175.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=464) (initialization): time 0.3955/5.78, allocations: 66.11 MB / 1.724 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/5.781, allocations: 25.58 kB / 1.724 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.981e-05/5.781, allocations: 43.94 kB / 1.724 GB, free: 109.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/5.782, allocations: 132.8 kB / 1.724 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1101/5.892, allocations: 15 MB / 1.739 GB, free: 93.91 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/5.895, allocations: 1.676 MB / 1.741 GB, free: 92.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1076/6.002, allocations: 14.35 MB / 1.755 GB, free: 77.72 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002819/6.005, allocations: 331.5 kB / 1.755 GB, free: 77.39 MB / 0.9636 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.009637/6.015, allocations: 2.336 MB / 1.757 GB, free: 75.05 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003553/6.018, allocations: 0.5372 MB / 1.758 GB, free: 74.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073/7.092, allocations: 66.92 MB / 1.823 GB, free: 407.7 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.014e-05/7.092, allocations: 13.36 kB / 1.823 GB, free: 407.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/7.092, allocations: 2.906 kB / 1.823 GB, free: 407.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01555/7.107, allocations: 2.99 MB / 1.826 GB, free: 407.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005791/7.113, allocations: 56.48 kB / 1.826 GB, free: 407.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1527/7.266, allocations: 14.03 MB / 1.84 GB, free: 407.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/7.267, allocations: 195 kB / 1.84 GB, free: 407.6 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.5568/7.824, allocations: 78.64 MB / 1.917 GB, free: 340.5 MB / 0.9636 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.6005/8.425, allocations: 104.4 MB / 2.019 GB, free: 235.9 MB / 0.9636 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.1972/8.622, allocations: 34.21 MB / 2.052 GB, free: 201.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0127/8.635, allocations: 4.837 MB / 2.057 GB, free: 196.8 MB / 0.9636 GB Notification: Performance of Backend: time 3.086e-06/8.635, allocations: 0 / 2.057 GB, free: 196.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.2198/8.855, allocations: 35.96 MB / 2.092 GB, free: 161.1 MB / 0.9636 GB Notification: Performance of SimCode: time 0.03629/8.891, allocations: 13.79 MB / 2.105 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of Templates: time 1.001/9.892, allocations: 199.3 MB / 2.3 GB, free: 369.6 MB / 0.9636 GB make -j1 -f Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)