Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7446/0.7446, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 188 kB / 161.7 MB, free: 2.742 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.4 MB / 394.8 MB, free: 20.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008746/0.0008747, allocations: 100 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004401, allocations: 16 kB / 0.5423 GB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4709, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.613, allocations: 103.4 MB / 0.7161 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.6135, allocations: 83.94 kB / 0.7162 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01651/0.63, allocations: 5.454 MB / 0.7215 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.286e-06/0.63, allocations: 0 / 0.7215 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.6301, allocations: 0 / 0.7215 GB, free: 8.988 MB / 0.4948 GB 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.0006229/0.6307, allocations: 431 kB / 0.7219 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.6308, allocations: 15.95 kB / 0.722 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.6315, allocations: 112.6 kB / 0.7221 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.6317, allocations: 180.2 kB / 0.7222 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.6318, allocations: 63.97 kB / 0.7223 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.6318, allocations: 12.38 kB / 0.7223 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.6324, allocations: 195.8 kB / 0.7225 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6324, allocations: 3.938 kB / 0.7225 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.6324, allocations: 4 kB / 0.7225 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6324, allocations: 4 kB / 0.7225 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005935/0.633, allocations: 191.8 kB / 0.7227 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.6342, allocations: 0.4902 MB / 0.7232 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009526/0.6352, allocations: 270.3 kB / 0.7234 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003022/0.6355, allocations: 104.9 kB / 0.7235 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.6356, allocations: 7.922 kB / 0.7235 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.6356, allocations: 30.56 kB / 0.7236 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.454e-06/0.6356, allocations: 0 / 0.7236 GB, free: 6.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001008/0.6366, allocations: 317.5 kB / 0.7239 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6367, allocations: 59.34 kB / 0.7239 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.6368, allocations: 142.5 kB / 0.7241 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.6369, allocations: 25.7 kB / 0.7241 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.199e-05/0.6369, allocations: 108.2 kB / 0.7242 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.637, allocations: 19.66 kB / 0.7242 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.637, allocations: 0 / 0.7242 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6371, allocations: 322.8 kB / 0.7245 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.6374, allocations: 91.92 kB / 0.7246 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.6377, allocations: 118.4 kB / 0.7247 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005531/0.6383, allocations: 198.4 kB / 0.7249 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6383, allocations: 0 / 0.7249 GB, free: 5.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006492/0.639, allocations: 237.4 kB / 0.7251 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.639, allocations: 4 kB / 0.7251 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.639, allocations: 0 / 0.7251 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.639, allocations: 4 kB / 0.7251 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.6393, allocations: 47.83 kB / 0.7252 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.6393, allocations: 11.98 kB / 0.7252 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.6395, allocations: 35.88 kB / 0.7252 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.6395, allocations: 0 / 0.7252 GB, free: 4.953 MB / 0.4948 GB 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.0001319/0.6397, allocations: 113.8 kB / 0.7253 GB, free: 4.832 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.551e-05/0.6397, allocations: 11.91 kB / 0.7253 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.6405, allocations: 246.1 kB / 0.7256 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6405, allocations: 3.938 kB / 0.7256 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6405, allocations: 4 kB / 0.7256 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6405, allocations: 0 / 0.7256 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.6408, allocations: 242.2 kB / 0.7258 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.6408, allocations: 0 / 0.7258 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.641, allocations: 39.95 kB / 0.7259 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6411, allocations: 3.984 kB / 0.7259 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.6411, allocations: 0 / 0.7259 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.6411, allocations: 12.31 kB / 0.7259 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6411, allocations: 0 / 0.7259 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.6418, allocations: 319.2 kB / 0.7262 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.6419, allocations: 96.95 kB / 0.7263 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.6419, allocations: 0 / 0.7263 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.6422, allocations: 43.89 kB / 0.7263 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.6422, allocations: 7.984 kB / 0.7263 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.6423, allocations: 11.98 kB / 0.7263 GB, free: 3.723 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.299e-05/0.6424, allocations: 99.27 kB / 0.7264 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6424, allocations: 4 kB / 0.7264 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002626/0.6426, allocations: 27.91 kB / 0.7265 GB, free: 3.594 MB / 0.4948 GB 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.000164/0.6428, allocations: 99.03 kB / 0.7266 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006712/0.6435, allocations: 203.8 kB / 0.7267 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6435, allocations: 3.938 kB / 0.7267 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/0.6438, allocations: 100 kB / 0.7268 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.6442, allocations: 8 kB / 0.7269 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.6449, allocations: 297.4 kB / 0.7271 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.6453, allocations: 0.7043 MB / 0.7278 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.6454, allocations: 16 kB / 0.7278 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.6455, allocations: 15.42 kB / 0.7279 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of SimCode: time 4.01e-07/0.6455, allocations: 0 / 0.7279 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.004292/0.6498, allocations: 1.328 MB / 0.7292 GB, free: 0.7734 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)