Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Files.Examples.Printer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.039/5.039, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002473/0.002472, allocations: 357.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.381/4.381, allocations: 410.7 MB / 1.113 GB, free: 5.883 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001912/0.001912, allocations: 185 kB / 1.226 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004871, allocations: 12 kB / 1.349 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.72/0.7205, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.934, allocations: 139.6 MB / 1.598 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003658/0.9344, allocations: 89.41 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.9513, allocations: 2.996 MB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9514, allocations: 1.031 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.161e-05/0.9514, allocations: 4 kB / 1.601 GB, free: 141.5 MB / 0.8542 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.001113/0.9526, allocations: 0.5308 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9526, allocations: 15.56 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.9527, allocations: 17.97 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.9531, allocations: 214.8 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.9531, allocations: 4 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.9532, allocations: 12 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.9537, allocations: 129.1 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.9538, allocations: 4.594 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.9538, allocations: 4 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9538, allocations: 5.25 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.9544, allocations: 83.33 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.9555, allocations: 478 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.9559, allocations: 86.69 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.9562, allocations: 57.19 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/0.9563, allocations: 7.922 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005443/0.9568, allocations: 145 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 3.697e-06/0.9569, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.001178/0.9581, allocations: 220.6 kB / 1.603 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.9581, allocations: 77.11 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.9583, allocations: 162.4 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.9584, allocations: 31.52 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.9585, allocations: 112.3 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.9586, allocations: 31.62 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.9586, allocations: 4.562 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.55e-05/0.9587, allocations: 327.8 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.959, allocations: 45.16 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.9594, allocations: 122.7 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003436/0.9597, allocations: 59.91 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9598, allocations: 0.8438 kB / 1.604 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007591/0.9605, allocations: 179.6 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.9606, allocations: 8 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.9606, allocations: 0 / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.9606, allocations: 4 kB / 1.604 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.9609, allocations: 27.88 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.9609, allocations: 4.672 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.9611, allocations: 21.34 kB / 1.604 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.9612, allocations: 11.94 kB / 1.604 GB, free: 138.1 MB / 0.8542 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.00017/0.9614, allocations: 139.1 kB / 1.604 GB, free: 138 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.9614, allocations: 17 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.759e-05/0.9615, allocations: 17.39 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.9615, allocations: 4 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9616, allocations: 6.266 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9616, allocations: 1.125 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.9629, allocations: 0.5476 MB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.9629, allocations: 0 / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.9631, allocations: 20.73 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.9631, allocations: 5.359 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.9631, allocations: 0 / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.9631, allocations: 4 kB / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.9632, allocations: 0 / 1.605 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000783/0.964, allocations: 341.5 kB / 1.605 GB, free: 136.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.964, allocations: 88.92 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.9641, allocations: 7.203 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004157/0.9645, allocations: 27.92 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.9646, allocations: 7.984 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.9647, allocations: 15.98 kB / 1.605 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001257/0.9648, allocations: 115.1 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9648, allocations: 4 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000761/0.9656, allocations: 52.02 kB / 1.605 GB, free: 136.6 MB / 0.8542 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.0006052/0.9662, allocations: 197.1 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007205/0.967, allocations: 123.6 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.967, allocations: 0.5625 kB / 1.605 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.9674, allocations: 61.97 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000769/0.9682, allocations: 17.3 kB / 1.606 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.969, allocations: 277.2 kB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.9692, allocations: 0.719 MB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001381/0.9694, allocations: 25.61 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.9695, allocations: 19.44 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.323e-06/0.9695, allocations: 3.938 kB / 1.607 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.009106/0.9786, allocations: 1.613 MB / 1.608 GB, free: 133.7 MB / 0.8542 GB