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.261/2.261, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 181.3 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.35/2.35, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001175/0.001175, allocations: 98.89 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006369/0.0006371, allocations: 12.84 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2406, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2197/0.4604, allocations: 133.3 MB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003295/0.4608, allocations: 83.94 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01445/0.4752, allocations: 2.994 MB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4753, allocations: 4 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.4753, allocations: 0 / 1.032 GB, free: 8.895 MB / 0.6823 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.001048/0.4764, allocations: 0.5447 MB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.4764, allocations: 8.031 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.4765, allocations: 11.91 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4768, allocations: 234.6 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.4769, allocations: 8 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.4769, allocations: 12 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.4774, allocations: 123.3 kB / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4774, allocations: 0 / 1.033 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.4775, allocations: 4 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4775, allocations: 4 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.478, allocations: 87.86 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.4789, allocations: 472.7 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.4793, allocations: 89.17 kB / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.4793, allocations: 0 / 1.034 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004937/0.4798, allocations: 153.2 kB / 1.034 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=12): time 2.074e-06/0.4799, allocations: 3.938 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12): time 0.001013/0.4809, allocations: 217.3 kB / 1.034 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.481, allocations: 81.05 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.4812, allocations: 146.4 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.4812, allocations: 33.69 kB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.4813, allocations: 108.4 kB / 1.034 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.4814, allocations: 35.55 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.4814, allocations: 7.938 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4816, allocations: 322.8 kB / 1.035 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002742/0.4819, allocations: 43.95 kB / 1.035 GB, free: 5.926 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.4822, allocations: 119.3 kB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.4825, allocations: 63.91 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.4825, allocations: 4 kB / 1.035 GB, free: 5.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000676/0.4832, allocations: 181.4 kB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4833, allocations: 6.031 kB / 1.035 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4833, allocations: 4 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.4833, allocations: 4 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.4835, allocations: 31.88 kB / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.4835, allocations: 7.984 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.4837, allocations: 20.11 kB / 1.035 GB, free: 5.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.4838, allocations: 8 kB / 1.035 GB, free: 5.445 MB / 0.6823 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.0001761/0.4839, allocations: 125.8 kB / 1.035 GB, free: 5.312 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.484, allocations: 15.89 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.625e-05/0.4841, allocations: 17.34 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4841, allocations: 0 / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.4841, allocations: 3.953 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.4841, allocations: 7.984 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4853, allocations: 0.5406 MB / 1.036 GB, free: 4.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4853, allocations: 4 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.4855, allocations: 23.91 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.4855, allocations: 3.953 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4855, allocations: 4 kB / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.4855, allocations: 0 / 1.036 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4856, allocations: 3.938 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007639/0.4863, allocations: 344.2 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.022e-05/0.4864, allocations: 92.97 kB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.4865, allocations: 15.92 kB / 1.036 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.4868, allocations: 15.98 kB / 1.036 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.4868, allocations: 11.98 kB / 1.036 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.4869, allocations: 11.98 kB / 1.036 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001542/0.4871, allocations: 119.2 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4871, allocations: 96 / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005111/0.4876, allocations: 47.88 kB / 1.036 GB, free: 3.949 MB / 0.6823 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.0005373/0.4882, allocations: 205.9 kB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006348/0.4888, allocations: 120.2 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4888, allocations: 4 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.4891, allocations: 55.91 kB / 1.037 GB, free: 3.602 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.4895, allocations: 20.06 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.4902, allocations: 267 kB / 1.037 GB, free: 3.293 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.4906, allocations: 0.7199 MB / 1.038 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.4907, allocations: 28.33 kB / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.4908, allocations: 19.44 kB / 1.038 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/0.4908, allocations: 0 / 1.038 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.007363/0.4982, allocations: 1.614 MB / 1.039 GB, free: 0.8984 MB / 0.6823 GB