Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade") translateModel(Buildings.HeatTransfer.Windows.Examples.FixedShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001096/0.001096, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008376/0.008376, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.525/1.525, allocations: 223.2 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 8.562 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3489, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.01081/0.3597, allocations: 8.588 MB / 1.083 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1955/0.5553, allocations: 151.3 MB / 1.23 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.5574, allocations: 31.81 kB / 1.23 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005686/0.5631, allocations: 1.555 MB / 1.232 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.5669, allocations: 0.8116 MB / 1.233 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.5697, allocations: 1.07 MB / 1.234 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009039/0.5787, allocations: 7.995 MB / 1.241 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003874/0.5827, allocations: 3.015 MB / 1.244 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004113/0.5868, allocations: 2.352 MB / 1.247 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004604/0.5914, allocations: 2.76 MB / 1.249 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009151/0.5923, allocations: 224 kB / 1.25 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.5946, allocations: 0.6948 MB / 1.25 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001435/0.5961, allocations: 1.37 MB / 1.252 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.6842/1.28, allocations: 2.853 MB / 1.254 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/1.296, allocations: 8.979 MB / 1.263 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/1.296, allocations: 0 / 1.263 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.575e-06/1.296, allocations: 1.438 kB / 1.263 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0003787/1.297, allocations: 0 / 1.263 GB, free: 13.12 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.01591/1.313, allocations: 5.969 MB / 1.269 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.313, allocations: 9.969 kB / 1.269 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3498/1.663, allocations: 88.47 MB / 1.355 GB, free: 4.984 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/1.681, allocations: 7.313 MB / 1.363 GB, free: 15.63 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/1.681, allocations: 312.5 kB / 1.363 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003041/1.684, allocations: 387.2 kB / 1.363 GB, free: 15.2 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1256/1.81, allocations: 39.59 MB / 1.402 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/1.81, allocations: 25.59 kB / 1.402 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001387/1.811, allocations: 177.4 kB / 1.402 GB, free: 10.99 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.093e-05/1.811, allocations: 104 kB / 1.402 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2314/2.043, allocations: 70.8 MB / 1.471 GB, free: 10.37 MB / 1.139 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.166/2.209, allocations: 66.52 MB / 1.536 GB, free: 9.762 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1464/2.355, allocations: 44.58 MB / 1.58 GB, free: 13.15 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1139/2.469, allocations: 34.08 MB / 1.613 GB, free: 11.02 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006857/2.47, allocations: 0.6579 MB / 1.614 GB, free: 10.25 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1143/2.584, allocations: 35.57 MB / 1.648 GB, free: 6.57 MB / 1.311 GB Notification: Performance of pre-optimization done (n=269): time 7.684e-06/2.584, allocations: 0 / 1.648 GB, free: 6.57 MB / 1.311 GB Notification: Performance of matching and sorting (n=269): time 0.3305/2.915, allocations: 98.62 MB / 1.745 GB, free: 3.738 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001805/2.915, allocations: 320.8 kB / 1.745 GB, free: 3.355 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01408/2.929, allocations: 7.003 MB / 1.752 GB, free: 12.35 MB / 1.42 GB Notification: Performance of collectPreVariables (initialization): time 0.002289/2.932, allocations: 81.7 kB / 1.752 GB, free: 12.27 MB / 1.42 GB Notification: Performance of collectInitialEqns (initialization): time 0.003217/2.935, allocations: 2.813 MB / 1.755 GB, free: 9.445 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.00284/2.938, allocations: 0.8887 MB / 1.756 GB, free: 8.566 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001488/2.939, allocations: 335.6 kB / 1.756 GB, free: 8.234 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/2.939, allocations: 305.1 kB / 1.756 GB, free: 7.934 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7473/3.687, allocations: 34.12 MB / 1.79 GB, free: 0.5818 GB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1042/3.791, allocations: 35.47 MB / 1.824 GB, free: 0.5593 GB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1851/3.976, allocations: 60.95 MB / 1.884 GB, free: 0.4992 GB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-05/3.976, allocations: 11.75 kB / 1.884 GB, free: 0.4992 GB / 1.42 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.2024/4.179, allocations: 66.07 MB / 1.948 GB, free: 445.3 MB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/4.179, allocations: 20 kB / 1.948 GB, free: 445.3 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.086e-05/4.179, allocations: 40 kB / 1.948 GB, free: 445.2 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/4.179, allocations: 141.2 kB / 1.948 GB, free: 445.1 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05628/4.236, allocations: 14.97 MB / 1.963 GB, free: 430.1 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/4.238, allocations: 1.7 MB / 1.965 GB, free: 428.3 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05852/4.296, allocations: 14.37 MB / 1.979 GB, free: 414.1 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002246/4.299, allocations: 331.5 kB / 1.979 GB, free: 413.8 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.006707/4.305, allocations: 2.368 MB / 1.981 GB, free: 411.4 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002298/4.308, allocations: 0.5442 MB / 1.982 GB, free: 411.1 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2063/4.514, allocations: 66.85 MB / 2.047 GB, free: 344.1 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/4.514, allocations: 36.53 kB / 2.047 GB, free: 344.1 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/4.514, allocations: 0 / 2.047 GB, free: 344.1 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-05/4.514, allocations: 15.89 kB / 2.047 GB, free: 344 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2192/4.733, allocations: 77.11 MB / 2.123 GB, free: 266.8 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/4.733, allocations: 8.031 kB / 2.123 GB, free: 266.8 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05328/4.787, allocations: 14.57 MB / 2.137 GB, free: 252.2 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006085/4.787, allocations: 96.77 kB / 2.137 GB, free: 252.1 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002304/4.789, allocations: 207.6 kB / 2.137 GB, free: 251.9 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/4.791, allocations: 1.631 MB / 2.139 GB, free: 250.2 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/4.791, allocations: 3.938 kB / 2.139 GB, free: 250.2 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.191/4.982, allocations: 64.88 MB / 2.202 GB, free: 185.1 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007809/4.99, allocations: 3.012 MB / 2.205 GB, free: 182.1 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003038/4.993, allocations: 55.98 kB / 2.205 GB, free: 182 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05373/5.047, allocations: 14.03 MB / 2.219 GB, free: 168 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009678/5.048, allocations: 182.1 kB / 2.219 GB, free: 167.8 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001639/5.049, allocations: 239.6 kB / 2.219 GB, free: 167.5 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.008705/5.058, allocations: 4.896 MB / 2.224 GB, free: 162.7 MB / 1.42 GB Notification: Performance of sort global known variables: time 4.81e-07/5.058, allocations: 4 kB / 2.224 GB, free: 162.6 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.009009/5.067, allocations: 2.218 MB / 2.226 GB, free: 160.4 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.002635/5.07, allocations: 0.7092 MB / 2.227 GB, free: 160 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.2075/5.277, allocations: 69.14 MB / 2.294 GB, free: 90.71 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/5.277, allocations: 11.83 kB / 2.294 GB, free: 90.7 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.1009/5.378, allocations: 34.49 MB / 2.328 GB, free: 56.15 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009926/5.388, allocations: 1.331 MB / 2.329 GB, free: 54.83 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7633/6.152, allocations: 46.71 MB / 2.375 GB, free: 0.5775 GB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007243/6.159, allocations: 4.174 MB / 2.379 GB, free: 0.5767 GB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.02051/6.179, allocations: 4.388 MB / 2.383 GB, free: 0.5766 GB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006882/6.186, allocations: 0.6594 MB / 2.384 GB, free: 0.5766 GB / 1.42 GB Notification: Performance of SimCode: time 1.102e-06/6.186, allocations: 0 / 2.384 GB, free: 0.5766 GB / 1.42 GB Notification: Performance of Templates: time 0.1882/6.375, allocations: 133.9 MB / 2.515 GB, free: 484.3 MB / 1.42 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.Examples.FixedShade.pipe 2>&1)