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.187/2.187, 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.001471/0.001471, allocations: 178.1 kB / 325.6 MB, free: 2.789 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.473/2.473, allocations: 205.4 MB / 0.5766 GB, free: 21.1 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.001155/0.001155, allocations: 101.4 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006848/0.000685, allocations: 13.62 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2451, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.00188/0.2471, allocations: 1.27 MB / 0.9001 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2486, allocations: 0.7151 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.2486, allocations: 4 kB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.925e-05/0.2487, allocations: 7.875 kB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.2488, allocations: 15.95 kB / 0.9008 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.2493, allocations: 95.7 kB / 0.9009 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.2495, allocations: 87.77 kB / 0.901 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2496, allocations: 25.11 kB / 0.901 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.2498, allocations: 47.83 kB / 0.9011 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.2499, allocations: 47.77 kB / 0.9011 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.2499, allocations: 7.984 kB / 0.9011 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.25, allocations: 39.97 kB / 0.9012 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.2501, allocations: 19.92 kB / 0.9012 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.357e-05/0.2501, allocations: 45.64 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.2503, allocations: 111.7 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2503, allocations: 4 kB / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2504, allocations: 0 / 0.9013 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2504, allocations: 0 / 0.9013 GB, free: 63.36 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.0009212/0.2513, allocations: 0.5233 MB / 0.9019 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2514, allocations: 8.031 kB / 0.9019 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.2514, allocations: 23.77 kB / 0.9019 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.2517, allocations: 222.7 kB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2517, allocations: 8 kB / 0.9021 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.2517, allocations: 12 kB / 0.9021 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.2522, allocations: 139.3 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2522, allocations: 0 / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.2522, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2522, allocations: 4 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.2528, allocations: 83.88 kB / 0.9023 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.2538, allocations: 468.8 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.2542, allocations: 93.12 kB / 0.9029 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.2542, allocations: 7.984 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005519/0.2548, allocations: 157 kB / 0.903 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.765e-06/0.2548, allocations: 3.938 kB / 0.903 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.001116/0.256, allocations: 205.3 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.256, allocations: 81.11 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2562, allocations: 162.9 kB / 0.9035 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.2563, allocations: 37.81 kB / 0.9035 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.2564, allocations: 112.3 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.809e-05/0.2564, allocations: 27.62 kB / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.2565, allocations: 0 / 0.9036 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.2566, allocations: 330.8 kB / 0.904 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.2568, allocations: 39.95 kB / 0.904 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.2572, allocations: 122.3 kB / 0.9041 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.2575, allocations: 63.92 kB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2575, allocations: 0 / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007519/0.2583, allocations: 185.4 kB / 0.9043 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2583, allocations: 7.953 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2584, allocations: 4 kB / 0.9044 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2584, allocations: 4 kB / 0.9044 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.2586, allocations: 15.98 kB / 0.9044 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.2586, allocations: 7.938 kB / 0.9044 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.2589, allocations: 24.11 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.2589, allocations: 4 kB / 0.9044 GB, free: 59.91 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.0001635/0.2591, allocations: 133.8 kB / 0.9045 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.2591, allocations: 11.91 kB / 0.9045 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.323e-05/0.2592, allocations: 21.36 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2592, allocations: 4 kB / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2593, allocations: 0 / 0.9046 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.2593, allocations: 11.98 kB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.2605, allocations: 0.545 MB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2605, allocations: 0 / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.2607, allocations: 15.98 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.839e-06/0.2607, allocations: 8.031 kB / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2608, allocations: 12.02 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2608, allocations: 3.938 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.2608, allocations: 4 kB / 0.9052 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007559/0.2616, allocations: 344.2 kB / 0.9055 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.2616, allocations: 89.02 kB / 0.9056 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.2617, allocations: 7.984 kB / 0.9056 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.2621, allocations: 23.98 kB / 0.9056 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.2622, allocations: 7.984 kB / 0.9056 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-05/0.2623, allocations: 4 kB / 0.9056 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001246/0.2624, allocations: 123.2 kB / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.603e-06/0.2624, allocations: 0 / 0.9057 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007473/0.2632, allocations: 43.84 kB / 0.9058 GB, free: 58.41 MB / 0.6042 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.0005902/0.2638, allocations: 204.3 kB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007427/0.2646, allocations: 124 kB / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2646, allocations: 0 / 0.9061 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.265, allocations: 59.89 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.2655, allocations: 21.34 kB / 0.9062 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.2663, allocations: 260.5 kB / 0.9064 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.2666, allocations: 0.7199 MB / 0.9071 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.2667, allocations: 20.53 kB / 0.9071 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.2668, allocations: 19.44 kB / 0.9072 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.2668, allocations: 0 / 0.9072 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.008599/0.2754, allocations: 1.575 MB / 0.9087 GB, free: 55.41 MB / 0.6042 GB