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.1841/0.186, allocations: 80.84 MB / 0.5899 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.003448/0.1895, allocations: 1.627 MB / 0.5915 GB, free: 5.344 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.191, allocations: 0.7185 MB / 0.5922 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.1911, allocations: 0 / 0.5922 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1913, allocations: 7.875 kB / 0.5922 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.194e-05/0.1914, allocations: 19.84 kB / 0.5922 GB, free: 4.59 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.0005114/0.1919, allocations: 95.84 kB / 0.5923 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1922, allocations: 135.5 kB / 0.5924 GB, free: 4.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1923, allocations: 33.39 kB / 0.5924 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.1924, allocations: 55.77 kB / 0.5925 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.682e-05/0.1925, allocations: 63.75 kB / 0.5926 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.483e-05/0.1926, allocations: 16 kB / 0.5926 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.1927, allocations: 55.89 kB / 0.5926 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.967e-05/0.1928, allocations: 27.92 kB / 0.5926 GB, free: 4.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.1929, allocations: 63.64 kB / 0.5927 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1931, allocations: 159.5 kB / 0.5929 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1931, allocations: 0 / 0.5929 GB, free: 3.898 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1931, allocations: 0 / 0.5929 GB, free: 3.898 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1931, allocations: 3.938 kB / 0.5929 GB, free: 3.895 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.0008797/0.194, allocations: 0.5429 MB / 0.5934 GB, free: 3.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1941, allocations: 8.031 kB / 0.5934 GB, free: 3.277 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.1941, allocations: 20.75 kB / 0.5934 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1944, allocations: 212.1 kB / 0.5936 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1944, allocations: 8.312 kB / 0.5936 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1944, allocations: 16.3 kB / 0.5936 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.1947, allocations: 135.3 kB / 0.5938 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1948, allocations: 0 / 0.5938 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1948, allocations: 0 / 0.5938 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1948, allocations: 4 kB / 0.5938 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.195, allocations: 63.94 kB / 0.5938 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.1957, allocations: 472.6 kB / 0.5943 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1959, allocations: 89.12 kB / 0.5944 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1961, allocations: 41.81 kB / 0.5944 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.1961, allocations: 11.98 kB / 0.5944 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.1965, allocations: 149 kB / 0.5946 GB, free: 1.938 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.1965, allocations: 0 / 0.5946 GB, free: 1.938 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005439/0.1971, allocations: 189.3 kB / 0.5948 GB, free: 1.746 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.1971, allocations: 77.11 kB / 0.5948 GB, free: 1.652 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1973, allocations: 162.9 kB / 0.595 GB, free: 1.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1973, allocations: 37.7 kB / 0.595 GB, free: 1.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.1974, allocations: 108.3 kB / 0.5951 GB, free: 1.332 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.1974, allocations: 27.66 kB / 0.5951 GB, free: 1.305 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.699e-05/0.1975, allocations: 33.81 kB / 0.5952 GB, free: 1.266 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1977, allocations: 330.7 kB / 0.5955 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1978, allocations: 43.89 kB / 0.5955 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.198, allocations: 118.3 kB / 0.5956 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.1983, allocations: 147.6 kB / 0.5958 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1983, allocations: 0 / 0.5958 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003458/0.1986, allocations: 161.2 kB / 0.5959 GB, free: 412 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1987, allocations: 11.98 kB / 0.596 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1987, allocations: 288 / 0.596 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1987, allocations: 8 kB / 0.596 GB, free: 392 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1988, allocations: 19.92 kB / 0.596 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1988, allocations: 0 / 0.596 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.1989, allocations: 19.92 kB / 0.596 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.199, allocations: 8 kB / 0.596 GB, free: 344 kB / 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.0001421/0.1991, allocations: 130.4 kB / 0.5961 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.1992, allocations: 15.8 kB / 0.5961 GB, free: 188 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.104e-05/0.1992, allocations: 25.34 kB / 0.5962 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1992, allocations: 0 / 0.5962 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1992, allocations: 0 / 0.5962 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1992, allocations: 3.938 kB / 0.5962 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.2001, allocations: 0.525 MB / 0.5967 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2001, allocations: 4.469 kB / 0.5967 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.2002, allocations: 23.92 kB / 0.5967 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2002, allocations: 3.938 kB / 0.5967 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2002, allocations: 0 / 0.5967 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2002, allocations: 4 kB / 0.5967 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.2002, allocations: 7.922 kB / 0.5967 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.2007, allocations: 322.5 kB / 0.597 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.2008, allocations: 92.86 kB / 0.5971 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2008, allocations: 3.938 kB / 0.5971 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.201, allocations: 19.97 kB / 0.5971 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.201, allocations: 11.98 kB / 0.5972 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.2011, allocations: 8 kB / 0.5972 GB, free: 15.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.622e-05/0.2012, allocations: 121.8 kB / 0.5973 GB, free: 14.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2012, allocations: 4 kB / 0.5973 GB, free: 14.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003571/0.2016, allocations: 43.98 kB / 0.5973 GB, free: 14.88 MB / 462.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.0004962/0.2021, allocations: 192.3 kB / 0.5975 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.2025, allocations: 111.8 kB / 0.5976 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.2025, allocations: 0 / 0.5976 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.2027, allocations: 64.39 kB / 0.5977 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.2031, allocations: 14.66 kB / 0.5977 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.2037, allocations: 291.5 kB / 0.598 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004025/0.2041, allocations: 0.7158 MB / 0.5987 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.82e-05/0.2042, allocations: 28.61 kB / 0.5987 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.2043, allocations: 15.44 kB / 0.5987 GB, free: 13.45 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2043, allocations: 0 / 0.5987 GB, free: 13.45 MB / 462.1 MB Notification: Performance of Templates: time 0.006261/0.2105, allocations: 1.694 MB / 0.6004 GB, free: 11.77 MB / 462.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)