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.2117/0.2138, allocations: 80.83 MB / 0.6706 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.003094/0.217, allocations: 1.575 MB / 0.6721 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2183, allocations: 0.7217 MB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.78e-05/0.2184, allocations: 3.938 kB / 0.6728 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2186, allocations: 7.875 kB / 0.6728 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.2186, allocations: 31.72 kB / 0.6729 GB, free: 15.68 MB / 0.5137 GB [/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.0004722/0.2191, allocations: 107.8 kB / 0.673 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.2193, allocations: 143.5 kB / 0.6731 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.2195, allocations: 36.83 kB / 0.6731 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.977e-05/0.2196, allocations: 63.75 kB / 0.6732 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.303e-05/0.2197, allocations: 55.77 kB / 0.6733 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.2197, allocations: 12 kB / 0.6733 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.2199, allocations: 51.95 kB / 0.6733 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.22, allocations: 31.84 kB / 0.6734 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.22, allocations: 63.59 kB / 0.6734 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.2203, allocations: 159.5 kB / 0.6736 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2203, allocations: 0 / 0.6736 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.008e-06/0.2204, allocations: 3.984 kB / 0.6736 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.2204, allocations: 4 kB / 0.6736 GB, free: 14.96 MB / 0.5137 GB 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.001047/0.2214, allocations: 0.539 MB / 0.6741 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.2215, allocations: 12.03 kB / 0.6741 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.2215, allocations: 16.75 kB / 0.6741 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.2218, allocations: 223.9 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2218, allocations: 8.375 kB / 0.6743 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.2219, allocations: 12.38 kB / 0.6744 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.2222, allocations: 127.6 kB / 0.6745 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2222, allocations: 0 / 0.6745 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.2222, allocations: 8 kB / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2223, allocations: 0 / 0.6745 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.2225, allocations: 71.94 kB / 0.6746 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006285/0.2231, allocations: 460.7 kB / 0.675 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.2233, allocations: 85.12 kB / 0.6751 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.2235, allocations: 49.81 kB / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.2235, allocations: 0 / 0.6751 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003633/0.2239, allocations: 148.9 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.2239, allocations: 0 / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005726/0.2245, allocations: 189.4 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.2245, allocations: 81.11 kB / 0.6755 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.2247, allocations: 171.5 kB / 0.6757 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.2248, allocations: 33.7 kB / 0.6757 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.2248, allocations: 108.4 kB / 0.6758 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.2249, allocations: 27.56 kB / 0.6759 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.2249, allocations: 33.7 kB / 0.6759 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.2251, allocations: 334.8 kB / 0.6762 GB, free: 12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.2253, allocations: 35.97 kB / 0.6762 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.2255, allocations: 122.2 kB / 0.6764 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.2257, allocations: 143.6 kB / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2257, allocations: 384 / 0.6765 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003494/0.2261, allocations: 165.3 kB / 0.6766 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2261, allocations: 8 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2261, allocations: 288 / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2262, allocations: 11.94 kB / 0.6767 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.2263, allocations: 15.98 kB / 0.6767 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.2263, allocations: 7.938 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.842e-05/0.2264, allocations: 23.83 kB / 0.6767 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2264, allocations: 8 kB / 0.6767 GB, free: 11.4 MB / 0.5137 GB 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.0001148/0.2265, allocations: 137.9 kB / 0.6769 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.2266, allocations: 15.84 kB / 0.6769 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.2266, allocations: 21.41 kB / 0.6769 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2266, allocations: 0 / 0.6769 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2267, allocations: 0 / 0.6769 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2267, allocations: 11.92 kB / 0.6769 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006814/0.2274, allocations: 0.5249 MB / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2274, allocations: 0 / 0.6774 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.2275, allocations: 11.98 kB / 0.6774 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.2275, allocations: 11.88 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2275, allocations: 7.984 kB / 0.6774 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2275, allocations: 0 / 0.6774 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2275, allocations: 0 / 0.6774 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.2279, allocations: 314.6 kB / 0.6777 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.228, allocations: 89.02 kB / 0.6778 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.228, allocations: 7.938 kB / 0.6778 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2282, allocations: 19.97 kB / 0.6779 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.2282, allocations: 11.98 kB / 0.6779 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.2283, allocations: 7.938 kB / 0.6779 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.06e-05/0.2284, allocations: 119.2 kB / 0.678 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2284, allocations: 0 / 0.678 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003787/0.2288, allocations: 47.89 kB / 0.678 GB, free: 9.938 MB / 0.5137 GB 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.0004028/0.2292, allocations: 197.4 kB / 0.6782 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000392/0.2296, allocations: 107.8 kB / 0.6783 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2296, allocations: 0 / 0.6783 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2298, allocations: 55.89 kB / 0.6784 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.2302, allocations: 28.47 kB / 0.6784 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.2307, allocations: 239.8 kB / 0.6786 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.2309, allocations: 0.7119 MB / 0.6793 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.412e-05/0.231, allocations: 24.62 kB / 0.6794 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.2311, allocations: 15.44 kB / 0.6794 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.2311, allocations: 0 / 0.6794 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of Templates: time 0.005183/0.2362, allocations: 1.771 MB / 0.6811 GB, free: 6.785 MB / 0.5137 GB 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)