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.021/5.021, allocations: 0.5623 GB / 0.5775 GB, free: 66.96 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002664/0.002663, allocations: 365.1 kB / 0.6447 GB, free: 21.69 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.094/4.094, allocations: 410.8 MB / 1.113 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 190.6 kB / 1.226 GB, free: 9.484 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004929, allocations: 12 kB / 1.349 GB, free: 84.64 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.229, allocations: 115.3 MB / 1.461 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.6536/0.8826, allocations: 1.275 MB / 1.463 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.8844, allocations: 0.6886 MB / 1.463 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.8845, allocations: 1.25 kB / 1.463 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.8846, allocations: 9.953 kB / 1.463 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.8847, allocations: 19.42 kB / 1.463 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.8852, allocations: 94.41 kB / 1.463 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.8855, allocations: 121.9 kB / 1.463 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.8856, allocations: 24.06 kB / 1.464 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.8858, allocations: 43.47 kB / 1.464 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.8859, allocations: 57.56 kB / 1.464 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.886, allocations: 5.25 kB / 1.464 GB, free: 11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.8862, allocations: 41.98 kB / 1.464 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.8862, allocations: 25.45 kB / 1.464 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.8863, allocations: 41.52 kB / 1.464 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.8866, allocations: 104.6 kB / 1.464 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8866, allocations: 0 / 1.464 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8866, allocations: 4 kB / 1.464 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.8866, allocations: 5.281 kB / 1.464 GB, free: 10.92 MB / 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.001084/0.8877, allocations: 0.535 MB / 1.464 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.8878, allocations: 10.06 kB / 1.464 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.8879, allocations: 16.64 kB / 1.464 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.8881, allocations: 218.8 kB / 1.465 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.8882, allocations: 12.25 kB / 1.465 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.8882, allocations: 7.266 kB / 1.465 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.8887, allocations: 134.2 kB / 1.465 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8887, allocations: 0 / 1.465 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.8888, allocations: 6.344 kB / 1.465 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.8888, allocations: 1.281 kB / 1.465 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.8893, allocations: 85.95 kB / 1.465 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009729/0.8903, allocations: 479.1 kB / 1.465 GB, free: 9.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.8906, allocations: 87.06 kB / 1.465 GB, free: 9.621 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.8909, allocations: 53.09 kB / 1.465 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.8909, allocations: 2.109 kB / 1.465 GB, free: 9.598 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005435/0.8915, allocations: 157.4 kB / 1.466 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.535e-06/0.8915, allocations: 0 / 1.466 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.001051/0.8926, allocations: 214.1 kB / 1.466 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.8926, allocations: 80.28 kB / 1.466 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.8928, allocations: 162.6 kB / 1.466 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.8929, allocations: 28.64 kB / 1.466 GB, free: 9.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.893, allocations: 116.7 kB / 1.466 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.893, allocations: 24.94 kB / 1.466 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.8931, allocations: 4.719 kB / 1.466 GB, free: 9.055 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.8932, allocations: 322.9 kB / 1.466 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.8934, allocations: 47.11 kB / 1.467 GB, free: 8.727 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.8937, allocations: 123.2 kB / 1.467 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.894, allocations: 60.52 kB / 1.467 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8941, allocations: 0.8125 kB / 1.467 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006725/0.8947, allocations: 177.5 kB / 1.467 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.8948, allocations: 6.531 kB / 1.467 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8948, allocations: 2.062 kB / 1.467 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.8948, allocations: 8.078 kB / 1.467 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.895, allocations: 22.53 kB / 1.467 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8951, allocations: 8.422 kB / 1.467 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.8952, allocations: 19.45 kB / 1.467 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.8953, allocations: 9.062 kB / 1.467 GB, free: 8.504 MB / 0.6042 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.0001692/0.8955, allocations: 138.9 kB / 1.467 GB, free: 8.371 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.8955, allocations: 20.2 kB / 1.467 GB, free: 8.359 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.8956, allocations: 16.17 kB / 1.467 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.8956, allocations: 5.984 kB / 1.467 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8956, allocations: 4.703 kB / 1.467 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.8957, allocations: 89.06 kB / 1.467 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.8957, allocations: 7.656 kB / 1.467 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.8959, allocations: 23.31 kB / 1.467 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.896, allocations: 9.484 kB / 1.467 GB, free: 8.242 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007771/0.8968, allocations: 326.7 kB / 1.468 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006943/0.8975, allocations: 414.5 kB / 1.468 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002902/0.8978, allocations: 56.61 kB / 1.468 GB, free: 7.699 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001607/0.898, allocations: 122.3 kB / 1.468 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of Backend: time 1.213e-06/0.898, allocations: 1.406 kB / 1.468 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.8993, allocations: 242.9 kB / 1.468 GB, free: 7.504 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007529/0.9001, allocations: 0.704 MB / 1.469 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of Templates: time 0.008224/0.9083, allocations: 1.699 MB / 1.471 GB, free: 6.672 MB / 0.6042 GB