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.00429/0.004289, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001182/0.001182, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.824/3.824, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.042/4.042, allocations: 472.3 MB / 0.9024 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.0004789, allocations: 17 kB / 1.008 GB, free: 13.42 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2261, allocations: 98.72 MB / 1.105 GB, free: 10.75 MB / 0.573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7857/1.012, allocations: 126.2 MB / 1.228 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.012, allocations: 90.61 kB / 1.228 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01239/1.025, allocations: 2.971 MB / 1.231 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.295e-06/1.025, allocations: 0 / 1.231 GB, free: 52 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.412e-05/1.025, allocations: 3.828 kB / 1.231 GB, free: 52 kB / 0.6042 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.001037/1.026, allocations: 0.5325 MB / 1.231 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.026, allocations: 8.75 kB / 1.231 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.122e-05/1.026, allocations: 17.53 kB / 1.231 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/1.026, allocations: 220.5 kB / 1.232 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/1.026, allocations: 11.44 kB / 1.232 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/1.026, allocations: 12.86 kB / 1.232 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004613/1.027, allocations: 131.4 kB / 1.232 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.027, allocations: 0 / 1.232 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/1.027, allocations: 7.5 kB / 1.232 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.027, allocations: 5.406 kB / 1.232 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004447/1.027, allocations: 78.25 kB / 1.232 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000901/1.028, allocations: 472.6 kB / 1.232 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/1.029, allocations: 97.48 kB / 1.232 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/1.029, allocations: 52.12 kB / 1.232 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/1.029, allocations: 7.984 kB / 1.232 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/1.029, allocations: 143 kB / 1.233 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/1.029, allocations: 4 kB / 1.233 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.000977/1.03, allocations: 223 kB / 1.233 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/1.03, allocations: 81.11 kB / 1.233 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/1.031, allocations: 156.4 kB / 1.233 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/1.031, allocations: 33.27 kB / 1.233 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/1.031, allocations: 111.4 kB / 1.233 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.724e-05/1.031, allocations: 30.39 kB / 1.233 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/1.031, allocations: 0 / 1.233 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.031, allocations: 329.7 kB / 1.234 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/1.031, allocations: 41.47 kB / 1.234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/1.032, allocations: 130.6 kB / 1.234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/1.032, allocations: 55.66 kB / 1.234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.032, allocations: 0 / 1.234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006315/1.033, allocations: 179.2 kB / 1.234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.033, allocations: 8 kB / 1.234 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.033, allocations: 288 / 1.234 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/1.033, allocations: 11.95 kB / 1.234 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/1.033, allocations: 23.92 kB / 1.234 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.033, allocations: 3.984 kB / 1.234 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/1.033, allocations: 15.88 kB / 1.234 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/1.033, allocations: 8 kB / 1.234 GB, free: 12.84 MB / 0.6198 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.0001618/1.033, allocations: 137.5 kB / 1.234 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/1.033, allocations: 12.78 kB / 1.234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/1.033, allocations: 16.77 kB / 1.234 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/1.033, allocations: 7.953 kB / 1.234 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/1.033, allocations: 240 / 1.234 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.033, allocations: 0 / 1.234 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.035, allocations: 0.5567 MB / 1.235 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.035, allocations: 0 / 1.235 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/1.035, allocations: 19.94 kB / 1.235 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.035, allocations: 0 / 1.235 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/1.035, allocations: 8.812 kB / 1.235 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/1.035, allocations: 0 / 1.235 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.035, allocations: 2.812 kB / 1.235 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/1.035, allocations: 345.1 kB / 1.235 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.335e-05/1.036, allocations: 85.02 kB / 1.235 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/1.036, allocations: 6.109 kB / 1.235 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003023/1.036, allocations: 31.28 kB / 1.235 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/1.036, allocations: 11.98 kB / 1.235 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.256e-05/1.036, allocations: 11.19 kB / 1.235 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001246/1.036, allocations: 119.1 kB / 1.235 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/1.036, allocations: 0 / 1.235 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005121/1.037, allocations: 50.64 kB / 1.235 GB, free: 11.46 MB / 0.6198 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.0005454/1.037, allocations: 211.9 kB / 1.236 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005852/1.038, allocations: 117.5 kB / 1.236 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.038, allocations: 7.688 kB / 1.236 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002855/1.038, allocations: 69.55 kB / 1.236 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005221/1.039, allocations: 18.8 kB / 1.236 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/1.039, allocations: 267 kB / 1.236 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/1.04, allocations: 0.716 MB / 1.237 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001091/1.04, allocations: 24.53 kB / 1.237 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/1.04, allocations: 15.44 kB / 1.237 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/1.04, allocations: 0 / 1.237 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.00714/1.047, allocations: 1.62 MB / 1.238 GB, free: 8.5 MB / 0.6198 GB