Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|sha.1..HDirTil|sha.2..HDirTil|sha.3..HDirTil|sha.4..HDirTil|sha.1..fraSun|sha.2..fraSun|sha.3..fraSun|sha.4..fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sha.1..HDirTil|sha.2..HDirTil|sha.3..HDirTil|sha.4..HDirTil|sha.1..fraSun|sha.2..fraSun|sha.3..fraSun|sha.4..fraSun",fileNamePrefix="Buildings_9_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.001291/0.001291, allocations: 111.6 kB / 16.42 MB, free: 6.457 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.00121/0.00121, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6881, allocations: 140.4 MB / 1.089 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.008/0.6961, allocations: 7.938 MB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.8717, allocations: 156 MB / 1.249 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.8734, allocations: 39.78 kB / 1.249 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004004/0.8774, allocations: 1.639 MB / 1.25 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.8795, allocations: 0.8676 MB / 1.251 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002612/0.8821, allocations: 1.197 MB / 1.252 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005586/0.8877, allocations: 6.986 MB / 1.259 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003034/0.8908, allocations: 3.166 MB / 1.262 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.8939, allocations: 3.087 MB / 1.265 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003059/0.8969, allocations: 3.256 MB / 1.268 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008237/0.8978, allocations: 0.6055 MB / 1.269 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001909/0.8997, allocations: 1.105 MB / 1.27 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.9012, allocations: 1.889 MB / 1.272 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003152/0.9044, allocations: 3.319 MB / 1.275 GB, free: 14.7 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007829/0.9122, allocations: 9.491 MB / 1.284 GB, free: 5.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9122, allocations: 4 kB / 1.284 GB, free: 5.176 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9122, allocations: 0 / 1.284 GB, free: 5.176 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001038/0.9123, allocations: 0 / 1.284 GB, free: 5.176 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 979 * Number of variables: 979 Notification: Performance of Generate backend data structure: time 0.01124/0.9236, allocations: 7.171 MB / 1.291 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.9236, allocations: 8.031 kB / 1.291 GB, free: 13.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3362/1.26, allocations: 76.65 MB / 1.366 GB, free: 1.102 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01486/1.275, allocations: 7.493 MB / 1.374 GB, free: 9.535 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/1.275, allocations: 307.7 kB / 1.374 GB, free: 9.234 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001971/1.277, allocations: 384 kB / 1.374 GB, free: 8.859 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1167/1.394, allocations: 35.98 MB / 1.409 GB, free: 4.328 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.361e-05/1.394, allocations: 23.75 kB / 1.409 GB, free: 4.305 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001436/1.395, allocations: 176 kB / 1.41 GB, free: 4.133 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/1.395, allocations: 100 kB / 1.41 GB, free: 4.035 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2143/1.61, allocations: 63.58 MB / 1.472 GB, free: 4.352 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.158/1.768, allocations: 62.07 MB / 1.532 GB, free: 5.535 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1363/1.904, allocations: 40.55 MB / 1.572 GB, free: 12.92 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5859/2.49, allocations: 30.48 MB / 1.602 GB, free: 441.9 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/2.491, allocations: 0.6609 MB / 1.602 GB, free: 441.2 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1032/2.594, allocations: 31.97 MB / 1.634 GB, free: 431.8 MB / 1.311 GB Notification: Performance of pre-optimization done (n=269): time 6.181e-06/2.594, allocations: 1.375 kB / 1.634 GB, free: 431.8 MB / 1.311 GB Notification: Performance of matching and sorting (n=269): time 0.2853/2.879, allocations: 88.04 MB / 1.72 GB, free: 360.1 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/2.879, allocations: 312.9 kB / 1.72 GB, free: 359.7 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007848/2.887, allocations: 6.958 MB / 1.727 GB, free: 352.8 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001499/2.889, allocations: 81.7 kB / 1.727 GB, free: 352.7 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.00182/2.89, allocations: 2.816 MB / 1.73 GB, free: 350.2 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/2.892, allocations: 0.8892 MB / 1.73 GB, free: 349.3 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00294/2.895, allocations: 1.273 MB / 1.732 GB, free: 348 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 3.159e-05/2.895, allocations: 304.3 kB / 1.732 GB, free: 347.7 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09644/2.991, allocations: 30.52 MB / 1.762 GB, free: 317.1 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.09667/3.088, allocations: 31.87 MB / 1.793 GB, free: 284.7 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1762/3.264, allocations: 54.17 MB / 1.846 GB, free: 229.9 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/3.264, allocations: 12 kB / 1.846 GB, free: 229.9 MB / 1.311 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.1901/3.454, allocations: 59.08 MB / 1.904 GB, free: 170.6 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/3.454, allocations: 20 kB / 1.904 GB, free: 170.6 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/3.455, allocations: 43.92 kB / 1.904 GB, free: 170.6 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/3.455, allocations: 137.1 kB / 1.904 GB, free: 170.4 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05312/3.508, allocations: 13.12 MB / 1.917 GB, free: 157.3 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/3.51, allocations: 1.782 MB / 1.918 GB, free: 155.4 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05283/3.563, allocations: 12.5 MB / 1.93 GB, free: 142.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/3.565, allocations: 335.5 kB / 1.931 GB, free: 142.5 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 169 * Number of states: 0 () * Number of discrete variables: 56 (sha[4].idxSou.y,sha[3].idxSou.y,sha[2].idxSou.y,sha[1].idxSou.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,sha[1].ove.solAzi.outsidePolarCircle,sha[2].ove.solAzi.outsidePolarCircle,sha[3].ove.solAzi.outsidePolarCircle,sha[4].ove.solAzi.outsidePolarCircle,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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.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,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (482): * Single equations (assignments): 481 * 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.005475/3.57, allocations: 2.364 MB / 1.933 GB, free: 140.1 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002234/3.573, allocations: 0.5515 MB / 1.934 GB, free: 139.6 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1934/3.766, allocations: 59.86 MB / 1.992 GB, free: 79.59 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/3.766, allocations: 15.94 kB / 1.992 GB, free: 79.57 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/3.766, allocations: 0 / 1.992 GB, free: 79.57 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0078/3.774, allocations: 2.987 MB / 1.995 GB, free: 76.56 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002218/3.776, allocations: 59.98 kB / 1.995 GB, free: 76.5 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05181/3.828, allocations: 12.15 MB / 2.007 GB, free: 64.34 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/3.829, allocations: 182.1 kB / 2.007 GB, free: 64.16 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2349/4.063, allocations: 69.74 MB / 2.075 GB, free: 10.31 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.7937/4.857, allocations: 93.73 MB / 2.167 GB, free: 424.6 MB / 1.326 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.09293/4.95, allocations: 30.57 MB / 2.197 GB, free: 393.9 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.007107/4.957, allocations: 4.866 MB / 2.201 GB, free: 389.1 MB / 1.326 GB Notification: Performance of Backend: time 9.12e-07/4.957, allocations: 4 kB / 2.201 GB, free: 389.1 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.1037/5.061, allocations: 32.45 MB / 2.233 GB, free: 356.9 MB / 1.326 GB Notification: Performance of SimCode: time 0.01897/5.08, allocations: 12.48 MB / 2.245 GB, free: 344.4 MB / 1.326 GB Notification: Performance of Templates: time 0.2074/5.287, allocations: 208.7 MB / 2.449 GB, free: 136.1 MB / 1.326 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)