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.0009875/0.0009873, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009923/0.0009923, allocations: 177.3 kB / 15.95 MB, free: 216 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.347/1.347, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.5614/0.5614, allocations: 95.59 MB / 366 MB, free: 10.39 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.0006108/0.0006109, allocations: 12 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.306, allocations: 70.34 MB / 0.505 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.001322/0.3074, allocations: 1.254 MB / 0.5062 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.3082, allocations: 0.6791 MB / 0.5069 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.3083, allocations: 4 kB / 0.5069 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.067e-05/0.3084, allocations: 11.86 kB / 0.5069 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.796e-05/0.3084, allocations: 11.97 kB / 0.5069 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.3088, allocations: 91.75 kB / 0.507 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.3089, allocations: 87.83 kB / 0.5071 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3091, allocations: 33.03 kB / 0.5071 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.237e-05/0.3092, allocations: 43.84 kB / 0.5071 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.3092, allocations: 51.75 kB / 0.5072 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3093, allocations: 4 kB / 0.5072 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.3093, allocations: 43.91 kB / 0.5072 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.3094, allocations: 19.91 kB / 0.5073 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.3094, allocations: 41.64 kB / 0.5073 GB, free: 14.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3096, allocations: 105.9 kB / 0.5074 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3096, allocations: 4 kB / 0.5074 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3096, allocations: 0 / 0.5074 GB, free: 14.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.3096, allocations: 0 / 0.5074 GB, free: 14.15 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.0006657/0.3103, allocations: 0.5349 MB / 0.5079 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3103, allocations: 11.98 kB / 0.5079 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.3104, allocations: 19.8 kB / 0.508 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3106, allocations: 206.8 kB / 0.5082 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.3106, allocations: 11.95 kB / 0.5082 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.3106, allocations: 8 kB / 0.5082 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3109, allocations: 135.3 kB / 0.5083 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3109, allocations: 0 / 0.5083 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3109, allocations: 11.98 kB / 0.5083 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3109, allocations: 0 / 0.5083 GB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.3111, allocations: 87.88 kB / 0.5084 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.3117, allocations: 476.7 kB / 0.5089 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.3118, allocations: 93.12 kB / 0.5089 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3119, allocations: 7.984 kB / 0.509 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.3122, allocations: 149.1 kB / 0.5091 GB, free: 12.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.3122, allocations: 0 / 0.5091 GB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.000489/0.3127, allocations: 213.3 kB / 0.5093 GB, free: 12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3127, allocations: 81.09 kB / 0.5094 GB, free: 11.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3128, allocations: 159.6 kB / 0.5095 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.3129, allocations: 29.7 kB / 0.5096 GB, free: 11.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.035e-05/0.3129, allocations: 112.3 kB / 0.5097 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.313, allocations: 35.59 kB / 0.5097 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.313, allocations: 4 kB / 0.5097 GB, free: 11.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.313, allocations: 326.8 kB / 0.51 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3132, allocations: 43.91 kB / 0.5101 GB, free: 11.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3133, allocations: 122.3 kB / 0.5102 GB, free: 11.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3134, allocations: 59.97 kB / 0.5102 GB, free: 10.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3134, allocations: 3.938 kB / 0.5102 GB, free: 10.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003018/0.3138, allocations: 181.5 kB / 0.5104 GB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3138, allocations: 4 kB / 0.5104 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3138, allocations: 4 kB / 0.5104 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3138, allocations: 4 kB / 0.5104 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.3139, allocations: 15.98 kB / 0.5104 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3139, allocations: 4.109 kB / 0.5104 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.025e-05/0.314, allocations: 23.92 kB / 0.5105 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.314, allocations: 8.062 kB / 0.5105 GB, free: 10.71 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 7.689e-05/0.3141, allocations: 145.7 kB / 0.5106 GB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.3141, allocations: 11.91 kB / 0.5106 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.3142, allocations: 17.39 kB / 0.5106 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3142, allocations: 4.375 kB / 0.5106 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3142, allocations: 0 / 0.5106 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3142, allocations: 0 / 0.5106 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005129/0.3147, allocations: 0.5482 MB / 0.5112 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3147, allocations: 0 / 0.5112 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.042e-05/0.3148, allocations: 23.98 kB / 0.5112 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3148, allocations: 4 kB / 0.5112 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3148, allocations: 0 / 0.5112 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3148, allocations: 3.938 kB / 0.5112 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3149, allocations: 7.953 kB / 0.5112 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.3152, allocations: 336.3 kB / 0.5115 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/0.3152, allocations: 89 kB / 0.5116 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.3152, allocations: 7.938 kB / 0.5116 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.3154, allocations: 31.94 kB / 0.5117 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.433e-05/0.3155, allocations: 7.984 kB / 0.5117 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3155, allocations: 11.98 kB / 0.5117 GB, free: 9.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.256e-05/0.3156, allocations: 120.2 kB / 0.5118 GB, free: 9.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3156, allocations: 0 / 0.5118 GB, free: 9.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.3159, allocations: 43.91 kB / 0.5118 GB, free: 9.215 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.0003118/0.3162, allocations: 199.6 kB / 0.512 GB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003312/0.3165, allocations: 119.8 kB / 0.5121 GB, free: 8.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3166, allocations: 4.562 kB / 0.5121 GB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3168, allocations: 55.97 kB / 0.5122 GB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.317, allocations: 30.08 kB / 0.5122 GB, free: 8.844 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.3174, allocations: 266.9 kB / 0.5125 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.3176, allocations: 0.716 MB / 0.5132 GB, free: 7.812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.146e-05/0.3176, allocations: 28.55 kB / 0.5132 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.3177, allocations: 15.44 kB / 0.5132 GB, free: 7.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3177, allocations: 0 / 0.5132 GB, free: 7.77 MB / 382.1 MB Notification: Performance of Templates: time 0.00376/0.3214, allocations: 1.552 MB / 0.5147 GB, free: 6.227 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: