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.242/2.242, allocations: 253.2 MB / 260.6 MB, free: 7.477 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.001376/0.001376, allocations: 188.7 kB / 319.9 MB, free: 3.098 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.128/2.128, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001104/0.001104, allocations: 96 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.915e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1892, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9345/1.124, allocations: 133.5 MB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.124, allocations: 79.45 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01372/1.138, allocations: 2.967 MB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/1.138, allocations: 0 / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.956e-05/1.138, allocations: 4 kB / 1.022 GB, free: 1.277 MB / 0.6355 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.0009676/1.139, allocations: 0.5171 MB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.139, allocations: 16.02 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/1.139, allocations: 15.81 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/1.139, allocations: 224.7 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.139, allocations: 4 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/1.139, allocations: 4 kB / 1.023 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001472/1.14, allocations: 34.38 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/1.14, allocations: 99.56 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.14, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/1.14, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/1.14, allocations: 0 / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008737/1.141, allocations: 451 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/1.141, allocations: 62.78 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/1.141, allocations: 28.09 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/1.141, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/1.141, allocations: 125.2 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 2.064e-06/1.141, allocations: 4 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0003763/1.142, allocations: 106.6 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/1.142, allocations: 88.72 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/1.142, allocations: 139 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/1.142, allocations: 25.7 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/1.142, allocations: 114 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/1.142, allocations: 27.3 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/1.142, allocations: 4.688 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.142, allocations: 330.4 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/1.142, allocations: 15.62 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/1.143, allocations: 95.55 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.099e-05/1.143, allocations: 30.92 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.143, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002754/1.143, allocations: 120 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/1.143, allocations: 8 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.143, allocations: 96 / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.143, allocations: 7.938 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/1.143, allocations: 23.8 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/1.143, allocations: 7.891 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/1.143, allocations: 24.17 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/1.144, allocations: 8 kB / 1.025 GB, free: 14.47 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.0001199/1.144, allocations: 112.8 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/1.144, allocations: 15.81 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/1.144, allocations: 12.59 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/1.144, allocations: 0 / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.144, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.144, allocations: 11.88 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/1.145, allocations: 476.4 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/1.145, allocations: 0 / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/1.145, allocations: 19.92 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.145, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.145, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.145, allocations: 7.953 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.145, allocations: 0 / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/1.145, allocations: 293.4 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/1.145, allocations: 88.92 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/1.145, allocations: 7.953 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/1.146, allocations: 23.8 kB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/1.146, allocations: 7.984 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/1.146, allocations: 11.98 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.949e-05/1.146, allocations: 110.3 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.363e-06/1.146, allocations: 0 / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005105/1.146, allocations: 43.19 kB / 1.026 GB, free: 13.24 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.0005206/1.147, allocations: 209.4 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002397/1.147, allocations: 68.55 kB / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.147, allocations: 0 / 1.026 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/1.147, allocations: 34.25 kB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/1.148, allocations: 27.41 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/1.148, allocations: 159.6 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/1.149, allocations: 0.7202 MB / 1.027 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001091/1.149, allocations: 24.39 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/1.149, allocations: 15.44 kB / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/1.149, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.006731/1.156, allocations: 1.539 MB / 1.029 GB, free: 10.49 MB / 0.6511 GB