Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer") translateModel(Buildings.Utilities.Reports.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.488/0.4904, allocations: 80.82 MB / 0.5904 GB, free: 22.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.0032/0.4937, allocations: 1.572 MB / 0.5919 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.495, allocations: 0.7236 MB / 0.5926 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.4951, allocations: 1 kB / 0.5926 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.4952, allocations: 13.91 kB / 0.5927 GB, free: 20.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.4953, allocations: 22.16 kB / 0.5927 GB, free: 20.39 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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.0004464/0.4957, allocations: 106.1 kB / 0.5928 GB, free: 20.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.4959, allocations: 143.2 kB / 0.5929 GB, free: 20.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.4961, allocations: 33.7 kB / 0.5929 GB, free: 20.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.205e-05/0.4961, allocations: 57.05 kB / 0.593 GB, free: 20.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.674e-05/0.4962, allocations: 59.77 kB / 0.5931 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.4963, allocations: 11.94 kB / 0.5931 GB, free: 20.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.4964, allocations: 56.45 kB / 0.5931 GB, free: 19.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.4964, allocations: 32.5 kB / 0.5932 GB, free: 19.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.4965, allocations: 59.66 kB / 0.5932 GB, free: 19.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002065/0.4967, allocations: 160.5 kB / 0.5934 GB, free: 19.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4967, allocations: 4 kB / 0.5934 GB, free: 19.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4967, allocations: 0.5312 kB / 0.5934 GB, free: 19.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4968, allocations: 0 / 0.5934 GB, free: 19.74 MB / 446.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.0007916/0.4976, allocations: 0.5504 MB / 0.5939 GB, free: 19.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4976, allocations: 8.031 kB / 0.5939 GB, free: 19.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.4977, allocations: 12.84 kB / 0.5939 GB, free: 19.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.4978, allocations: 218.8 kB / 0.5941 GB, free: 18.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4979, allocations: 12.31 kB / 0.5941 GB, free: 18.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4979, allocations: 12.38 kB / 0.5942 GB, free: 18.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.4982, allocations: 131.6 kB / 0.5943 GB, free: 18.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4982, allocations: 0 / 0.5943 GB, free: 18.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.4982, allocations: 11.67 kB / 0.5943 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4982, allocations: 0 / 0.5943 GB, free: 18.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.4985, allocations: 71.88 kB / 0.5944 GB, free: 18.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.499, allocations: 456.5 kB / 0.5948 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.4992, allocations: 89.11 kB / 0.5949 GB, free: 18.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4993, allocations: 49 kB / 0.5949 GB, free: 17.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.4994, allocations: 3.984 kB / 0.5949 GB, free: 17.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.4996, allocations: 145 kB / 0.5951 GB, free: 17.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4996, allocations: 0 / 0.5951 GB, free: 17.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005254/0.5002, allocations: 185.3 kB / 0.5952 GB, free: 17.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.5002, allocations: 85.09 kB / 0.5953 GB, free: 17.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.5003, allocations: 158.9 kB / 0.5955 GB, free: 17.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.5004, allocations: 37.7 kB / 0.5955 GB, free: 17.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.5004, allocations: 112.2 kB / 0.5956 GB, free: 17.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.5005, allocations: 23.7 kB / 0.5956 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.5005, allocations: 37.7 kB / 0.5957 GB, free: 17.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8e-05/0.5006, allocations: 334.7 kB / 0.596 GB, free: 16.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.5007, allocations: 31.97 kB / 0.596 GB, free: 16.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.5009, allocations: 114.4 kB / 0.5961 GB, free: 16.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.5011, allocations: 155.5 kB / 0.5963 GB, free: 16.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5012, allocations: 4 kB / 0.5963 GB, free: 16.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003049/0.5015, allocations: 161.6 kB / 0.5964 GB, free: 16.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5015, allocations: 4 kB / 0.5965 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5015, allocations: 4.281 kB / 0.5965 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.5015, allocations: 4 kB / 0.5965 GB, free: 16.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5017, allocations: 27.86 kB / 0.5965 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.5017, allocations: 4 kB / 0.5965 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.161e-05/0.5018, allocations: 19.86 kB / 0.5965 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.5018, allocations: 8 kB / 0.5965 GB, free: 16.19 MB / 446.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 0.0001113/0.5019, allocations: 137.8 kB / 0.5966 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.502, allocations: 11.91 kB / 0.5967 GB, free: 16.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.502, allocations: 21.39 kB / 0.5967 GB, free: 16.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.502, allocations: 4 kB / 0.5967 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.502, allocations: 0 / 0.5967 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.5021, allocations: 3.938 kB / 0.5967 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.5027, allocations: 0.5329 MB / 0.5972 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5027, allocations: 48 / 0.5972 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.941e-05/0.5028, allocations: 23.97 kB / 0.5972 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.5028, allocations: 7.938 kB / 0.5972 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5028, allocations: 0 / 0.5972 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5028, allocations: 0 / 0.5972 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.5028, allocations: 0 / 0.5972 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.5032, allocations: 327.5 kB / 0.5976 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.5032, allocations: 92.91 kB / 0.5976 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.5033, allocations: 7.938 kB / 0.5976 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.5034, allocations: 15.98 kB / 0.5977 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.5035, allocations: 7.984 kB / 0.5977 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.5035, allocations: 15.98 kB / 0.5977 GB, free: 14.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.395e-05/0.5036, allocations: 115.2 kB / 0.5978 GB, free: 14.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5036, allocations: 4 kB / 0.5978 GB, free: 14.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.5039, allocations: 39.94 kB / 0.5978 GB, free: 14.74 MB / 446.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.0004015/0.5044, allocations: 189.5 kB / 0.598 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.5047, allocations: 115.7 kB / 0.5981 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5047, allocations: 4 kB / 0.5981 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.5049, allocations: 52.47 kB / 0.5982 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.5053, allocations: 23.98 kB / 0.5982 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.5057, allocations: 255.2 kB / 0.5984 GB, free: 14.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.5059, allocations: 0.7119 MB / 0.5991 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.135e-05/0.506, allocations: 24.53 kB / 0.5992 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.506, allocations: 15.44 kB / 0.5992 GB, free: 13.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.506, allocations: 3.938 kB / 0.5992 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Templates: time 0.004964/0.511, allocations: 1.776 MB / 0.6009 GB, free: 11.59 MB / 446.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.sim & ./Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.pipe 2>&1)