Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.Printer.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01481/0.01481, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001739/0.001739, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.963/1.963, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.434/2.434, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005024, allocations: 15.98 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5426, allocations: 98.71 MB / 0.6833 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1867/0.7294, allocations: 126.2 MB / 0.8066 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.7297, allocations: 79.95 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01292/0.7426, allocations: 2.953 MB / 0.8096 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.323e-06/0.7427, allocations: 3.938 kB / 0.8096 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.7427, allocations: 4 kB / 0.8096 GB, free: 12.86 MB / 0.6355 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.000853/0.7436, allocations: 0.5313 MB / 0.8101 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.7436, allocations: 12.03 kB / 0.8101 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.7437, allocations: 19.8 kB / 0.8101 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.744, allocations: 216.3 kB / 0.8103 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.744, allocations: 8 kB / 0.8104 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.7441, allocations: 11.98 kB / 0.8104 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.7445, allocations: 139.2 kB / 0.8105 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.85e-06/0.7445, allocations: 0 / 0.8105 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.7445, allocations: 4 kB / 0.8105 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.61e-06/0.7446, allocations: 7.938 kB / 0.8105 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.7449, allocations: 79.94 kB / 0.8106 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008557/0.7458, allocations: 476.7 kB / 0.811 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.746, allocations: 81.19 kB / 0.8111 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.7461, allocations: 12.05 kB / 0.8111 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003738/0.7465, allocations: 145 kB / 0.8113 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.602e-06/0.7465, allocations: 0 / 0.8113 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.0007585/0.7473, allocations: 213.2 kB / 0.8115 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.7474, allocations: 89.09 kB / 0.8116 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.7475, allocations: 139.5 kB / 0.8117 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.7476, allocations: 33.7 kB / 0.8117 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.184e-05/0.7477, allocations: 108.3 kB / 0.8118 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.7478, allocations: 35.62 kB / 0.8119 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-06/0.7478, allocations: 0 / 0.8119 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.748, allocations: 326.8 kB / 0.8122 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.7481, allocations: 39.97 kB / 0.8122 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.7484, allocations: 128.6 kB / 0.8123 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.7486, allocations: 63.91 kB / 0.8124 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-06/0.7487, allocations: 0 / 0.8124 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005304/0.7492, allocations: 185.2 kB / 0.8126 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7492, allocations: 4 kB / 0.8126 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-06/0.7492, allocations: 4 kB / 0.8126 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.7493, allocations: 4 kB / 0.8126 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.7494, allocations: 32.14 kB / 0.8126 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.7495, allocations: 4 kB / 0.8126 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.7496, allocations: 15.98 kB / 0.8126 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.7497, allocations: 8 kB / 0.8126 GB, free: 9.441 MB / 0.6355 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 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001776/0.7498, allocations: 129.8 kB / 0.8128 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.7499, allocations: 15.81 kB / 0.8128 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.16e-05/0.75, allocations: 25.39 kB / 0.8128 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-06/0.75, allocations: 0 / 0.8128 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.75, allocations: 7.953 kB / 0.8128 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.75, allocations: 0 / 0.8128 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.7511, allocations: 0.545 MB / 0.8133 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-06/0.7511, allocations: 48 / 0.8133 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.7512, allocations: 19.97 kB / 0.8134 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.081e-06/0.7512, allocations: 7.953 kB / 0.8134 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.7513, allocations: 4 kB / 0.8134 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.7513, allocations: 3.984 kB / 0.8134 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.178e-06/0.7513, allocations: 4 kB / 0.8134 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.7519, allocations: 348.2 kB / 0.8137 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.7519, allocations: 88.97 kB / 0.8138 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.752, allocations: 4 kB / 0.8138 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.7522, allocations: 19.97 kB / 0.8138 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.7523, allocations: 19.98 kB / 0.8138 GB, free: 8.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.7524, allocations: 8 kB / 0.8138 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001261/0.7525, allocations: 121.8 kB / 0.814 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.08e-07/0.7525, allocations: 0 / 0.814 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005141/0.753, allocations: 51.83 kB / 0.814 GB, free: 7.926 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005572/0.7536, allocations: 215.1 kB / 0.8142 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.7541, allocations: 119.8 kB / 0.8143 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.114e-06/0.7541, allocations: 4 kB / 0.8143 GB, free: 7.625 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.7544, allocations: 64.45 kB / 0.8144 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.7547, allocations: 16.22 kB / 0.8144 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.7553, allocations: 262.9 kB / 0.8147 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.7558, allocations: 0.7238 MB / 0.8154 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.716e-05/0.7559, allocations: 24.53 kB / 0.8154 GB, free: 6.488 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.7559, allocations: 15.44 kB / 0.8154 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of SimCode: time 1.518e-06/0.7559, allocations: 0 / 0.8154 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of Templates: time 0.006421/0.7624, allocations: 1.614 MB / 0.817 GB, free: 4.879 MB / 0.6355 GB