Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008213/0.008213, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001424/0.001424, allocations: 194.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6877/0.6877, allocations: 95.48 MB / 365.4 MB, free: 9.766 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 68.38 kB / 0.5036 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1654, allocations: 69.09 MB / 0.5711 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004543/0.17, allocations: 2.97 MB / 0.574 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.1717, allocations: 0.8265 MB / 0.5748 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.1719, allocations: 8 kB / 0.5748 GB, free: 4.559 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.1722, allocations: 51.33 kB / 0.5749 GB, free: 4.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1725, allocations: 138.8 kB / 0.575 GB, free: 4.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.1729, allocations: 155.8 kB / 0.5752 GB, free: 4.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.1735, allocations: 0.5067 MB / 0.5757 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.1738, allocations: 210.2 kB / 0.5759 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1741, allocations: 187.3 kB / 0.576 GB, free: 3.309 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.1744, allocations: 222.9 kB / 0.5762 GB, free: 3.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.1745, allocations: 36 kB / 0.5763 GB, free: 3.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.1745, allocations: 39.94 kB / 0.5763 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.1747, allocations: 99.59 kB / 0.5764 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.1749, allocations: 218.9 kB / 0.5766 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.1756, allocations: 457.8 kB / 0.5771 GB, free: 2.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1756, allocations: 0 / 0.5771 GB, free: 2.254 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.1756, allocations: 4 kB / 0.5771 GB, free: 2.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.13e-05/0.1756, allocations: 0 / 0.5771 GB, free: 2.25 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001705/0.1774, allocations: 0.7441 MB / 0.5778 GB, free: 1.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.116e-05/0.1774, allocations: 11.98 kB / 0.5778 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1776, allocations: 48.66 kB / 0.5778 GB, free: 1.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.1781, allocations: 331.5 kB / 0.5782 GB, free: 1.039 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.1782, allocations: 29.38 kB / 0.5782 GB, free: 1.012 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.1782, allocations: 28.38 kB / 0.5782 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.179, allocations: 385.2 kB / 0.5786 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1791, allocations: 0 / 0.5786 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.1791, allocations: 16 kB / 0.5786 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.1791, allocations: 8 kB / 0.5786 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005525/0.1797, allocations: 266.4 kB / 0.5789 GB, free: 312 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.1817, allocations: 1.448 MB / 0.5803 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.1823, allocations: 295.4 kB / 0.5806 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.1827, allocations: 169.2 kB / 0.5807 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.1828, allocations: 12.2 kB / 0.5807 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1828, allocations: 46.67 kB / 0.5808 GB, free: 14.24 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 1.794e-06/0.1828, allocations: 0 / 0.5808 GB, free: 14.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.00298/0.1858, allocations: 0.8714 MB / 0.5816 GB, free: 13.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1859, allocations: 59.41 kB / 0.5817 GB, free: 13.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.1863, allocations: 361.6 kB / 0.582 GB, free: 12.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.1863, allocations: 33.7 kB / 0.5821 GB, free: 12.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1865, allocations: 212.6 kB / 0.5823 GB, free: 12.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.1866, allocations: 99.17 kB / 0.5824 GB, free: 12.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1867, allocations: 49.98 kB / 0.5824 GB, free: 12.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.1869, allocations: 346.8 kB / 0.5827 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.1871, allocations: 113.9 kB / 0.5828 GB, free: 12.04 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.1874, allocations: 151.9 kB / 0.583 GB, free: 11.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004986/0.1879, allocations: 265 kB / 0.5832 GB, free: 11.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1879, allocations: 0 / 0.5832 GB, free: 11.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001158/0.1891, allocations: 0.4898 MB / 0.5837 GB, free: 11.09 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.1891, allocations: 8 kB / 0.5837 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1891, allocations: 0 / 0.5837 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007927/0.1899, allocations: 184.8 kB / 0.5839 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1901, allocations: 31.98 kB / 0.5839 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003593/0.1937, allocations: 2.653 MB / 0.5865 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1941, allocations: 43.7 kB / 0.5866 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.1941, allocations: 8 kB / 0.5866 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003497/0.1945, allocations: 216.2 kB / 0.5868 GB, free: 7.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002583/0.1947, allocations: 159.4 kB / 0.5869 GB, free: 7.645 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004469/0.1952, allocations: 253.3 kB / 0.5872 GB, free: 7.379 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.1952, allocations: 0 / 0.5872 GB, free: 7.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001105/0.1963, allocations: 497.5 kB / 0.5877 GB, free: 6.883 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1963, allocations: 7.984 kB / 0.5877 GB, free: 6.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1963, allocations: 4 kB / 0.5877 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.197, allocations: 184.1 kB / 0.5878 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1971, allocations: 39.91 kB / 0.5879 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.2002, allocations: 2.578 MB / 0.5904 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.2005, allocations: 35.83 kB / 0.5904 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.2006, allocations: 8 kB / 0.5904 GB, free: 3.891 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.2007, allocations: 200.2 kB / 0.5906 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.579e-05/0.2008, allocations: 39.77 kB / 0.5907 GB, free: 3.648 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.2009, allocations: 48.16 kB / 0.5907 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2009, allocations: 4 kB / 0.5907 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2009, allocations: 7.969 kB / 0.5907 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2009, allocations: 0 / 0.5907 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.2014, allocations: 413.6 kB / 0.5911 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2015, allocations: 3.984 kB / 0.5911 GB, free: 3.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.2016, allocations: 23.98 kB / 0.5911 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006198/0.2022, allocations: 172.6 kB / 0.5913 GB, free: 2.938 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.2022, allocations: 11.92 kB / 0.5913 GB, free: 2.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/0.2055, allocations: 2.578 MB / 0.5938 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2055, allocations: 0 / 0.5938 GB, free: 212 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2066, allocations: 0.532 MB / 0.5944 GB, free: 15.65 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.2067, allocations: 132.8 kB / 0.5945 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.2068, allocations: 11.92 kB / 0.5945 GB, free: 15.49 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.207, allocations: 27.88 kB / 0.5945 GB, free: 15.46 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.634e-05/0.2071, allocations: 27.81 kB / 0.5945 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.2071, allocations: 12 kB / 0.5946 GB, free: 15.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002847/0.2074, allocations: 263.2 kB / 0.5948 GB, free: 15.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2074, allocations: 0 / 0.5948 GB, free: 15.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007285/0.2082, allocations: 239.8 kB / 0.595 GB, free: 14.93 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001699/0.2083, allocations: 103.2 kB / 0.5951 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.2099, allocations: 0.7788 MB / 0.5959 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2099, allocations: 3.938 kB / 0.5959 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005133/0.2104, allocations: 326.4 kB / 0.5962 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.211, allocations: 101.4 kB / 0.5963 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.2123, allocations: 0.6627 MB / 0.597 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.2127, allocations: 0.8114 MB / 0.5977 GB, free: 12.06 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.2129, allocations: 39.27 kB / 0.5978 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.213, allocations: 19.44 kB / 0.5978 GB, free: 12 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.213, allocations: 4 kB / 0.5978 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Templates: time 0.01479/0.2278, allocations: 8.753 MB / 0.6064 GB, free: 3.336 MB / 478.1 MB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1)