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.0009035/0.0009034, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007255/0.007255, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.808/1.808, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.6119/0.6119, allocations: 95.63 MB / 366.4 MB, free: 10.3 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.000588/0.0005878, allocations: 23.98 kB / 447.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4015, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.001595/0.4031, allocations: 1.27 MB / 0.5069 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.4043, allocations: 0.7177 MB / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.4044, allocations: 0 / 0.5076 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.4045, allocations: 3.938 kB / 0.5076 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.4046, allocations: 23.78 kB / 0.5076 GB, free: 14.31 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.0004151/0.405, allocations: 95.84 kB / 0.5077 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.4051, allocations: 123.6 kB / 0.5078 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.4053, allocations: 29.11 kB / 0.5079 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.4054, allocations: 47.78 kB / 0.5079 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.4054, allocations: 59.69 kB / 0.508 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.4055, allocations: 4 kB / 0.508 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.4056, allocations: 47.95 kB / 0.508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.4056, allocations: 19.92 kB / 0.508 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.4057, allocations: 85.34 kB / 0.5081 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.4059, allocations: 149.5 kB / 0.5083 GB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4059, allocations: 0 / 0.5083 GB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4059, allocations: 0 / 0.5083 GB, free: 13.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.4059, allocations: 0 / 0.5083 GB, free: 13.65 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.0006903/0.4066, allocations: 0.5429 MB / 0.5088 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4066, allocations: 11.98 kB / 0.5088 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.4067, allocations: 20.69 kB / 0.5088 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.4069, allocations: 212.1 kB / 0.509 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.4069, allocations: 8.359 kB / 0.509 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4069, allocations: 12.38 kB / 0.509 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.4072, allocations: 135.7 kB / 0.5092 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4072, allocations: 0 / 0.5092 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4072, allocations: 7.938 kB / 0.5092 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4073, allocations: 3.938 kB / 0.5092 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.4075, allocations: 87.88 kB / 0.5093 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.4081, allocations: 472.7 kB / 0.5097 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.4082, allocations: 85.19 kB / 0.5098 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.4084, allocations: 57.81 kB / 0.5099 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.4084, allocations: 11.98 kB / 0.5099 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.4087, allocations: 153 kB / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.4087, allocations: 0 / 0.51 GB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005086/0.4092, allocations: 209.3 kB / 0.5102 GB, free: 11.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.4092, allocations: 85.09 kB / 0.5103 GB, free: 11.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.4093, allocations: 163.6 kB / 0.5104 GB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.4094, allocations: 33.7 kB / 0.5105 GB, free: 11.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.4094, allocations: 112.2 kB / 0.5106 GB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.4095, allocations: 27.72 kB / 0.5106 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.4095, allocations: 21.7 kB / 0.5106 GB, free: 10.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.541e-05/0.4095, allocations: 326.8 kB / 0.5109 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.4097, allocations: 39.97 kB / 0.511 GB, free: 10.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.4098, allocations: 129.4 kB / 0.5111 GB, free: 10.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/0.4101, allocations: 159.5 kB / 0.5113 GB, free: 10.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4101, allocations: 112 / 0.5113 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003179/0.4104, allocations: 189.2 kB / 0.5114 GB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.4105, allocations: 4.281 kB / 0.5114 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4105, allocations: 8 kB / 0.5115 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4105, allocations: 0 / 0.5115 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.4106, allocations: 23.92 kB / 0.5115 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4106, allocations: 7.984 kB / 0.5115 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.4107, allocations: 23.88 kB / 0.5115 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4107, allocations: 4 kB / 0.5115 GB, free: 9.984 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 8.292e-05/0.4108, allocations: 137.8 kB / 0.5116 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.4109, allocations: 15.81 kB / 0.5117 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.4109, allocations: 21.39 kB / 0.5117 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4109, allocations: 0 / 0.5117 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4109, allocations: 384 / 0.5117 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4109, allocations: 7.938 kB / 0.5117 GB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.4115, allocations: 0.5444 MB / 0.5122 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4115, allocations: 0 / 0.5122 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.4115, allocations: 15.98 kB / 0.5122 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4116, allocations: 11.94 kB / 0.5122 GB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4116, allocations: 4 kB / 0.5122 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4116, allocations: 0 / 0.5122 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4116, allocations: 0 / 0.5122 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.4119, allocations: 350.4 kB / 0.5126 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.412, allocations: 88.92 kB / 0.5127 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.412, allocations: 3.938 kB / 0.5127 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.4122, allocations: 23.98 kB / 0.5127 GB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.4122, allocations: 11.98 kB / 0.5127 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.4123, allocations: 7.984 kB / 0.5127 GB, free: 8.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.4123, allocations: 124.2 kB / 0.5128 GB, free: 8.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4123, allocations: 0 / 0.5128 GB, free: 8.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003237/0.4127, allocations: 35.94 kB / 0.5129 GB, free: 8.5 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.0003475/0.413, allocations: 206.2 kB / 0.5131 GB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.4133, allocations: 119.9 kB / 0.5132 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4134, allocations: 3.938 kB / 0.5132 GB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.4135, allocations: 60.53 kB / 0.5132 GB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4139, allocations: 20.11 kB / 0.5133 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/0.4143, allocations: 298.6 kB / 0.5135 GB, free: 7.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.4145, allocations: 0.7121 MB / 0.5142 GB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.063e-05/0.4145, allocations: 24.53 kB / 0.5143 GB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.744e-05/0.4146, allocations: 15.44 kB / 0.5143 GB, free: 7.027 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4146, allocations: 0 / 0.5143 GB, free: 7.027 MB / 382.1 MB Notification: Performance of Templates: time 0.004049/0.4186, allocations: 1.606 MB / 0.5158 GB, free: 5.434 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: