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.001239/0.001239, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001266/0.001266, allocations: 192.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 222.1 MB, free: 4.746 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.567/0.567, allocations: 95.46 MB / 364.9 MB, free: 10.11 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.001495/0.001495, allocations: 76.28 kB / 444.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2923, allocations: 69.07 MB / 0.5019 GB, free: 17.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.002153/0.2945, allocations: 1.62 MB / 0.5035 GB, free: 16.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.2954, allocations: 0.7215 MB / 0.5042 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2954, allocations: 0 / 0.5042 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.401e-05/0.2955, allocations: 7.938 kB / 0.5042 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.2956, allocations: 23.78 kB / 0.5042 GB, free: 15.29 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.0003479/0.2959, allocations: 91.84 kB / 0.5043 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.2961, allocations: 131.6 kB / 0.5044 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.2962, allocations: 37.09 kB / 0.5044 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.2963, allocations: 59.72 kB / 0.5045 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.2963, allocations: 67.67 kB / 0.5046 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2964, allocations: 12 kB / 0.5046 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.2964, allocations: 47.97 kB / 0.5046 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.2965, allocations: 31.91 kB / 0.5046 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.979e-05/0.2965, allocations: 63.64 kB / 0.5047 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.2967, allocations: 157.5 kB / 0.5049 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2967, allocations: 0 / 0.5049 GB, free: 14.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.2967, allocations: 4 kB / 0.5049 GB, free: 14.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2967, allocations: 4 kB / 0.5049 GB, free: 14.6 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.0006133/0.2974, allocations: 0.5427 MB / 0.5054 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.2974, allocations: 15.98 kB / 0.5054 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.2974, allocations: 20.75 kB / 0.5054 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.2976, allocations: 216 kB / 0.5056 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.2976, allocations: 8.375 kB / 0.5056 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2976, allocations: 8.375 kB / 0.5056 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.2978, allocations: 131.6 kB / 0.5058 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2979, allocations: 0 / 0.5058 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2979, allocations: 4 kB / 0.5058 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2979, allocations: 7.938 kB / 0.5058 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.2981, allocations: 71.88 kB / 0.5059 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.2985, allocations: 460.7 kB / 0.5063 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.2987, allocations: 81.17 kB / 0.5064 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2988, allocations: 45.81 kB / 0.5064 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.2988, allocations: 4 kB / 0.5064 GB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.2991, allocations: 149 kB / 0.5066 GB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.123e-06/0.2991, allocations: 0 / 0.5066 GB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004431/0.2995, allocations: 193.3 kB / 0.5067 GB, free: 12.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.2996, allocations: 85.11 kB / 0.5068 GB, free: 12.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.2997, allocations: 155.6 kB / 0.507 GB, free: 12.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2997, allocations: 29.7 kB / 0.507 GB, free: 12.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.2997, allocations: 112.2 kB / 0.5071 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.2998, allocations: 27.7 kB / 0.5071 GB, free: 12.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.2998, allocations: 33.7 kB / 0.5072 GB, free: 11.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.2999, allocations: 331.1 kB / 0.5075 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3, allocations: 39.97 kB / 0.5075 GB, free: 11.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3001, allocations: 114.3 kB / 0.5076 GB, free: 11.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.3003, allocations: 147.7 kB / 0.5078 GB, free: 11.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3003, allocations: 11.88 kB / 0.5078 GB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002845/0.3006, allocations: 161.3 kB / 0.5079 GB, free: 11.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3007, allocations: 8 kB / 0.5079 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3007, allocations: 0 / 0.5079 GB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.3007, allocations: 4 kB / 0.5079 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.3008, allocations: 19.92 kB / 0.508 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3008, allocations: 7.984 kB / 0.508 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.81e-05/0.3009, allocations: 20.12 kB / 0.508 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3009, allocations: 8 kB / 0.508 GB, free: 11.04 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 (pri2.firstTrigger,$PRE.pri2.firstTrigger,pri1.firstTrigger,$PRE.pri1.firstTrigger,$whenCondition4,pri1.sampleTrigger,$whenCondition2,pri2.sampleTrigger,$whenCondition3,pri3.firstTrigger,$PRE.pri3.firstTrigger,pri3.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.301, allocations: 142 kB / 0.5081 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.301, allocations: 15.81 kB / 0.5082 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.3011, allocations: 17.39 kB / 0.5082 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3011, allocations: 4 kB / 0.5082 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3011, allocations: 4 kB / 0.5082 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3011, allocations: 3.938 kB / 0.5082 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005081/0.3016, allocations: 0.5366 MB / 0.5087 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3016, allocations: 0 / 0.5087 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.3017, allocations: 11.98 kB / 0.5087 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3017, allocations: 3.938 kB / 0.5087 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3017, allocations: 4 kB / 0.5087 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3017, allocations: 0 / 0.5087 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3017, allocations: 4 kB / 0.5087 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.302, allocations: 322.5 kB / 0.509 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.302, allocations: 88.92 kB / 0.5091 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3021, allocations: 3.938 kB / 0.5091 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.3022, allocations: 23.98 kB / 0.5091 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3023, allocations: 7.984 kB / 0.5092 GB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.3023, allocations: 11.98 kB / 0.5092 GB, free: 9.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.18e-05/0.3024, allocations: 120.2 kB / 0.5093 GB, free: 9.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3024, allocations: 0 / 0.5093 GB, free: 9.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003112/0.3027, allocations: 39.94 kB / 0.5093 GB, free: 9.594 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002984/0.303, allocations: 205.3 kB / 0.5095 GB, free: 9.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.3033, allocations: 116 kB / 0.5096 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3033, allocations: 4 kB / 0.5096 GB, free: 9.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3034, allocations: 51.91 kB / 0.5097 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3038, allocations: 15.98 kB / 0.5097 GB, free: 9.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.3042, allocations: 284 kB / 0.51 GB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3043, allocations: 0.7197 MB / 0.5107 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.692e-05/0.3044, allocations: 20.53 kB / 0.5107 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.3044, allocations: 15.44 kB / 0.5107 GB, free: 8.145 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3044, allocations: 0 / 0.5107 GB, free: 8.145 MB / 382.1 MB Notification: Performance of Templates: time 0.003751/0.3081, allocations: 1.698 MB / 0.5124 GB, free: 6.461 MB / 382.1 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)