Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.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.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01048/0.01048, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001804/0.001804, allocations: 193 kB / 16.67 MB, free: 5.93 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.6705/0.6705, allocations: 95.48 MB / 365.4 MB, free: 9.773 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.001463/0.001463, allocations: 70.09 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1802, allocations: 69.09 MB / 0.5711 GB, free: 8.355 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.003594/0.1839, allocations: 1.566 MB / 0.5726 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1855, allocations: 0.7177 MB / 0.5733 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.1856, allocations: 4 kB / 0.5733 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.1857, allocations: 15.8 kB / 0.5733 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-05/0.1858, allocations: 19.8 kB / 0.5733 GB, free: 6.008 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Utilities/Reports/printRealArray.mo:2:1-45:19:writable] Warning: Pure function 'Buildings.Utilities.Reports.printRealArray' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1863, allocations: 123.7 kB / 0.5734 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1865, allocations: 135.6 kB / 0.5736 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.1867, allocations: 36.98 kB / 0.5736 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1868, allocations: 63.77 kB / 0.5737 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1869, allocations: 63.69 kB / 0.5737 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.187, allocations: 8 kB / 0.5737 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1871, allocations: 47.97 kB / 0.5738 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.1872, allocations: 35.89 kB / 0.5738 GB, free: 5.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.1873, allocations: 51.67 kB / 0.5739 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.1875, allocations: 167.5 kB / 0.574 GB, free: 5.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.1876, allocations: 0 / 0.574 GB, free: 5.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.1876, allocations: 4 kB / 0.574 GB, free: 5.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1876, allocations: 3.938 kB / 0.574 GB, free: 5.281 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001047/0.1886, allocations: 0.539 MB / 0.5746 GB, free: 4.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1887, allocations: 11.98 kB / 0.5746 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.1888, allocations: 20.73 kB / 0.5746 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.189, allocations: 220 kB / 0.5748 GB, free: 4.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.189, allocations: 4.375 kB / 0.5748 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1891, allocations: 16.31 kB / 0.5748 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.1894, allocations: 127.7 kB / 0.5749 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1894, allocations: 3.938 kB / 0.5749 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.1894, allocations: 7.984 kB / 0.5749 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1895, allocations: 0 / 0.5749 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.1897, allocations: 67.94 kB / 0.575 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.1904, allocations: 460.7 kB / 0.5755 GB, free: 3.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1906, allocations: 85.19 kB / 0.5755 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1907, allocations: 53.73 kB / 0.5756 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1908, allocations: 0 / 0.5756 GB, free: 3.492 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.1912, allocations: 145 kB / 0.5757 GB, free: 3.332 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.1912, allocations: 0 / 0.5757 GB, free: 3.332 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005582/0.1917, allocations: 189.4 kB / 0.5759 GB, free: 3.141 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/0.1918, allocations: 89.09 kB / 0.576 GB, free: 3.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1919, allocations: 158.3 kB / 0.5761 GB, free: 2.871 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.192, allocations: 33.7 kB / 0.5762 GB, free: 2.832 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.192, allocations: 104.4 kB / 0.5763 GB, free: 2.727 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.1921, allocations: 35.91 kB / 0.5763 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.1922, allocations: 37.7 kB / 0.5763 GB, free: 2.648 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1923, allocations: 330.9 kB / 0.5767 GB, free: 2.316 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1924, allocations: 39.91 kB / 0.5767 GB, free: 2.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1926, allocations: 118.1 kB / 0.5768 GB, free: 2.125 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.1929, allocations: 151.6 kB / 0.577 GB, free: 1.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.193, allocations: 0 / 0.577 GB, free: 1.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003472/0.1933, allocations: 169.5 kB / 0.5771 GB, free: 1.777 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1933, allocations: 4 kB / 0.5771 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.1933, allocations: 4 kB / 0.5771 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.1934, allocations: 0 / 0.5771 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1935, allocations: 15.98 kB / 0.5771 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1935, allocations: 4 kB / 0.5771 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/0.1936, allocations: 19.83 kB / 0.5772 GB, free: 1.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1936, allocations: 8 kB / 0.5772 GB, free: 1.723 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1938, allocations: 141.7 kB / 0.5773 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.1938, allocations: 11.91 kB / 0.5773 GB, free: 1.562 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.1939, allocations: 21.39 kB / 0.5773 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.1939, allocations: 4 kB / 0.5773 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.1939, allocations: 0 / 0.5773 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1939, allocations: 3.938 kB / 0.5773 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007038/0.1946, allocations: 0.5327 MB / 0.5779 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1946, allocations: 0 / 0.5779 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.1947, allocations: 11.98 kB / 0.5779 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1947, allocations: 7.938 kB / 0.5779 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1947, allocations: 0 / 0.5779 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1947, allocations: 0 / 0.5779 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1947, allocations: 3.938 kB / 0.5779 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.1952, allocations: 322.5 kB / 0.5782 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.1953, allocations: 85.02 kB / 0.5783 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1953, allocations: 11.92 kB / 0.5783 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.1955, allocations: 15.98 kB / 0.5783 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.1955, allocations: 11.98 kB / 0.5783 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.1956, allocations: 8 kB / 0.5783 GB, free: 440 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001038/0.1957, allocations: 132.2 kB / 0.5784 GB, free: 308 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1957, allocations: 0 / 0.5784 GB, free: 308 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003586/0.1961, allocations: 40 kB / 0.5785 GB, free: 268 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005381/0.1966, allocations: 208 kB / 0.5787 GB, free: 92 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004091/0.197, allocations: 103.9 kB / 0.5788 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1971, allocations: 0.5625 kB / 0.5788 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1972, allocations: 55.95 kB / 0.5788 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1976, allocations: 31.77 kB / 0.5789 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.1983, allocations: 231.8 kB / 0.5791 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.1988, allocations: 0.7198 MB / 0.5798 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.074e-05/0.1989, allocations: 20.53 kB / 0.5798 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.199, allocations: 19.42 kB / 0.5798 GB, free: 14.86 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.199, allocations: 0 / 0.5798 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Templates: time 0.006011/0.205, allocations: 1.77 MB / 0.5816 GB, free: 13.1 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.makefile (rm -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.sim & ./Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe 2>&1)