Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 252.6 MB / 265.2 MB, free: 5.723 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001414, allocations: 183.7 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.5753 GB, free: 10.48 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 98.62 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.885e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2516, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8534/1.105, allocations: 133.2 MB / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003857/1.105, allocations: 86.62 kB / 1.025 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01844/1.124, allocations: 2.979 MB / 1.028 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.124, allocations: 0 / 1.028 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.192e-05/1.124, allocations: 4 kB / 1.028 GB, free: 14.74 MB / 0.6511 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.001251/1.125, allocations: 0.5079 MB / 1.028 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.08e-05/1.125, allocations: 12.03 kB / 1.028 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.361e-05/1.125, allocations: 23.8 kB / 1.029 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/1.126, allocations: 226.2 kB / 1.029 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/1.126, allocations: 7.188 kB / 1.029 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/1.126, allocations: 4 kB / 1.029 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003906/1.126, allocations: 108.2 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.126, allocations: 0 / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/1.126, allocations: 4 kB / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.127, allocations: 0 / 1.029 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/1.127, allocations: 42.03 kB / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/1.128, allocations: 473.8 kB / 1.029 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/1.128, allocations: 67.41 kB / 1.029 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/1.128, allocations: 28.59 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/1.128, allocations: 4 kB / 1.029 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003904/1.129, allocations: 133.5 kB / 1.03 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 3.747e-06/1.129, allocations: 0 / 1.03 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0004867/1.129, allocations: 118.1 kB / 1.03 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/1.129, allocations: 85.2 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/1.13, allocations: 151.4 kB / 1.03 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/1.13, allocations: 29.7 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/1.13, allocations: 110.1 kB / 1.03 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.316e-05/1.13, allocations: 27.45 kB / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/1.13, allocations: 4 kB / 1.03 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.13, allocations: 326 kB / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/1.13, allocations: 19.88 kB / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/1.13, allocations: 101.3 kB / 1.03 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/1.131, allocations: 30.92 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.131, allocations: 4 kB / 1.031 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004289/1.131, allocations: 133 kB / 1.031 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/1.131, allocations: 7.938 kB / 1.031 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.131, allocations: 4 kB / 1.031 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.513e-05/1.131, allocations: 7.953 kB / 1.031 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/1.131, allocations: 20.27 kB / 1.031 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/1.131, allocations: 11.97 kB / 1.031 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/1.132, allocations: 19.25 kB / 1.031 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/1.132, allocations: 4 kB / 1.031 GB, free: 11.86 MB / 0.6511 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 () * 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.0001714/1.132, allocations: 124.2 kB / 1.031 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/1.132, allocations: 15.81 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.911e-05/1.132, allocations: 24.77 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.132, allocations: 4 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.132, allocations: 3.953 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/1.132, allocations: 0 / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.133, allocations: 0.4977 MB / 1.031 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/1.133, allocations: 4 kB / 1.031 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/1.134, allocations: 15.98 kB / 1.031 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.134, allocations: 7.953 kB / 1.031 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/1.134, allocations: 3.562 kB / 1.031 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/1.134, allocations: 4 kB / 1.031 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.134, allocations: 3.938 kB / 1.031 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/1.134, allocations: 293.8 kB / 1.032 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/1.134, allocations: 97 kB / 1.032 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/1.134, allocations: 8 kB / 1.032 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/1.135, allocations: 23.09 kB / 1.032 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.847e-05/1.135, allocations: 7.984 kB / 1.032 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.067e-05/1.135, allocations: 15.92 kB / 1.032 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001618/1.135, allocations: 117.3 kB / 1.032 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.22e-07/1.135, allocations: 0 / 1.032 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007942/1.136, allocations: 38.38 kB / 1.032 GB, free: 10.57 MB / 0.6511 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 () * 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.0006646/1.137, allocations: 202.5 kB / 1.032 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003949/1.137, allocations: 81.48 kB / 1.032 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.137, allocations: 0 / 1.032 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/1.137, allocations: 34.25 kB / 1.032 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/1.138, allocations: 25.16 kB / 1.032 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/1.138, allocations: 176.8 kB / 1.032 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004499/1.139, allocations: 0.716 MB / 1.033 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001523/1.139, allocations: 24.39 kB / 1.033 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.969e-05/1.139, allocations: 18.25 kB / 1.033 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/1.139, allocations: 4 kB / 1.033 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of Templates: time 0.009281/1.148, allocations: 1.621 MB / 1.035 GB, free: 7.73 MB / 0.6511 GB