Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5238/0.5238, allocations: 94.69 MB / 107.3 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001055/0.001055, allocations: 171.2 kB / 130.7 MB, free: 7.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.397/1.397, allocations: 170.5 MB / 324.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001635/0.001635, allocations: 112.3 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.068e-05, allocations: 8 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3978, allocations: 61.51 MB / 0.5054 GB, free: 49.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.528, allocations: 95.08 MB / 0.5982 GB, free: 0.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5283, allocations: 77.95 kB / 0.5983 GB, free: 436 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008547/0.5369, allocations: 2.766 MB / 0.601 GB, free: 13.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5369, allocations: 1.5 kB / 0.601 GB, free: 13.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.5369, allocations: 7.938 kB / 0.601 GB, free: 13.73 MB / 426.7 MB 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.0007113/0.5377, allocations: 0.5027 MB / 0.6015 GB, free: 13.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5377, allocations: 12.03 kB / 0.6015 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.5378, allocations: 11.91 kB / 0.6015 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.5381, allocations: 231.9 kB / 0.6017 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.5381, allocations: 4 kB / 0.6017 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.5381, allocations: 12.52 kB / 0.6018 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.5384, allocations: 104.3 kB / 0.6018 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5384, allocations: 0 / 0.6018 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.5384, allocations: 4.625 kB / 0.6019 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.5385, allocations: 0 / 0.6019 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.5386, allocations: 46.59 kB / 0.6019 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006949/0.5393, allocations: 466.8 kB / 0.6023 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.5394, allocations: 69.14 kB / 0.6024 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.654e-05/0.5395, allocations: 32.39 kB / 0.6024 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.5395, allocations: 11.92 kB / 0.6025 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.5397, allocations: 127.9 kB / 0.6026 GB, free: 11.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.5397, allocations: 0 / 0.6026 GB, free: 11.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002759/0.54, allocations: 113.4 kB / 0.6027 GB, free: 11.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.5401, allocations: 81.11 kB / 0.6028 GB, free: 11.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.5402, allocations: 149.8 kB / 0.6029 GB, free: 11.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.5403, allocations: 29.7 kB / 0.6029 GB, free: 11.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.343e-05/0.5403, allocations: 116.2 kB / 0.603 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.5404, allocations: 27.7 kB / 0.6031 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.5404, allocations: 4 kB / 0.6031 GB, free: 11.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5405, allocations: 326.8 kB / 0.6034 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.285e-05/0.5406, allocations: 26.56 kB / 0.6034 GB, free: 11.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.5407, allocations: 97.62 kB / 0.6035 GB, free: 10.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.854e-05/0.5408, allocations: 31.98 kB / 0.6035 GB, free: 10.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5408, allocations: 3.938 kB / 0.6035 GB, free: 10.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001955/0.541, allocations: 133.3 kB / 0.6037 GB, free: 10.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.5411, allocations: 4 kB / 0.6037 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5411, allocations: 5.094 kB / 0.6037 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5411, allocations: 0 / 0.6037 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.5412, allocations: 24.27 kB / 0.6037 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.5412, allocations: 4 kB / 0.6037 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-05/0.5413, allocations: 19.98 kB / 0.6037 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.5414, allocations: 4 kB / 0.6037 GB, free: 10.66 MB / 426.7 MB Warning: Assuming fixed start value for the following 3 variables: pri2.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean pri1.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean pri3.firstTrigger:DISCRETE(fixed = false protected = true ) "Rising edge signals first sample instant" type: Boolean 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.0001334/0.5415, allocations: 139.6 kB / 0.6039 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.5415, allocations: 15.81 kB / 0.6039 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.5416, allocations: 21.53 kB / 0.6039 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.5416, allocations: 0 / 0.6039 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5416, allocations: 0 / 0.6039 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.5416, allocations: 7.984 kB / 0.6039 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.5422, allocations: 0.5002 MB / 0.6044 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5422, allocations: 0 / 0.6044 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.854e-05/0.5423, allocations: 23.23 kB / 0.6044 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5423, allocations: 3.984 kB / 0.6044 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5423, allocations: 1.875 kB / 0.6044 GB, free: 9.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.5423, allocations: 7.938 kB / 0.6044 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5423, allocations: 0 / 0.6044 GB, free: 9.898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.5426, allocations: 294.3 kB / 0.6047 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.5427, allocations: 92.92 kB / 0.6048 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.5427, allocations: 11.98 kB / 0.6048 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.5429, allocations: 15.98 kB / 0.6048 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.5429, allocations: 19.92 kB / 0.6048 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.543, allocations: 11.94 kB / 0.6048 GB, free: 9.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.295e-05/0.5431, allocations: 120.3 kB / 0.605 GB, free: 9.305 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5431, allocations: 4 kB / 0.605 GB, free: 9.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.5434, allocations: 39.98 kB / 0.605 GB, free: 9.262 MB / 426.7 MB 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.0003803/0.5438, allocations: 183.8 kB / 0.6052 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.544, allocations: 71.88 kB / 0.6052 GB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.544, allocations: 4 kB / 0.6053 GB, free: 9.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.5441, allocations: 39.92 kB / 0.6053 GB, free: 9.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.5443, allocations: 15.84 kB / 0.6053 GB, free: 8.992 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.5447, allocations: 175.7 kB / 0.6055 GB, free: 8.809 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.545, allocations: 0.7198 MB / 0.6062 GB, free: 8.062 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.659e-05/0.5451, allocations: 20.53 kB / 0.6062 GB, free: 8.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.5451, allocations: 15.44 kB / 0.6062 GB, free: 8.027 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5452, allocations: 4 kB / 0.6062 GB, free: 8.023 MB / 426.7 MB Notification: Performance of Templates: time 0.00449/0.5497, allocations: 1.584 MB / 0.6078 GB, free: 6.504 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.makefile (rm -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.sim & ./Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.pipe 2>&1)