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.002091/0.002091, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001962/0.001962, allocations: 193.2 kB / 16.14 MB, free: 6.656 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.7 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3544, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.FixedShade): time 0.01115/0.3656, allocations: 9.093 MB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1987/0.5643, allocations: 154 MB / 1.227 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.5675, allocations: 39.81 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006426/0.574, allocations: 1.555 MB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004539/0.5786, allocations: 0.8231 MB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.5836, allocations: 1.06 MB / 1.23 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.5963, allocations: 8 MB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004937/0.6013, allocations: 3.061 MB / 1.241 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/0.6061, allocations: 2.661 MB / 1.244 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005481/0.6116, allocations: 3.15 MB / 1.247 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002303/0.614, allocations: 356 kB / 1.247 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003915/0.6179, allocations: 0.8276 MB / 1.248 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.7904/1.408, allocations: 1.578 MB / 1.249 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007883/1.416, allocations: 3.104 MB / 1.252 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01522/1.432, allocations: 9.253 MB / 1.261 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.432, allocations: 0.6094 kB / 1.261 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.835e-06/1.432, allocations: 0.6562 kB / 1.261 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005222/1.432, allocations: 2.625 kB / 1.261 GB, free: 13.4 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.02474/1.457, allocations: 7.242 MB / 1.268 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.513e-05/1.457, allocations: 10.09 kB / 1.269 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.361/1.818, allocations: 77.3 MB / 1.344 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/1.834, allocations: 7.308 MB / 1.351 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/1.834, allocations: 316.7 kB / 1.351 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003207/1.838, allocations: 377.9 kB / 1.352 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1219/1.959, allocations: 35.98 MB / 1.387 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004284/1.96, allocations: 27.84 kB / 1.387 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004306/1.964, allocations: 174.2 kB / 1.387 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/1.964, allocations: 104 kB / 1.387 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2151/2.18, allocations: 63.57 MB / 1.449 GB, free: 15.46 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.171/2.351, allocations: 62.91 MB / 1.511 GB, free: 40 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1326/2.483, allocations: 40.56 MB / 1.55 GB, free: 7.445 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1005/2.584, allocations: 30.47 MB / 1.58 GB, free: 8.918 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000909/2.585, allocations: 0.6647 MB / 1.581 GB, free: 8.148 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1048/2.69, allocations: 31.97 MB / 1.612 GB, free: 8.066 MB / 1.279 GB Notification: Performance of pre-optimization done (n=269): time 7.404e-06/2.69, allocations: 3.938 kB / 1.612 GB, free: 8.062 MB / 1.279 GB Notification: Performance of matching and sorting (n=269): time 0.3018/2.991, allocations: 88.03 MB / 1.698 GB, free: 15.82 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/2.992, allocations: 316.9 kB / 1.698 GB, free: 15.44 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/3.006, allocations: 7.001 MB / 1.705 GB, free: 8.438 MB / 1.373 GB Notification: Performance of collectPreVariables (initialization): time 0.001978/3.008, allocations: 85.69 kB / 1.705 GB, free: 8.348 MB / 1.373 GB Notification: Performance of collectInitialEqns (initialization): time 0.003237/3.011, allocations: 2.819 MB / 1.708 GB, free: 5.523 MB / 1.373 GB Notification: Performance of collectInitialBindings (initialization): time 0.002619/3.014, allocations: 0.8955 MB / 1.709 GB, free: 4.645 MB / 1.373 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005731/3.02, allocations: 1.265 MB / 1.71 GB, free: 3.371 MB / 1.373 GB Notification: Performance of setup shared object (initialization): time 9.658e-05/3.02, allocations: 301.1 kB / 1.71 GB, free: 3.074 MB / 1.373 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1024/3.122, allocations: 30.52 MB / 1.74 GB, free: 4.5 MB / 1.404 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6933/3.816, allocations: 31.87 MB / 1.771 GB, free: 0.5842 GB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1762/3.992, allocations: 54.18 MB / 1.824 GB, free: 0.557 GB / 1.42 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-05/3.992, allocations: 12 kB / 1.824 GB, free: 0.5569 GB / 1.42 GB Notification: Performance of matching and sorting (n=484) (initialization): time 0.1853/4.177, allocations: 59.08 MB / 1.882 GB, free: 0.4994 GB / 1.42 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/4.177, allocations: 20 kB / 1.882 GB, free: 0.4994 GB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.756e-05/4.177, allocations: 36 kB / 1.882 GB, free: 0.4993 GB / 1.42 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006705/4.178, allocations: 145.1 kB / 1.882 GB, free: 0.4992 GB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05325/4.231, allocations: 13.12 MB / 1.895 GB, free: 498 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/4.233, allocations: 1.692 MB / 1.897 GB, free: 496.2 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05185/4.285, allocations: 12.5 MB / 1.909 GB, free: 483.9 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002514/4.288, allocations: 335.5 kB / 1.909 GB, free: 483.6 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.007139/4.295, allocations: 2.367 MB / 1.911 GB, free: 481.2 MB / 1.42 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003662/4.299, allocations: 0.5472 MB / 1.912 GB, free: 480.9 MB / 1.42 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1904/4.489, allocations: 59.88 MB / 1.97 GB, free: 420.9 MB / 1.42 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/4.489, allocations: 28 kB / 1.97 GB, free: 420.9 MB / 1.42 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/4.489, allocations: 0 / 1.97 GB, free: 420.9 MB / 1.42 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.268e-05/4.489, allocations: 15.89 kB / 1.97 GB, free: 420.9 MB / 1.42 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2068/4.696, allocations: 70.11 MB / 2.039 GB, free: 350.6 MB / 1.42 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/4.696, allocations: 4 kB / 2.039 GB, free: 350.6 MB / 1.42 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05002/4.746, allocations: 12.73 MB / 2.051 GB, free: 337.9 MB / 1.42 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006062/4.747, allocations: 100.7 kB / 2.051 GB, free: 337.8 MB / 1.42 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002444/4.749, allocations: 199.6 kB / 2.052 GB, free: 337.6 MB / 1.42 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/4.751, allocations: 1.631 MB / 2.053 GB, free: 335.8 MB / 1.42 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/4.751, allocations: 7.922 kB / 2.053 GB, free: 335.8 MB / 1.42 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1782/4.929, allocations: 57.9 MB / 2.11 GB, free: 277.7 MB / 1.42 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00853/4.938, allocations: 2.995 MB / 2.113 GB, free: 274.7 MB / 1.42 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005786/4.944, allocations: 59.98 kB / 2.113 GB, free: 274.7 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05035/4.994, allocations: 12.16 MB / 2.125 GB, free: 262.5 MB / 1.42 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/4.995, allocations: 182.1 kB / 2.125 GB, free: 262.3 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002266/4.997, allocations: 237.1 kB / 2.125 GB, free: 262.1 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.01211/5.01, allocations: 4.897 MB / 2.13 GB, free: 257.2 MB / 1.42 GB Notification: Performance of sort global known variables: time 4.61e-07/5.01, allocations: 4 kB / 2.13 GB, free: 257.2 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.01111/5.021, allocations: 2.225 MB / 2.132 GB, free: 255 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.004047/5.025, allocations: 0.7017 MB / 2.133 GB, free: 254.5 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.1832/5.208, allocations: 61.94 MB / 2.193 GB, free: 192.4 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/5.208, allocations: 1.25 kB / 2.193 GB, free: 192.4 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.0922/5.3, allocations: 30.89 MB / 2.223 GB, free: 161.5 MB / 1.42 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/5.313, allocations: 1.334 MB / 2.225 GB, free: 160.2 MB / 1.42 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1141/5.428, allocations: 43.07 MB / 2.267 GB, free: 117 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006047/5.434, allocations: 4.177 MB / 2.271 GB, free: 112.8 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.01887/5.453, allocations: 4.382 MB / 2.275 GB, free: 108.4 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007755/5.46, allocations: 0.6587 MB / 2.276 GB, free: 107.8 MB / 1.42 GB Notification: Performance of SimCode: time 1.102e-06/5.46, allocations: 0 / 2.276 GB, free: 107.8 MB / 1.42 GB Notification: Performance of Templates: time 0.8945/6.355, allocations: 134.9 MB / 2.407 GB, free: 0.5653 GB / 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)