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.01048/0.01049, allocations: 221.1 kB / 15.17 MB, free: 5.996 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.001116/0.001116, allocations: 179 kB / 16.06 MB, free: 5.867 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.863/3.863, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.297/4.297, allocations: 472.3 MB / 0.9018 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.0005103, allocations: 8 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.663, allocations: 98.71 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001721/0.6648, allocations: 1.273 MB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.6662, allocations: 0.6788 MB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.6663, allocations: 3.438 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.963e-05/0.6664, allocations: 8.656 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.226e-05/0.6665, allocations: 18.7 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.667, allocations: 87.95 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.6672, allocations: 122.5 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.6673, allocations: 30.73 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.6674, allocations: 46.66 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.375e-05/0.6675, allocations: 50.03 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.6675, allocations: 4.188 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.6677, allocations: 45.91 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.842e-05/0.6677, allocations: 21.47 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.6678, allocations: 49.14 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.668, allocations: 106 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.284e-06/0.668, allocations: 3.938 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.965e-06/0.668, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.009e-06/0.668, allocations: 0 / 1.106 GB, free: 211.3 MB / 0.7292 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.0007437/0.6688, allocations: 0.533 MB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6688, allocations: 9.531 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.6689, allocations: 25.02 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.6691, allocations: 216.8 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6691, allocations: 4.031 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.6692, allocations: 17.94 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.6696, allocations: 139.1 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6696, allocations: 1.406 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.6696, allocations: 0.8438 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-06/0.6696, allocations: 2.281 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003093/0.6699, allocations: 82.69 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.6706, allocations: 474.5 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.6709, allocations: 91.02 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.6711, allocations: 59.34 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.6711, allocations: 7 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.6715, allocations: 152.2 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 3.221e-06/0.6715, allocations: 1.156 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0007953/0.6723, allocations: 209.6 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.6724, allocations: 84.3 kB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.6726, allocations: 160.3 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.6726, allocations: 32.77 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.6727, allocations: 113.2 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.6727, allocations: 26.22 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.757e-06/0.6727, allocations: 1.031 kB / 1.109 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.305e-05/0.6728, allocations: 327 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.673, allocations: 42.34 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6732, allocations: 127.4 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.6734, allocations: 58.09 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.916e-06/0.6734, allocations: 1.156 kB / 1.109 GB, free: 209 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004924/0.6739, allocations: 181.9 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.674, allocations: 13.31 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.272e-06/0.674, allocations: 1.906 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.674, allocations: 10.53 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.6742, allocations: 22.94 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.6742, allocations: 3.344 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.6744, allocations: 22.52 kB / 1.11 GB, free: 209 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.6744, allocations: 9.906 kB / 1.11 GB, free: 209 MB / 0.7292 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.0001366/0.6745, allocations: 134.9 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.6746, allocations: 17.03 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.605e-05/0.6747, allocations: 24.28 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6747, allocations: 4.969 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6747, allocations: 1.531 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-06/0.6747, allocations: 2.391 kB / 1.11 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009229/0.6756, allocations: 0.5472 MB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-06/0.6757, allocations: 1.156 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.6758, allocations: 14.52 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.089e-06/0.6758, allocations: 1.5 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.6758, allocations: 5.344 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.109e-06/0.6758, allocations: 1.188 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6758, allocations: 1.031 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005012/0.6764, allocations: 336.3 kB / 1.111 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.6764, allocations: 96.27 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.6765, allocations: 7.781 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.6767, allocations: 19.73 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.6768, allocations: 14.09 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/0.6768, allocations: 7.703 kB / 1.111 GB, free: 208 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.458e-05/0.6769, allocations: 128.7 kB / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.4e-07/0.677, allocations: 0 / 1.111 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005016/0.6775, allocations: 43 kB / 1.111 GB, free: 207.9 MB / 0.7292 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.0005098/0.678, allocations: 206.9 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.6785, allocations: 120.1 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.605e-06/0.6785, allocations: 3.25 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.6787, allocations: 66.86 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.6792, allocations: 17.72 kB / 1.111 GB, free: 207.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.6798, allocations: 267.7 kB / 1.112 GB, free: 207.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.68, allocations: 0.7202 MB / 1.112 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.6801, allocations: 18.22 kB / 1.112 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.6802, allocations: 20.72 kB / 1.112 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.397e-06/0.6802, allocations: 0 / 1.112 GB, free: 206.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.006487/0.6867, allocations: 1.581 MB / 1.114 GB, free: 206.8 MB / 0.7292 GB