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.2176/0.2194, allocations: 80.84 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.003208/0.2227, allocations: 1.623 MB / 0.5913 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2241, allocations: 0.7224 MB / 0.592 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.351e-05/0.2242, allocations: 0 / 0.592 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.2243, allocations: 15.86 kB / 0.592 GB, free: 4.738 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.2244, allocations: 7.875 kB / 0.592 GB, free: 4.73 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.0004359/0.2248, allocations: 99.83 kB / 0.5921 GB, free: 4.633 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.225, allocations: 139.5 kB / 0.5922 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2252, allocations: 33.39 kB / 0.5922 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.689e-05/0.2253, allocations: 43.84 kB / 0.5923 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.064e-05/0.2254, allocations: 55.75 kB / 0.5923 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.2254, allocations: 8 kB / 0.5923 GB, free: 4.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.2255, allocations: 51.89 kB / 0.5924 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.2256, allocations: 31.84 kB / 0.5924 GB, free: 4.277 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.2256, allocations: 55.67 kB / 0.5925 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.2259, allocations: 163.5 kB / 0.5926 GB, free: 4.062 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2259, allocations: 0 / 0.5926 GB, free: 4.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2259, allocations: 0 / 0.5926 GB, free: 4.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2259, allocations: 0 / 0.5926 GB, free: 4.062 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.0008628/0.2268, allocations: 0.5424 MB / 0.5932 GB, free: 3.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2268, allocations: 11.97 kB / 0.5932 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.2269, allocations: 20.73 kB / 0.5932 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.2272, allocations: 212.1 kB / 0.5934 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.2272, allocations: 4.375 kB / 0.5934 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.2272, allocations: 12.38 kB / 0.5934 GB, free: 3.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.2275, allocations: 135.6 kB / 0.5935 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2275, allocations: 0 / 0.5935 GB, free: 3.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.2276, allocations: 7.984 kB / 0.5936 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2276, allocations: 7.984 kB / 0.5936 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.2278, allocations: 63.88 kB / 0.5936 GB, free: 2.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.2285, allocations: 464.7 kB / 0.5941 GB, free: 2.434 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.2287, allocations: 85.12 kB / 0.5941 GB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.2288, allocations: 53.8 kB / 0.5942 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.2288, allocations: 4 kB / 0.5942 GB, free: 2.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.2292, allocations: 141 kB / 0.5943 GB, free: 2.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 3.206e-06/0.2292, allocations: 4 kB / 0.5943 GB, free: 2.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005623/0.2298, allocations: 185.3 kB / 0.5945 GB, free: 1.922 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.2299, allocations: 85.09 kB / 0.5946 GB, free: 1.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.23, allocations: 154.9 kB / 0.5947 GB, free: 1.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.23, allocations: 33.7 kB / 0.5948 GB, free: 1.621 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.2301, allocations: 112.3 kB / 0.5949 GB, free: 1.508 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.2301, allocations: 35.62 kB / 0.5949 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.2302, allocations: 33.7 kB / 0.5949 GB, free: 1.434 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.2303, allocations: 330.8 kB / 0.5953 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.2304, allocations: 31.97 kB / 0.5953 GB, free: 1.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.2306, allocations: 122.2 kB / 0.5954 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.2309, allocations: 147.5 kB / 0.5956 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2309, allocations: 0 / 0.5956 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003387/0.2313, allocations: 165.2 kB / 0.5957 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2313, allocations: 6.031 kB / 0.5957 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2313, allocations: 4 kB / 0.5957 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2313, allocations: 4 kB / 0.5957 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.2314, allocations: 16.27 kB / 0.5957 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2315, allocations: 11.94 kB / 0.5958 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.504e-05/0.2316, allocations: 15.92 kB / 0.5958 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.2316, allocations: 8 kB / 0.5958 GB, free: 0.5117 MB / 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.0001179/0.2317, allocations: 130.4 kB / 0.5959 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.2317, allocations: 15.81 kB / 0.5959 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.2318, allocations: 17.39 kB / 0.5959 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2318, allocations: 4 kB / 0.5959 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2318, allocations: 4 kB / 0.5959 GB, free: 344 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2318, allocations: 3.938 kB / 0.5959 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/0.2326, allocations: 0.537 MB / 0.5965 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2326, allocations: 4 kB / 0.5965 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.2327, allocations: 19.92 kB / 0.5965 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.2327, allocations: 8.219 kB / 0.5965 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2327, allocations: 0 / 0.5965 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.2327, allocations: 3.938 kB / 0.5965 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2327, allocations: 4 kB / 0.5965 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.2331, allocations: 314.6 kB / 0.5968 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.2332, allocations: 92.92 kB / 0.5969 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.2332, allocations: 11.92 kB / 0.5969 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2334, allocations: 15.98 kB / 0.5969 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.2335, allocations: 11.92 kB / 0.5969 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.2335, allocations: 15.98 kB / 0.5969 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.044e-05/0.2336, allocations: 117.8 kB / 0.5971 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2336, allocations: 0 / 0.5971 GB, free: 15.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003574/0.234, allocations: 40 kB / 0.5971 GB, free: 15.05 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.0004616/0.2344, allocations: 200.5 kB / 0.5973 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.2348, allocations: 111.8 kB / 0.5974 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2348, allocations: 0 / 0.5974 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.235, allocations: 55.81 kB / 0.5974 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.2354, allocations: 28.55 kB / 0.5975 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.236, allocations: 281.5 kB / 0.5977 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.2363, allocations: 0.7121 MB / 0.5984 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.378e-05/0.2364, allocations: 24.47 kB / 0.5985 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.2365, allocations: 15.44 kB / 0.5985 GB, free: 13.63 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2365, allocations: 4 kB / 0.5985 GB, free: 13.62 MB / 462.1 MB Notification: Performance of Templates: time 0.005112/0.2416, allocations: 1.634 MB / 0.6001 GB, free: 12.01 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)