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.01047/0.01047, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001454/0.001454, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.776/1.776, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.6519/0.6519, allocations: 95.48 MB / 365.4 MB, free: 9.77 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.001782/0.001782, allocations: 66.09 kB / 0.5036 GB, free: 13.5 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1832, allocations: 69.09 MB / 0.571 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.003566/0.1868, allocations: 1.563 MB / 0.5726 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1883, allocations: 0.7255 MB / 0.5733 GB, free: 6.035 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.352e-05/0.1884, allocations: 3.938 kB / 0.5733 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1886, allocations: 7.875 kB / 0.5733 GB, free: 6.023 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-05/0.1886, allocations: 27.72 kB / 0.5733 GB, free: 5.996 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.000574/0.1892, allocations: 111.8 kB / 0.5734 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.1895, allocations: 139.6 kB / 0.5736 GB, free: 5.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.1897, allocations: 44.97 kB / 0.5736 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1898, allocations: 55.77 kB / 0.5737 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.19, allocations: 63.7 kB / 0.5737 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.19, allocations: 8 kB / 0.5737 GB, free: 5.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.1902, allocations: 51.95 kB / 0.5738 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.1902, allocations: 31.91 kB / 0.5738 GB, free: 5.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.548e-05/0.1903, allocations: 63.66 kB / 0.5739 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1906, allocations: 163.5 kB / 0.574 GB, free: 5.277 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.1907, allocations: 0 / 0.574 GB, free: 5.277 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1907, allocations: 3.938 kB / 0.574 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1907, allocations: 0 / 0.574 GB, free: 5.273 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.001146/0.1918, allocations: 0.5391 MB / 0.5745 GB, free: 4.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1919, allocations: 11.98 kB / 0.5746 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.192, allocations: 24.73 kB / 0.5746 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1923, allocations: 224 kB / 0.5748 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1923, allocations: 4.375 kB / 0.5748 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.1923, allocations: 8.375 kB / 0.5748 GB, free: 4.363 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.1927, allocations: 131.6 kB / 0.5749 GB, free: 4.223 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1927, allocations: 4 kB / 0.5749 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.1928, allocations: 3.984 kB / 0.5749 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.1928, allocations: 4 kB / 0.5749 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.193, allocations: 63.94 kB / 0.575 GB, free: 4.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.1938, allocations: 464.7 kB / 0.5755 GB, free: 3.641 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1941, allocations: 81.12 kB / 0.5755 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.1943, allocations: 41.81 kB / 0.5756 GB, free: 3.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.1943, allocations: 19.97 kB / 0.5756 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004142/0.1947, allocations: 137 kB / 0.5757 GB, free: 3.324 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.1948, allocations: 4 kB / 0.5757 GB, free: 3.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006201/0.1954, allocations: 185.4 kB / 0.5759 GB, free: 3.133 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.533e-05/0.1955, allocations: 81.09 kB / 0.576 GB, free: 3.035 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1956, allocations: 162.3 kB / 0.5761 GB, free: 2.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.1957, allocations: 33.7 kB / 0.5762 GB, free: 2.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/0.1958, allocations: 104.4 kB / 0.5763 GB, free: 2.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.1958, allocations: 36.03 kB / 0.5763 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.996e-05/0.1959, allocations: 37.64 kB / 0.5763 GB, free: 2.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1961, allocations: 330.8 kB / 0.5766 GB, free: 2.312 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.1962, allocations: 35.97 kB / 0.5767 GB, free: 2.277 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.1964, allocations: 129.5 kB / 0.5768 GB, free: 2.117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1967, allocations: 147.5 kB / 0.5769 GB, free: 1.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1967, allocations: 0 / 0.5769 GB, free: 1.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003569/0.1971, allocations: 161.3 kB / 0.5771 GB, free: 1.781 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1971, allocations: 4 kB / 0.5771 GB, free: 1.777 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1971, allocations: 4 kB / 0.5771 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1971, allocations: 4 kB / 0.5771 GB, free: 1.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1973, allocations: 11.98 kB / 0.5771 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1973, allocations: 7.938 kB / 0.5771 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.1974, allocations: 28.11 kB / 0.5772 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1974, allocations: 8 kB / 0.5772 GB, free: 1.715 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.0001292/0.1975, allocations: 134 kB / 0.5773 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1976, allocations: 15.89 kB / 0.5773 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.1976, allocations: 17.39 kB / 0.5773 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1977, allocations: 4 kB / 0.5773 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1977, allocations: 0 / 0.5773 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1977, allocations: 3.938 kB / 0.5773 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007518/0.1984, allocations: 0.5288 MB / 0.5778 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.1985, allocations: 7.984 kB / 0.5779 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.1985, allocations: 23.92 kB / 0.5779 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1986, allocations: 3.938 kB / 0.5779 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1986, allocations: 0 / 0.5779 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1986, allocations: 4 kB / 0.5779 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1986, allocations: 0 / 0.5779 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.199, allocations: 318.5 kB / 0.5782 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.1991, allocations: 85.02 kB / 0.5783 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1991, allocations: 11.92 kB / 0.5783 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.1993, allocations: 19.98 kB / 0.5783 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.1994, allocations: 7.984 kB / 0.5783 GB, free: 440 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.1994, allocations: 8 kB / 0.5783 GB, free: 432 kB / 446.1 MB Notification: Performance of sorting global known variables: time 8.557e-05/0.1995, allocations: 132.2 kB / 0.5784 GB, free: 300 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.563e-06/0.1995, allocations: 0 / 0.5784 GB, free: 300 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.1998, allocations: 43.94 kB / 0.5785 GB, free: 256 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.0004224/0.2003, allocations: 194.2 kB / 0.5787 GB, free: 88 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.2007, allocations: 104.1 kB / 0.5788 GB, free: 15.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2007, allocations: 7.938 kB / 0.5788 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.2009, allocations: 55.84 kB / 0.5788 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.2013, allocations: 31.83 kB / 0.5789 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.2018, allocations: 228.2 kB / 0.5791 GB, free: 15.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.2022, allocations: 0.7158 MB / 0.5798 GB, free: 14.89 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.2023, allocations: 16.55 kB / 0.5798 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2024, allocations: 19.42 kB / 0.5798 GB, free: 14.86 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2024, allocations: 0 / 0.5798 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Templates: time 0.005997/0.2084, allocations: 1.769 MB / 0.5815 GB, free: 13.11 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)