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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009519/0.0009523, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000879/0.0008791, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6681/0.6681, allocations: 95.62 MB / 366 MB, free: 10.43 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005618/0.0005618, allocations: 12 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4487/0.4493, allocations: 70.35 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.002092/0.4514, allocations: 1.246 MB / 0.5063 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4528, allocations: 0.6946 MB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.4529, allocations: 0 / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.4531, allocations: 7.922 kB / 0.507 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.4532, allocations: 11.88 kB / 0.507 GB, free: 14.5 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Utilities/Reports/printRealArray.mo:2:1-45:19:writable] Warning: Pure function ‘Buildings.Utilities.Reports.printRealArray‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.4538, allocations: 95.77 kB / 0.5071 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.454, allocations: 119.6 kB / 0.5072 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.4542, allocations: 29.09 kB / 0.5072 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.4543, allocations: 47.78 kB / 0.5073 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.4544, allocations: 51.75 kB / 0.5073 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.4544, allocations: 8 kB / 0.5073 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.4545, allocations: 39.95 kB / 0.5074 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.4546, allocations: 23.92 kB / 0.5074 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.4547, allocations: 45.62 kB / 0.5074 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4549, allocations: 105.7 kB / 0.5075 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.4549, allocations: 0 / 0.5075 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.4549, allocations: 4 kB / 0.5075 GB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.4549, allocations: 0 / 0.5075 GB, free: 13.94 MB / 382.1 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.00091/0.4558, allocations: 0.5388 MB / 0.5081 GB, free: 13.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.4559, allocations: 11.98 kB / 0.5081 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.659e-05/0.456, allocations: 15.81 kB / 0.5081 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.4562, allocations: 206.8 kB / 0.5083 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.4563, allocations: 11.95 kB / 0.5083 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.4563, allocations: 12 kB / 0.5083 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.4567, allocations: 131.3 kB / 0.5084 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.4567, allocations: 4 kB / 0.5084 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.4567, allocations: 4 kB / 0.5084 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4567, allocations: 3.938 kB / 0.5084 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.457, allocations: 87.88 kB / 0.5085 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006798/0.4577, allocations: 468.8 kB / 0.509 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4579, allocations: 93.11 kB / 0.5091 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.458, allocations: 53.81 kB / 0.5091 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.458, allocations: 4 kB / 0.5091 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003466/0.4584, allocations: 153 kB / 0.5093 GB, free: 11.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.4584, allocations: 0 / 0.5093 GB, free: 11.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005483/0.459, allocations: 221.3 kB / 0.5095 GB, free: 11.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.459, allocations: 81.05 kB / 0.5095 GB, free: 11.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4592, allocations: 163.6 kB / 0.5097 GB, free: 11.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.4592, allocations: 29.7 kB / 0.5097 GB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.4593, allocations: 112.3 kB / 0.5098 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.4593, allocations: 31.59 kB / 0.5099 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-06/0.4593, allocations: 4 kB / 0.5099 GB, free: 11.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4595, allocations: 322.8 kB / 0.5102 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.4596, allocations: 47.97 kB / 0.5102 GB, free: 10.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4597, allocations: 122.3 kB / 0.5103 GB, free: 10.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4599, allocations: 59.91 kB / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4599, allocations: 0 / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003041/0.4602, allocations: 177.2 kB / 0.5106 GB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4602, allocations: 8 kB / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4602, allocations: 0 / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.4603, allocations: 8.266 kB / 0.5106 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4604, allocations: 23.98 kB / 0.5106 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4604, allocations: 3.938 kB / 0.5106 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.752e-05/0.4605, allocations: 23.98 kB / 0.5106 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4605, allocations: 11.95 kB / 0.5106 GB, free: 10.43 MB / 382.1 MB 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.0001088/0.4607, allocations: 129.8 kB / 0.5108 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.4607, allocations: 15.91 kB / 0.5108 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.4607, allocations: 17.39 kB / 0.5108 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4607, allocations: 4 kB / 0.5108 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.4608, allocations: 0 / 0.5108 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.4608, allocations: 8.25 kB / 0.5108 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006383/0.4614, allocations: 0.5483 MB / 0.5113 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4614, allocations: 4 kB / 0.5114 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.4615, allocations: 23.92 kB / 0.5114 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4615, allocations: 0 / 0.5114 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4615, allocations: 0 / 0.5114 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4615, allocations: 8 kB / 0.5114 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4615, allocations: 3.953 kB / 0.5114 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.4619, allocations: 334.6 kB / 0.5117 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.462, allocations: 85.02 kB / 0.5118 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.462, allocations: 0 / 0.5118 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.4621, allocations: 27.97 kB / 0.5118 GB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.4622, allocations: 15.88 kB / 0.5118 GB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.4622, allocations: 8 kB / 0.5118 GB, free: 9.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.133e-05/0.4623, allocations: 124.2 kB / 0.512 GB, free: 8.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4623, allocations: 0 / 0.512 GB, free: 8.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000326/0.4627, allocations: 43.89 kB / 0.512 GB, free: 8.953 MB / 382.1 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 () * 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.0004467/0.4631, allocations: 194.1 kB / 0.5122 GB, free: 8.789 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.4635, allocations: 124 kB / 0.5123 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4635, allocations: 0 / 0.5123 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.4636, allocations: 59.91 kB / 0.5124 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.464, allocations: 24.45 kB / 0.5124 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.4644, allocations: 267.1 kB / 0.5126 GB, free: 8.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.4647, allocations: 0.7237 MB / 0.5133 GB, free: 7.547 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.336e-05/0.4647, allocations: 20.53 kB / 0.5134 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.4648, allocations: 15.44 kB / 0.5134 GB, free: 7.512 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4648, allocations: 3.938 kB / 0.5134 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Templates: time 0.004636/0.4694, allocations: 1.549 MB / 0.5149 GB, free: 5.965 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Reports.Examples.Printer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: