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.1968/0.1975, allocations: 82.22 MB / 0.5935 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Reports.Examples.Printer): time 0.002057/0.1996, allocations: 1.26 MB / 0.5947 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.201, allocations: 0.6877 MB / 0.5954 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.2011, allocations: 0 / 0.5954 GB, free: 4.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.2012, allocations: 3.938 kB / 0.5954 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.999e-05/0.2013, allocations: 23.78 kB / 0.5954 GB, free: 3.988 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.0004741/0.2018, allocations: 87.84 kB / 0.5955 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.202, allocations: 131.5 kB / 0.5956 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2022, allocations: 17.12 kB / 0.5956 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.2023, allocations: 39.84 kB / 0.5957 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.902e-05/0.2024, allocations: 59.73 kB / 0.5957 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2024, allocations: 11.94 kB / 0.5957 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.2025, allocations: 39.97 kB / 0.5958 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.2026, allocations: 23.91 kB / 0.5958 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.2027, allocations: 45.64 kB / 0.5958 GB, free: 3.535 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.2029, allocations: 108 kB / 0.5959 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2029, allocations: 0 / 0.5959 GB, free: 3.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2029, allocations: 3.938 kB / 0.5959 GB, free: 3.426 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.2029, allocations: 0 / 0.5959 GB, free: 3.426 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.0009255/0.2039, allocations: 0.5311 MB / 0.5965 GB, free: 2.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.2039, allocations: 8.031 kB / 0.5965 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.088e-05/0.204, allocations: 15.89 kB / 0.5965 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.2043, allocations: 214.8 kB / 0.5967 GB, free: 2.555 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2043, allocations: 4 kB / 0.5967 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.2044, allocations: 15.95 kB / 0.5967 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003271/0.2047, allocations: 139.2 kB / 0.5968 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2047, allocations: 0 / 0.5968 GB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2047, allocations: 8 kB / 0.5968 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2047, allocations: 4 kB / 0.5968 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.205, allocations: 79.92 kB / 0.5969 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006975/0.2057, allocations: 468.8 kB / 0.5974 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.2059, allocations: 89.19 kB / 0.5975 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.206, allocations: 57.75 kB / 0.5975 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.2061, allocations: 11.97 kB / 0.5975 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.2064, allocations: 156.7 kB / 0.5977 GB, free: 1.438 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.2064, allocations: 0 / 0.5977 GB, free: 1.438 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005486/0.207, allocations: 209.4 kB / 0.5979 GB, free: 1.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.2071, allocations: 85.08 kB / 0.5979 GB, free: 1.125 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.2072, allocations: 158.8 kB / 0.5981 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.2073, allocations: 33.7 kB / 0.5981 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/0.2073, allocations: 108.4 kB / 0.5982 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.2074, allocations: 31.55 kB / 0.5983 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2074, allocations: 0 / 0.5983 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.2075, allocations: 334.8 kB / 0.5986 GB, free: 456 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2077, allocations: 44.45 kB / 0.5986 GB, free: 412 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.2079, allocations: 130.1 kB / 0.5987 GB, free: 244 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.208, allocations: 51.97 kB / 0.5988 GB, free: 192 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.208, allocations: 0 / 0.5988 GB, free: 192 kB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003648/0.2084, allocations: 181.3 kB / 0.599 GB, free: 4 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.2085, allocations: 8.047 kB / 0.599 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2085, allocations: 4.281 kB / 0.599 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2085, allocations: 4 kB / 0.599 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2086, allocations: 19.88 kB / 0.599 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.2086, allocations: 4 kB / 0.599 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.2087, allocations: 23.89 kB / 0.599 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.2088, allocations: 8 kB / 0.599 GB, free: 15.93 MB / 462.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.0001328/0.2089, allocations: 141.7 kB / 0.5992 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2089, allocations: 11.91 kB / 0.5992 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.209, allocations: 21.39 kB / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.209, allocations: 4 kB / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.209, allocations: 0 / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.209, allocations: 0 / 0.5992 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.2097, allocations: 0.5521 MB / 0.5998 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.2098, allocations: 8 kB / 0.5998 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.2098, allocations: 15.98 kB / 0.5998 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2098, allocations: 4 kB / 0.5998 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2099, allocations: 4 kB / 0.5998 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.972e-05/0.2099, allocations: 4 kB / 0.5998 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2099, allocations: 3.953 kB / 0.5998 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.2103, allocations: 338.5 kB / 0.6001 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.2104, allocations: 89 kB / 0.6002 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.2104, allocations: 4 kB / 0.6002 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.2106, allocations: 19.98 kB / 0.6002 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.2106, allocations: 19.94 kB / 0.6002 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.2107, allocations: 7.984 kB / 0.6002 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.47e-05/0.2108, allocations: 121.8 kB / 0.6004 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2108, allocations: 0 / 0.6004 GB, free: 14.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003479/0.2111, allocations: 35.91 kB / 0.6004 GB, free: 14.45 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.000409/0.2115, allocations: 205.8 kB / 0.6006 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.2119, allocations: 119.8 kB / 0.6007 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2119, allocations: 4 kB / 0.6007 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.2121, allocations: 60.47 kB / 0.6008 GB, free: 14.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.2124, allocations: 19.7 kB / 0.6008 GB, free: 14.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/0.213, allocations: 274.8 kB / 0.601 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.2133, allocations: 0.716 MB / 0.6017 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.763e-05/0.2134, allocations: 24.53 kB / 0.6018 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.2134, allocations: 15.44 kB / 0.6018 GB, free: 13.01 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2134, allocations: 0 / 0.6018 GB, free: 13.01 MB / 462.1 MB Notification: Performance of Templates: time 0.004841/0.2183, allocations: 1.566 MB / 0.6033 GB, free: 11.46 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: