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.005793/0.005793, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001221/0.001221, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.659/1.659, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.6536/0.6536, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.001515/0.001515, allocations: 78.09 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1603, allocations: 69.09 MB / 0.5711 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004257/0.1646, allocations: 2.962 MB / 0.574 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1661, allocations: 0.8305 MB / 0.5748 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.1663, allocations: 7.938 kB / 0.5748 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1666, allocations: 59.38 kB / 0.5749 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.167, allocations: 142.8 kB / 0.575 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.1674, allocations: 139.8 kB / 0.5752 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.1679, allocations: 0.5106 MB / 0.5757 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003819/0.1683, allocations: 214.2 kB / 0.5759 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.1685, allocations: 187.3 kB / 0.576 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.1688, allocations: 222.9 kB / 0.5763 GB, free: 2.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.1689, allocations: 40 kB / 0.5763 GB, free: 2.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.995e-05/0.1689, allocations: 36 kB / 0.5763 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1691, allocations: 95.61 kB / 0.5764 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.1693, allocations: 214.9 kB / 0.5766 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.1697, allocations: 450.2 kB / 0.5771 GB, free: 2.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.1697, allocations: 8 kB / 0.5771 GB, free: 2.152 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1697, allocations: 0 / 0.5771 GB, free: 2.152 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1698, allocations: 0 / 0.5771 GB, free: 2.152 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.001252/0.171, allocations: 0.7367 MB / 0.5778 GB, free: 1.367 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1711, allocations: 11.98 kB / 0.5778 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.1712, allocations: 48.38 kB / 0.5778 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.1716, allocations: 327.2 kB / 0.5781 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1716, allocations: 25.38 kB / 0.5782 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.293e-05/0.1717, allocations: 40.3 kB / 0.5782 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.1723, allocations: 389.2 kB / 0.5786 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1723, allocations: 0 / 0.5786 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.999e-05/0.1724, allocations: 12 kB / 0.5786 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.1724, allocations: 8 kB / 0.5786 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.1729, allocations: 270.4 kB / 0.5789 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1747, allocations: 1.448 MB / 0.5803 GB, free: 14.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.1752, allocations: 279.5 kB / 0.5805 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.1756, allocations: 173.2 kB / 0.5807 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.1757, allocations: 8.234 kB / 0.5807 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1757, allocations: 42.67 kB / 0.5808 GB, free: 14.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.1757, allocations: 0 / 0.5808 GB, free: 14.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=27): time 0.002966/0.1787, allocations: 0.875 MB / 0.5816 GB, free: 13.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.1787, allocations: 55.41 kB / 0.5817 GB, free: 13.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.1792, allocations: 365.7 kB / 0.582 GB, free: 12.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1792, allocations: 33.7 kB / 0.582 GB, free: 12.79 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.1794, allocations: 212.2 kB / 0.5822 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.1795, allocations: 90.66 kB / 0.5823 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1796, allocations: 53.98 kB / 0.5824 GB, free: 12.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1798, allocations: 346.8 kB / 0.5827 GB, free: 12.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1801, allocations: 97.94 kB / 0.5828 GB, free: 11.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.1804, allocations: 167.9 kB / 0.583 GB, free: 11.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.1809, allocations: 261 kB / 0.5832 GB, free: 11.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1809, allocations: 0 / 0.5832 GB, free: 11.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001133/0.182, allocations: 493.4 kB / 0.5837 GB, free: 11.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.182, allocations: 4 kB / 0.5837 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1821, allocations: 4 kB / 0.5837 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/0.1829, allocations: 184.8 kB / 0.5839 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1831, allocations: 39.91 kB / 0.5839 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.1869, allocations: 2.652 MB / 0.5865 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.1872, allocations: 43.66 kB / 0.5865 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.1873, allocations: 12 kB / 0.5866 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003061/0.1876, allocations: 208.3 kB / 0.5867 GB, free: 7.758 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002488/0.1878, allocations: 159.3 kB / 0.5869 GB, free: 7.578 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004333/0.1883, allocations: 257.3 kB / 0.5871 GB, free: 7.309 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.743e-06/0.1883, allocations: 0 / 0.5871 GB, free: 7.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001124/0.1894, allocations: 489.4 kB / 0.5876 GB, free: 6.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1895, allocations: 4 kB / 0.5876 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-06/0.1895, allocations: 3.938 kB / 0.5876 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/0.1901, allocations: 196.8 kB / 0.5878 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1903, allocations: 35.92 kB / 0.5878 GB, free: 6.582 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.1933, allocations: 2.566 MB / 0.5903 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.1937, allocations: 31.73 kB / 0.5904 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.1937, allocations: 12 kB / 0.5904 GB, free: 3.832 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.0001541/0.1939, allocations: 208.1 kB / 0.5906 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.1939, allocations: 35.53 kB / 0.5906 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.871e-05/0.194, allocations: 52.16 kB / 0.5907 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1941, allocations: 4 kB / 0.5907 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.1941, allocations: 0 / 0.5907 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1941, allocations: 0 / 0.5907 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005199/0.1946, allocations: 413.6 kB / 0.5911 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1946, allocations: 0 / 0.5911 GB, free: 3.078 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.1947, allocations: 23.98 kB / 0.5911 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006129/0.1954, allocations: 172.7 kB / 0.5913 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1954, allocations: 3.938 kB / 0.5913 GB, free: 2.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.1983, allocations: 2.582 MB / 0.5938 GB, free: 160 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1984, allocations: 4.031 kB / 0.5938 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.1994, allocations: 0.5356 MB / 0.5943 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1996, allocations: 128.5 kB / 0.5944 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.1996, allocations: 11.94 kB / 0.5944 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1998, allocations: 23.89 kB / 0.5945 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/0.1999, allocations: 19.97 kB / 0.5945 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2, allocations: 11.94 kB / 0.5945 GB, free: 15.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.2002, allocations: 259.2 kB / 0.5947 GB, free: 15.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2002, allocations: 0 / 0.5947 GB, free: 15.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007058/0.201, allocations: 247.7 kB / 0.595 GB, free: 14.89 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.0001495/0.2011, allocations: 107.2 kB / 0.5951 GB, free: 14.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.2026, allocations: 0.7788 MB / 0.5958 GB, free: 13.97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2027, allocations: 3.938 kB / 0.5958 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/0.2032, allocations: 322.4 kB / 0.5962 GB, free: 13.64 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005255/0.2037, allocations: 100.2 kB / 0.5962 GB, free: 13.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.205, allocations: 0.656 MB / 0.5969 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.2054, allocations: 0.8153 MB / 0.5977 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.2055, allocations: 35.27 kB / 0.5977 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.2056, allocations: 23.44 kB / 0.5977 GB, free: 11.96 MB / 478.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2056, allocations: 0 / 0.5977 GB, free: 11.96 MB / 478.1 MB Notification: Performance of Templates: time 0.01546/0.2211, allocations: 8.739 MB / 0.6063 GB, free: 3.312 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)