Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7738/0.7738, allocations: 133.7 MB / 148.6 MB, free: 13.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001024/0.001024, allocations: 164.1 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.467/1.467, allocations: 170.7 MB / 383.7 MB, free: 16.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001617/0.001617, allocations: 107.7 kB / 454.6 MB, free: 9.738 MB / 346.7 MB [/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.1941/0.1946, allocations: 73.42 MB / 0.6812 GB, free: 5.574 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6137/0.8083, allocations: 103.4 MB / 0.7822 GB, free: 23.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003407/0.8087, allocations: 79.11 kB / 0.7822 GB, free: 23.27 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.8245, allocations: 5.008 MB / 0.7871 GB, free: 20.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8246, allocations: 0 / 0.7871 GB, free: 20.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.8246, allocations: 4 kB / 0.7871 GB, free: 20.35 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005569/0.8252, allocations: 435.2 kB / 0.7875 GB, free: 19.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.8252, allocations: 8.562 kB / 0.7876 GB, free: 19.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/0.8259, allocations: 118 kB / 0.7877 GB, free: 19.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.8261, allocations: 181 kB / 0.7878 GB, free: 19.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/0.8262, allocations: 67.88 kB / 0.7879 GB, free: 19.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.8262, allocations: 9.562 kB / 0.7879 GB, free: 19.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.8267, allocations: 192.5 kB / 0.7881 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.8268, allocations: 0 / 0.7881 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.8268, allocations: 5.797 kB / 0.7881 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.8268, allocations: 4 kB / 0.7881 GB, free: 19.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.8274, allocations: 192.9 kB / 0.7883 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.8285, allocations: 0.4931 MB / 0.7888 GB, free: 18.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.8294, allocations: 274.6 kB / 0.789 GB, free: 18.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.8295, allocations: 7.5 kB / 0.789 GB, free: 18.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.8295, allocations: 30.56 kB / 0.7891 GB, free: 18.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.8295, allocations: 0.75 kB / 0.7891 GB, free: 18.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009742/0.8305, allocations: 314.1 kB / 0.7894 GB, free: 18.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.8306, allocations: 55.41 kB / 0.7894 GB, free: 18.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.8307, allocations: 129 kB / 0.7895 GB, free: 18.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.8307, allocations: 25.7 kB / 0.7896 GB, free: 18.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.8308, allocations: 117.7 kB / 0.7897 GB, free: 18.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.8308, allocations: 13.16 kB / 0.7897 GB, free: 18.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.8308, allocations: 3.75 kB / 0.7897 GB, free: 18.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.8309, allocations: 322.8 kB / 0.79 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.8312, allocations: 91.73 kB / 0.7901 GB, free: 17.74 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.8315, allocations: 114.5 kB / 0.7902 GB, free: 17.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.8318, allocations: 89.45 kB / 0.7903 GB, free: 17.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8318, allocations: 0 / 0.7903 GB, free: 17.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006245/0.8325, allocations: 238.1 kB / 0.7905 GB, free: 17.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.8325, allocations: 4 kB / 0.7905 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8325, allocations: 4 kB / 0.7905 GB, free: 17.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.8325, allocations: 0 / 0.7905 GB, free: 17.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.8328, allocations: 56.59 kB / 0.7906 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.8328, allocations: 1.406 kB / 0.7906 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.833, allocations: 33.38 kB / 0.7906 GB, free: 17.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.833, allocations: 5.453 kB / 0.7906 GB, free: 17.37 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001018/0.8332, allocations: 126 kB / 0.7907 GB, free: 17.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.8332, allocations: 11.89 kB / 0.7907 GB, free: 17.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007231/0.8339, allocations: 236.4 kB / 0.791 GB, free: 17.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.8339, allocations: 0 / 0.791 GB, free: 17.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.834, allocations: 5.078 kB / 0.791 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.834, allocations: 4 kB / 0.791 GB, free: 17.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.8342, allocations: 237.4 kB / 0.7912 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8342, allocations: 0 / 0.7912 GB, free: 16.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.8345, allocations: 45.25 kB / 0.7913 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8345, allocations: 4 kB / 0.7913 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.8345, allocations: 9.297 kB / 0.7913 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.8345, allocations: 0.875 kB / 0.7913 GB, free: 16.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8345, allocations: 6.016 kB / 0.7913 GB, free: 16.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.8352, allocations: 317.5 kB / 0.7916 GB, free: 16.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.8353, allocations: 108 kB / 0.7917 GB, free: 16.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.8354, allocations: 2.031 kB / 0.7917 GB, free: 16.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.8357, allocations: 43.62 kB / 0.7917 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.8358, allocations: 2.953 kB / 0.7917 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.8358, allocations: 18.28 kB / 0.7917 GB, free: 16.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.874e-05/0.8359, allocations: 107.8 kB / 0.7918 GB, free: 16.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8359, allocations: 0 / 0.7918 GB, free: 16.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.8362, allocations: 23.81 kB / 0.7919 GB, free: 16.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0002034/0.8364, allocations: 104.4 kB / 0.792 GB, free: 16.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006904/0.8371, allocations: 197.7 kB / 0.7922 GB, free: 16.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8371, allocations: 0 / 0.7922 GB, free: 16.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.8374, allocations: 105.5 kB / 0.7923 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.8377, allocations: 9.859 kB / 0.7923 GB, free: 15.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007801/0.8385, allocations: 302.5 kB / 0.7926 GB, free: 15.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.8387, allocations: 0.7076 MB / 0.7932 GB, free: 15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.8388, allocations: 16.78 kB / 0.7933 GB, free: 14.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.8389, allocations: 12.84 kB / 0.7933 GB, free: 14.98 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.8389, allocations: 2.062 kB / 0.7933 GB, free: 14.98 MB / 490.7 MB Notification: Performance of Templates: time 0.003866/0.8428, allocations: 1.308 MB / 0.7946 GB, free: 13.93 MB / 490.7 MB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)