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.2034/0.2058, allocations: 80.84 MB / 0.6706 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.004574/0.2105, allocations: 1.563 MB / 0.6721 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.2122, allocations: 0.7263 MB / 0.6728 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.2123, allocations: 0 / 0.6728 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.2125, allocations: 11.81 kB / 0.6728 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.606e-05/0.2126, allocations: 23.78 kB / 0.6729 GB, free: 2.281 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.0006062/0.2132, allocations: 107.7 kB / 0.673 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.2135, allocations: 139.5 kB / 0.6731 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.2137, allocations: 33.05 kB / 0.6731 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.2138, allocations: 59.81 kB / 0.6732 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.214, allocations: 71.62 kB / 0.6733 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.899e-05/0.214, allocations: 8 kB / 0.6733 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.2142, allocations: 55.91 kB / 0.6733 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.49e-05/0.2142, allocations: 31.89 kB / 0.6733 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.2144, allocations: 59.67 kB / 0.6734 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.2147, allocations: 167.5 kB / 0.6736 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2147, allocations: 0 / 0.6736 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.546e-06/0.2147, allocations: 0 / 0.6736 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.2147, allocations: 0 / 0.6736 GB, free: 1.562 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.001064/0.2158, allocations: 0.5351 MB / 0.6741 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2159, allocations: 8.031 kB / 0.6741 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.168e-05/0.216, allocations: 12.84 kB / 0.6741 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.2163, allocations: 232.3 kB / 0.6743 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.2163, allocations: 12.38 kB / 0.6743 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.2163, allocations: 8.375 kB / 0.6743 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.2167, allocations: 130.7 kB / 0.6745 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2167, allocations: 0 / 0.6745 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.2167, allocations: 4 kB / 0.6745 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2168, allocations: 4 kB / 0.6745 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.217, allocations: 71.88 kB / 0.6745 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.2179, allocations: 460.8 kB / 0.675 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.2182, allocations: 85.12 kB / 0.6751 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.2183, allocations: 45.81 kB / 0.6751 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.2184, allocations: 4 kB / 0.6751 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.2188, allocations: 145 kB / 0.6753 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.834e-06/0.2189, allocations: 4 kB / 0.6753 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000645/0.2195, allocations: 185.3 kB / 0.6754 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.2196, allocations: 81.05 kB / 0.6755 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2197, allocations: 171.7 kB / 0.6757 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.2198, allocations: 37.64 kB / 0.6757 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.2199, allocations: 108.4 kB / 0.6758 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.2199, allocations: 35.53 kB / 0.6758 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.22, allocations: 33.72 kB / 0.6759 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.2201, allocations: 335.1 kB / 0.6762 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.2202, allocations: 35.97 kB / 0.6762 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.2204, allocations: 118.3 kB / 0.6763 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.2208, allocations: 147.5 kB / 0.6765 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2208, allocations: 3.938 kB / 0.6765 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004393/0.2212, allocations: 165.2 kB / 0.6767 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2212, allocations: 4 kB / 0.6767 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2213, allocations: 12.28 kB / 0.6767 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2213, allocations: 4 kB / 0.6767 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.2214, allocations: 15.92 kB / 0.6767 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.2214, allocations: 7.984 kB / 0.6767 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2215, allocations: 19.92 kB / 0.6767 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2216, allocations: 8 kB / 0.6767 GB, free: 13.99 MB / 0.5294 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.0001301/0.2217, allocations: 137.7 kB / 0.6769 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.2217, allocations: 11.91 kB / 0.6769 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.2218, allocations: 21.41 kB / 0.6769 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.2218, allocations: 4 kB / 0.6769 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2218, allocations: 240 / 0.6769 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2218, allocations: 7.922 kB / 0.6769 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/0.2226, allocations: 0.5249 MB / 0.6774 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2226, allocations: 0 / 0.6774 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.2227, allocations: 19.98 kB / 0.6774 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.2227, allocations: 3.938 kB / 0.6774 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.2227, allocations: 7.984 kB / 0.6774 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2227, allocations: 4 kB / 0.6774 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2228, allocations: 0 / 0.6774 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.2233, allocations: 318.5 kB / 0.6777 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2234, allocations: 89.02 kB / 0.6778 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.2234, allocations: 7.938 kB / 0.6778 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.2236, allocations: 15.97 kB / 0.6779 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.2237, allocations: 11.98 kB / 0.6779 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.2237, allocations: 8 kB / 0.6779 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.701e-05/0.2238, allocations: 119.2 kB / 0.678 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2238, allocations: 0 / 0.678 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003568/0.2242, allocations: 43.89 kB / 0.678 GB, free: 12.54 MB / 0.5294 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.0004069/0.2246, allocations: 197.5 kB / 0.6782 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003833/0.225, allocations: 107.7 kB / 0.6783 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.225, allocations: 0 / 0.6783 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.2252, allocations: 60.45 kB / 0.6784 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2256, allocations: 27.92 kB / 0.6784 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.2261, allocations: 243.6 kB / 0.6786 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2264, allocations: 0.708 MB / 0.6793 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.98e-05/0.2265, allocations: 24.53 kB / 0.6793 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.2265, allocations: 15.44 kB / 0.6794 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of SimCode: time 2e-07/0.2265, allocations: 0 / 0.6794 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.006534/0.2331, allocations: 1.827 MB / 0.6811 GB, free: 9.324 MB / 0.5294 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)