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.203/0.2053, allocations: 80.84 MB / 0.6706 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.002969/0.2083, allocations: 1.566 MB / 0.6721 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.2097, allocations: 0.7216 MB / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.2098, allocations: 0 / 0.6728 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.21, allocations: 11.86 kB / 0.6728 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.21, allocations: 19.75 kB / 0.6729 GB, free: 15.71 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.0004857/0.2105, allocations: 119.7 kB / 0.673 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001971/0.2107, allocations: 143.5 kB / 0.6731 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2109, allocations: 44.75 kB / 0.6732 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.306e-05/0.211, allocations: 47.84 kB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.067e-05/0.2111, allocations: 71.73 kB / 0.6733 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2111, allocations: 12 kB / 0.6733 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2112, allocations: 47.95 kB / 0.6733 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.2113, allocations: 31.86 kB / 0.6734 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.2114, allocations: 63.64 kB / 0.6734 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.2117, allocations: 159.5 kB / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2117, allocations: 0 / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2117, allocations: 0 / 0.6736 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.2117, allocations: 0 / 0.6736 GB, free: 14.98 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.0008778/0.2126, allocations: 0.5468 MB / 0.6741 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2126, allocations: 8.031 kB / 0.6741 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.139e-05/0.2127, allocations: 20.75 kB / 0.6741 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2129, allocations: 223.9 kB / 0.6743 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2129, allocations: 4.375 kB / 0.6743 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.213, allocations: 12.38 kB / 0.6744 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.2133, allocations: 135.6 kB / 0.6745 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2133, allocations: 0 / 0.6745 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.2133, allocations: 0 / 0.6745 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2133, allocations: 4 kB / 0.6745 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.2136, allocations: 67.94 kB / 0.6746 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.2143, allocations: 460.8 kB / 0.675 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.2145, allocations: 85.11 kB / 0.6751 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.2147, allocations: 45.81 kB / 0.6751 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.2147, allocations: 4 kB / 0.6751 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003046/0.215, allocations: 148.9 kB / 0.6753 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.215, allocations: 0 / 0.6753 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006419/0.2157, allocations: 185.4 kB / 0.6754 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/0.2159, allocations: 81.09 kB / 0.6755 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.2162, allocations: 171.5 kB / 0.6757 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.2162, allocations: 41.69 kB / 0.6757 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.2163, allocations: 104.4 kB / 0.6758 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.2164, allocations: 31.56 kB / 0.6759 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.661e-05/0.2165, allocations: 33.7 kB / 0.6759 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2166, allocations: 326.8 kB / 0.6762 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2168, allocations: 35.97 kB / 0.6762 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.217, allocations: 122.2 kB / 0.6763 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.2173, allocations: 147.5 kB / 0.6765 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2173, allocations: 4 kB / 0.6765 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003655/0.2177, allocations: 157.3 kB / 0.6766 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2177, allocations: 10.34 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2177, allocations: 288 / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2178, allocations: 8 kB / 0.6767 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.2179, allocations: 19.97 kB / 0.6767 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.2179, allocations: 3.938 kB / 0.6767 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.218, allocations: 23.83 kB / 0.6767 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.218, allocations: 8.484 kB / 0.6767 GB, free: 11.42 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.0001328/0.2182, allocations: 137.7 kB / 0.6768 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.2182, allocations: 11.91 kB / 0.6769 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.764e-05/0.2183, allocations: 25.39 kB / 0.6769 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2183, allocations: 3.938 kB / 0.6769 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2183, allocations: 240 / 0.6769 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2183, allocations: 3.938 kB / 0.6769 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.2191, allocations: 0.5366 MB / 0.6774 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2191, allocations: 4 kB / 0.6774 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.2192, allocations: 23.92 kB / 0.6774 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2192, allocations: 3.938 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2192, allocations: 0 / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2192, allocations: 4 kB / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2193, allocations: 0 / 0.6774 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.2197, allocations: 322.6 kB / 0.6778 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.395e-05/0.2198, allocations: 85.02 kB / 0.6778 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.2198, allocations: 3.938 kB / 0.6778 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.22, allocations: 15.98 kB / 0.6779 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.22, allocations: 15.86 kB / 0.6779 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.2201, allocations: 11.98 kB / 0.6779 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.62e-05/0.2202, allocations: 119.2 kB / 0.678 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2202, allocations: 0 / 0.678 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003475/0.2205, allocations: 43.91 kB / 0.678 GB, free: 9.949 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.000443/0.221, allocations: 192 kB / 0.6782 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003825/0.2214, allocations: 103.8 kB / 0.6783 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.2214, allocations: 4 kB / 0.6783 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.2216, allocations: 52.47 kB / 0.6784 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.222, allocations: 32.05 kB / 0.6784 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005007/0.2225, allocations: 239.7 kB / 0.6786 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.2228, allocations: 0.7119 MB / 0.6793 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.357e-05/0.2229, allocations: 24.53 kB / 0.6794 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.2229, allocations: 15.44 kB / 0.6794 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2229, allocations: 0 / 0.6794 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.005573/0.2285, allocations: 1.772 MB / 0.6811 GB, free: 6.797 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)