Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001176/0.001176, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001389/0.001389, allocations: 190.8 kB / 16.25 MB, free: 6.629 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.66 kB / 0.9115 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3165, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.01062/0.3272, allocations: 9.093 MB / 1.077 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.513, allocations: 154.1 MB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.5161, allocations: 35.81 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006303/0.5225, allocations: 1.563 MB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004605/0.5272, allocations: 0.827 MB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.5312, allocations: 1.094 MB / 1.23 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.5413, allocations: 7.447 MB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004005/0.5453, allocations: 3.129 MB / 1.241 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005701/0.5511, allocations: 3.149 MB / 1.244 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007387/0.5585, allocations: 3.42 MB / 1.247 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.5608, allocations: 0.6055 MB / 1.248 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.5643, allocations: 1.085 MB / 1.249 GB, free: 500 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.7371/1.301, allocations: 1.889 MB / 1.251 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01236/1.314, allocations: 3.418 MB / 1.254 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01871/1.333, allocations: 9.527 MB / 1.263 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.333, allocations: 2.625 kB / 1.263 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.185e-06/1.333, allocations: 0.5 kB / 1.263 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005585/1.333, allocations: 0.5 kB / 1.263 GB, free: 14.23 MB / 0.9981 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.02674/1.36, allocations: 7.246 MB / 1.27 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/1.36, allocations: 9.406 kB / 1.27 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3108/1.671, allocations: 77.32 MB / 1.346 GB, free: 2.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01893/1.69, allocations: 7.297 MB / 1.353 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005453/1.69, allocations: 316.6 kB / 1.353 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00357/1.694, allocations: 385.1 kB / 1.354 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1163/1.81, allocations: 35.98 MB / 1.389 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/1.811, allocations: 24.12 kB / 1.389 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003476/1.814, allocations: 185 kB / 1.389 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/1.814, allocations: 100 kB / 1.389 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2082/2.023, allocations: 63.57 MB / 1.451 GB, free: 15.43 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.167/2.19, allocations: 62.91 MB / 1.513 GB, free: 0 / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.131/2.321, allocations: 40.56 MB / 1.552 GB, free: 7.414 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1008/2.421, allocations: 30.48 MB / 1.582 GB, free: 8.879 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008555/2.422, allocations: 0.6559 MB / 1.583 GB, free: 8.117 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1017/2.524, allocations: 31.97 MB / 1.614 GB, free: 8.039 MB / 1.279 GB Notification: Performance of pre-optimization done (n=269): time 6.162e-06/2.524, allocations: 4 kB / 1.614 GB, free: 8.035 MB / 1.279 GB Notification: Performance of matching and sorting (n=269): time 0.2963/2.82, allocations: 88.03 MB / 1.7 GB, free: 15.79 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/2.82, allocations: 320.8 kB / 1.7 GB, free: 15.41 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/2.836, allocations: 7.009 MB / 1.707 GB, free: 8.398 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.002295/2.839, allocations: 81.7 kB / 1.707 GB, free: 8.312 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.00367/2.842, allocations: 2.818 MB / 1.71 GB, free: 5.492 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.002826/2.845, allocations: 0.8854 MB / 1.711 GB, free: 4.617 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006204/2.851, allocations: 1.273 MB / 1.712 GB, free: 3.336 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/2.851, allocations: 301.1 kB / 1.712 GB, free: 3.039 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0992/2.951, allocations: 30.53 MB / 1.742 GB, free: 4.457 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7164/3.667, allocations: 31.87 MB / 1.773 GB, free: 0.5829 GB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.166/3.833, allocations: 54.18 MB / 1.826 GB, free: 0.557 GB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.466e-05/3.833, allocations: 12 kB / 1.826 GB, free: 0.557 GB / 1.42 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.178/4.011, allocations: 59.08 MB / 1.884 GB, free: 0.4994 GB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/4.011, allocations: 24 kB / 1.884 GB, free: 0.4994 GB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/4.011, allocations: 36 kB / 1.884 GB, free: 0.4994 GB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/4.012, allocations: 142.6 kB / 1.884 GB, free: 0.4992 GB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04732/4.059, allocations: 13.12 MB / 1.897 GB, free: 498.1 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002022/4.061, allocations: 1.798 MB / 1.899 GB, free: 496.1 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05102/4.112, allocations: 12.51 MB / 1.911 GB, free: 483.8 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002326/4.115, allocations: 331.5 kB / 1.911 GB, free: 483.5 MB / 1.42 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.006915/4.122, allocations: 2.376 MB / 1.913 GB, free: 481.1 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003408/4.125, allocations: 0.544 MB / 1.914 GB, free: 480.8 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1822/4.307, allocations: 59.87 MB / 1.972 GB, free: 420.8 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.692e-05/4.307, allocations: 38.28 kB / 1.972 GB, free: 420.8 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/4.307, allocations: 0 / 1.972 GB, free: 420.8 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.386e-05/4.308, allocations: 11.95 kB / 1.972 GB, free: 420.8 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1983/4.506, allocations: 70.11 MB / 2.041 GB, free: 350.5 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/4.506, allocations: 7.984 kB / 2.041 GB, free: 350.5 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04782/4.554, allocations: 12.73 MB / 2.053 GB, free: 337.8 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/4.554, allocations: 80.78 kB / 2.053 GB, free: 337.7 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002064/4.556, allocations: 207.6 kB / 2.054 GB, free: 337.5 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/4.558, allocations: 1.741 MB / 2.055 GB, free: 335.6 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/4.558, allocations: 1.078 kB / 2.055 GB, free: 335.6 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1754/4.733, allocations: 57.9 MB / 2.112 GB, free: 277.5 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006823/4.74, allocations: 2.995 MB / 2.115 GB, free: 274.5 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003332/4.744, allocations: 55.98 kB / 2.115 GB, free: 274.5 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0478/4.791, allocations: 12.16 MB / 2.127 GB, free: 262.3 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008422/4.792, allocations: 186.1 kB / 2.127 GB, free: 262.1 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001768/4.794, allocations: 235.5 kB / 2.127 GB, free: 261.9 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.009176/4.803, allocations: 4.894 MB / 2.132 GB, free: 257 MB / 1.42 GB Notification: Performance of sort global known variables: time 5.11e-07/4.803, allocations: 4 kB / 2.132 GB, free: 257 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.008653/4.812, allocations: 2.225 MB / 2.134 GB, free: 254.8 MB / 1.42 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$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],weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.conTimMin.tNext,HDirTil.incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 22 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003245/4.815, allocations: 0.7205 MB / 2.135 GB, free: 254.3 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.1925/5.008, allocations: 67.92 MB / 2.201 GB, free: 186.2 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/5.008, allocations: 1.875 kB / 2.201 GB, free: 186.2 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.08938/5.097, allocations: 30.89 MB / 2.231 GB, free: 155.3 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/5.109, allocations: 1.419 MB / 2.233 GB, free: 153.9 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1073/5.216, allocations: 43.07 MB / 2.275 GB, free: 110.8 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/5.221, allocations: 4.176 MB / 2.279 GB, free: 106.6 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.01621/5.237, allocations: 4.398 MB / 2.283 GB, free: 102.2 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006716/5.244, allocations: 0.6548 MB / 2.284 GB, free: 101.5 MB / 1.42 GB Notification: Performance of SimCode: time 1.252e-06/5.244, allocations: 0 / 2.284 GB, free: 101.5 MB / 1.42 GB Notification: Performance of Templates: time 0.6527/5.897, allocations: 139.3 MB / 2.42 GB, free: 0.5632 GB / 1.42 GB make -j1 -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)