Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009683, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009391/0.0009392, allocations: 190.6 kB / 16.25 MB, free: 6.621 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.139/1.139, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.444/1.444, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 62.22 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1651, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.002327/0.1675, allocations: 1.644 MB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.1684, allocations: 0.7296 MB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.1685, allocations: 0 / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.134e-05/0.1686, allocations: 7.922 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.1686, allocations: 15.81 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function ‘Buildings.Utilities.IO.Files.BaseClasses.printRealArray‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.169, allocations: 99.81 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.1691, allocations: 131.6 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1693, allocations: 37.09 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.1693, allocations: 59.72 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.1694, allocations: 63.73 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1694, allocations: 16 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.1695, allocations: 43.97 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.1696, allocations: 31.91 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.1696, allocations: 59.66 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.1698, allocations: 171.7 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.1698, allocations: 0 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1698, allocations: 0 / 0.7859 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1698, allocations: 3.938 kB / 0.7859 GB, free: 10.8 MB / 0.6075 GB 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.0006861/0.1705, allocations: 0.5468 MB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.739e-05/0.1705, allocations: 12.03 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.1706, allocations: 12.84 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1708, allocations: 219.9 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1708, allocations: 8.312 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.1708, allocations: 8.375 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.1711, allocations: 138.9 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1711, allocations: 0 / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1711, allocations: 4 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1711, allocations: 0 / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.1713, allocations: 67.88 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000508/0.1718, allocations: 468.7 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.172, allocations: 89.16 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.1721, allocations: 49.81 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.1722, allocations: 0 / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.1724, allocations: 145 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.1724, allocations: 0 / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.000472/0.1729, allocations: 193.3 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.173, allocations: 81.11 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1731, allocations: 159.4 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1731, allocations: 37.69 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.1732, allocations: 112.3 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.1732, allocations: 27.64 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.1733, allocations: 33.81 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.826e-05/0.1733, allocations: 334.7 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.1735, allocations: 31.97 kB / 0.7885 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1736, allocations: 118.3 kB / 0.7887 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.1739, allocations: 147.5 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1739, allocations: 4 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003011/0.1742, allocations: 161.6 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.1742, allocations: 8 kB / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1742, allocations: 288 / 0.789 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1743, allocations: 8 kB / 0.789 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.124e-05/0.1744, allocations: 31.84 kB / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1744, allocations: 0 / 0.789 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.784e-05/0.1745, allocations: 23.92 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1745, allocations: 8 kB / 0.789 GB, free: 7.23 MB / 0.6075 GB 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 8.419e-05/0.1746, allocations: 129.8 kB / 0.7892 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1746, allocations: 11.91 kB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.1746, allocations: 21.39 kB / 0.7892 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1746, allocations: 4 kB / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1747, allocations: 0 / 0.7892 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1747, allocations: 7.938 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.1752, allocations: 0.5326 MB / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1753, allocations: 0 / 0.7897 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.636e-05/0.1753, allocations: 15.98 kB / 0.7897 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1753, allocations: 3.938 kB / 0.7897 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1753, allocations: 4 kB / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1754, allocations: 0 / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1754, allocations: 0 / 0.7897 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.1757, allocations: 330.4 kB / 0.7901 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.1758, allocations: 89.2 kB / 0.7901 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1758, allocations: 7.938 kB / 0.7901 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.176, allocations: 19.97 kB / 0.7902 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.176, allocations: 11.98 kB / 0.7902 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.176, allocations: 7.984 kB / 0.7902 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.156e-05/0.1761, allocations: 123.2 kB / 0.7903 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1761, allocations: 0 / 0.7903 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002999/0.1764, allocations: 43.98 kB / 0.7903 GB, free: 5.777 MB / 0.6075 GB 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.0003335/0.1768, allocations: 192.5 kB / 0.7905 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.1771, allocations: 119.7 kB / 0.7906 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1771, allocations: 0 / 0.7906 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.1773, allocations: 64.38 kB / 0.7907 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1776, allocations: 20 kB / 0.7907 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.178, allocations: 275.6 kB / 0.791 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1782, allocations: 0.7119 MB / 0.7917 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.985e-05/0.1783, allocations: 24.53 kB / 0.7917 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.1783, allocations: 15.44 kB / 0.7917 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1783, allocations: 0 / 0.7917 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.003857/0.1822, allocations: 1.712 MB / 0.7934 GB, free: 2.648 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1)