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.19/0.1908, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.001839/0.1926, allocations: 1.265 MB / 0.5946 GB, free: 4.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1939, allocations: 0.6802 MB / 0.5953 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.194, allocations: 0 / 0.5953 GB, free: 4.039 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.133e-05/0.1941, allocations: 11.86 kB / 0.5953 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.1941, allocations: 15.97 kB / 0.5953 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1945, allocations: 91.78 kB / 0.5954 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1947, allocations: 87.8 kB / 0.5955 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1948, allocations: 33.05 kB / 0.5955 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.1949, allocations: 39.84 kB / 0.5955 GB, free: 3.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.195, allocations: 55.75 kB / 0.5956 GB, free: 3.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.195, allocations: 4 kB / 0.5956 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.868e-05/0.1951, allocations: 39.91 kB / 0.5956 GB, free: 3.668 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.1952, allocations: 23.91 kB / 0.5956 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.784e-05/0.1952, allocations: 45.64 kB / 0.5957 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.1954, allocations: 108 kB / 0.5958 GB, free: 3.488 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1954, allocations: 0 / 0.5958 GB, free: 3.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1954, allocations: 0 / 0.5958 GB, free: 3.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1954, allocations: 0 / 0.5958 GB, free: 3.488 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.0008273/0.1963, allocations: 0.531 MB / 0.5963 GB, free: 2.891 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1963, allocations: 12.03 kB / 0.5963 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1964, allocations: 15.91 kB / 0.5963 GB, free: 2.863 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.1966, allocations: 210.7 kB / 0.5965 GB, free: 2.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1966, allocations: 11.94 kB / 0.5965 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1967, allocations: 11.94 kB / 0.5966 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.197, allocations: 139.3 kB / 0.5967 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.197, allocations: 0 / 0.5967 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.197, allocations: 3.938 kB / 0.5967 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.197, allocations: 4 kB / 0.5967 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.1973, allocations: 83.88 kB / 0.5968 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.198, allocations: 468.8 kB / 0.5972 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1982, allocations: 97.11 kB / 0.5973 GB, free: 1.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1982, allocations: 4.125 kB / 0.5973 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.1986, allocations: 156.9 kB / 0.5975 GB, free: 1.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1986, allocations: 0 / 0.5975 GB, free: 1.555 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000615/0.1992, allocations: 201.4 kB / 0.5977 GB, free: 1.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.1993, allocations: 81.11 kB / 0.5977 GB, free: 1.254 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1995, allocations: 166.8 kB / 0.5979 GB, free: 1.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1995, allocations: 29.7 kB / 0.5979 GB, free: 1.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.1996, allocations: 104.4 kB / 0.598 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1996, allocations: 39.55 kB / 0.5981 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.1997, allocations: 0 / 0.5981 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.1998, allocations: 330.8 kB / 0.5984 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1999, allocations: 47.89 kB / 0.5984 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.2001, allocations: 122.3 kB / 0.5985 GB, free: 376 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.2003, allocations: 52.09 kB / 0.5986 GB, free: 324 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2003, allocations: 7.875 kB / 0.5986 GB, free: 316 kB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000364/0.2007, allocations: 181.5 kB / 0.5988 GB, free: 128 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2007, allocations: 8 kB / 0.5988 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2007, allocations: 0 / 0.5988 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2007, allocations: 4 kB / 0.5988 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.2008, allocations: 23.98 kB / 0.5988 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2009, allocations: 0 / 0.5988 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.62e-05/0.201, allocations: 19.89 kB / 0.5988 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.201, allocations: 16.09 kB / 0.5988 GB, free: 56 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 ($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 0.0001549/0.2011, allocations: 144.6 kB / 0.599 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.2012, allocations: 12.28 kB / 0.599 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.2012, allocations: 13.41 kB / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2012, allocations: 0 / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2012, allocations: 0 / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2013, allocations: 7.922 kB / 0.599 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.202, allocations: 0.556 MB / 0.5996 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.202, allocations: 0 / 0.5996 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.2021, allocations: 19.98 kB / 0.5996 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2021, allocations: 0 / 0.5996 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2021, allocations: 7.984 kB / 0.5996 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2021, allocations: 3.938 kB / 0.5996 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2021, allocations: 0 / 0.5996 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.2025, allocations: 348.2 kB / 0.5999 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.2026, allocations: 85.02 kB / 0.6 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.2026, allocations: 8 kB / 0.6 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2028, allocations: 27.97 kB / 0.6 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.2029, allocations: 16.22 kB / 0.6 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.156e-05/0.2029, allocations: 8 kB / 0.6001 GB, free: 14.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.924e-05/0.203, allocations: 117.8 kB / 0.6002 GB, free: 14.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.203, allocations: 0 / 0.6002 GB, free: 14.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.2034, allocations: 43.89 kB / 0.6002 GB, free: 14.55 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 (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.0004049/0.2038, allocations: 195.4 kB / 0.6004 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003565/0.2042, allocations: 123.8 kB / 0.6005 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2042, allocations: 0.5625 kB / 0.6005 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.2044, allocations: 63.95 kB / 0.6006 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.2046, allocations: 20.05 kB / 0.6006 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.2052, allocations: 270.8 kB / 0.6008 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.2056, allocations: 0.7199 MB / 0.6016 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.2056, allocations: 20.53 kB / 0.6016 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.2057, allocations: 15.44 kB / 0.6016 GB, free: 13.12 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2057, allocations: 0 / 0.6016 GB, free: 13.12 MB / 462.1 MB Notification: Performance of Templates: time 0.005111/0.2108, allocations: 1.565 MB / 0.6031 GB, free: 11.57 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Reports.Examples.Printer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: