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.008748/0.008748, allocations: 106.6 kB / 15.06 MB, free: 6.039 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.001123/0.001123, allocations: 181.7 kB / 15.95 MB, free: 5.957 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.803/1.803, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.304/2.304, allocations: 236.2 MB / 492.6 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004738, allocations: 16 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.6103, allocations: 98.72 MB / 0.6833 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001625/0.612, allocations: 1.258 MB / 0.6846 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.6133, allocations: 0.6854 MB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.6134, allocations: 1.344 kB / 0.6852 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.079e-05/0.6135, allocations: 10.34 kB / 0.6852 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.6135, allocations: 20.73 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.614, allocations: 88.88 kB / 0.6853 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.6142, allocations: 93.8 kB / 0.6854 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.6143, allocations: 24.7 kB / 0.6855 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.617e-05/0.6144, allocations: 41.97 kB / 0.6855 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.6145, allocations: 53.5 kB / 0.6856 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.6146, allocations: 5.781 kB / 0.6856 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.6147, allocations: 37.42 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.6147, allocations: 34.34 kB / 0.6856 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.6148, allocations: 42.2 kB / 0.6857 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.615, allocations: 105.7 kB / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.803e-06/0.615, allocations: 0 / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.618e-06/0.615, allocations: 0 / 0.6858 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.857e-06/0.6151, allocations: 0 / 0.6858 GB, free: 15.11 MB / 0.5261 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.0007311/0.6158, allocations: 0.5376 MB / 0.6863 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.6158, allocations: 10 kB / 0.6863 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.6159, allocations: 24.52 kB / 0.6863 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.6161, allocations: 205 kB / 0.6865 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.6162, allocations: 12.62 kB / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.6162, allocations: 6.25 kB / 0.6865 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.6166, allocations: 134.5 kB / 0.6867 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.6166, allocations: 0 / 0.6867 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.6166, allocations: 14.08 kB / 0.6867 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6166, allocations: 6.312 kB / 0.6867 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.617, allocations: 77.75 kB / 0.6868 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.6181, allocations: 472.4 kB / 0.6872 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.6185, allocations: 98.69 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.6185, allocations: 2.703 kB / 0.6873 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.6189, allocations: 151.6 kB / 0.6875 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.796e-06/0.6189, allocations: 0 / 0.6875 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0007326/0.6197, allocations: 214 kB / 0.6877 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.6197, allocations: 81.2 kB / 0.6877 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.6199, allocations: 160.1 kB / 0.6879 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.6199, allocations: 34.06 kB / 0.6879 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.62, allocations: 114.6 kB / 0.688 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.6201, allocations: 26.8 kB / 0.6881 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-06/0.6201, allocations: 4 kB / 0.6881 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.6201, allocations: 323.6 kB / 0.6884 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.6203, allocations: 47.02 kB / 0.6884 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.6206, allocations: 128.8 kB / 0.6885 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.6208, allocations: 57.31 kB / 0.6886 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.113e-06/0.6208, allocations: 3.938 kB / 0.6886 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005004/0.6213, allocations: 182 kB / 0.6888 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6213, allocations: 10.88 kB / 0.6888 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.346e-06/0.6214, allocations: 2.062 kB / 0.6888 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6214, allocations: 2.781 kB / 0.6888 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6215, allocations: 22.83 kB / 0.6888 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.6215, allocations: 4.359 kB / 0.6888 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.6217, allocations: 26.73 kB / 0.6888 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.6217, allocations: 5.031 kB / 0.6888 GB, free: 12.7 MB / 0.5261 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.0001197/0.6218, allocations: 137.2 kB / 0.689 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.6219, allocations: 15.41 kB / 0.689 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.759e-05/0.622, allocations: 19.39 kB / 0.689 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.026e-06/0.622, allocations: 6.344 kB / 0.689 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.622, allocations: 5 kB / 0.689 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.31e-06/0.622, allocations: 1.172 kB / 0.689 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.6229, allocations: 0.5484 MB / 0.6895 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.987e-06/0.6229, allocations: 1.188 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.623, allocations: 17.8 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.6231, allocations: 288 / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.6231, allocations: 1.281 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.522e-06/0.6231, allocations: 2.891 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.029e-06/0.6231, allocations: 1.375 kB / 0.6896 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.6236, allocations: 359.9 kB / 0.6899 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.6237, allocations: 89.69 kB / 0.69 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.6237, allocations: 6.875 kB / 0.69 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.624, allocations: 20.39 kB / 0.69 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.624, allocations: 8.188 kB / 0.69 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.6241, allocations: 12.09 kB / 0.69 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.744e-05/0.6242, allocations: 123.4 kB / 0.6902 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.08e-07/0.6242, allocations: 5.531 kB / 0.6902 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004691/0.6247, allocations: 42.38 kB / 0.6902 GB, free: 11.61 MB / 0.5261 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.000447/0.6251, allocations: 190.8 kB / 0.6904 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.6256, allocations: 122.7 kB / 0.6905 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.354e-06/0.6256, allocations: 0 / 0.6905 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.6259, allocations: 68.66 kB / 0.6906 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.6262, allocations: 22.16 kB / 0.6906 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.6268, allocations: 266.2 kB / 0.6908 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.627, allocations: 0.7147 MB / 0.6915 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.389e-05/0.6271, allocations: 21.45 kB / 0.6916 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.6271, allocations: 13.88 kB / 0.6916 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.234e-06/0.6271, allocations: 4 kB / 0.6916 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.00635/0.6335, allocations: 1.581 MB / 0.6931 GB, free: 10.36 MB / 0.5261 GB