Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 285.4 MB / 298 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001889/0.00189, allocations: 188.8 kB / 366.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 205.1 MB / 0.6248 GB, free: 7.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009311/0.000931, allocations: 99.72 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.619e-05/4.647e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.835, allocations: 115.3 MB / 0.9709 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/1.063, allocations: 139.8 MB / 1.107 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/1.063, allocations: 77.55 kB / 1.107 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01601/1.079, allocations: 5.029 MB / 1.112 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.475e-06/1.079, allocations: 0 / 1.112 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.448e-05/1.079, allocations: 7.125 kB / 1.112 GB, free: 7.004 MB / 0.7136 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.0006071/1.08, allocations: 410.8 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/1.08, allocations: 8.031 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007637/1.081, allocations: 119.3 kB / 1.113 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/1.081, allocations: 184 kB / 1.113 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/1.081, allocations: 67.34 kB / 1.113 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/1.081, allocations: 4 kB / 1.113 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/1.081, allocations: 121.6 kB / 1.113 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/1.081, allocations: 1.312 kB / 1.113 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/1.081, allocations: 4 kB / 1.113 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/1.081, allocations: 4 kB / 1.113 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/1.081, allocations: 79.92 kB / 1.113 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001185/1.083, allocations: 0.4952 MB / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006303/1.083, allocations: 170.4 kB / 1.114 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/1.083, allocations: 40.98 kB / 1.114 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/1.083, allocations: 3.984 kB / 1.114 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.084, allocations: 30.56 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.784e-06/1.084, allocations: 0 / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003092/1.084, allocations: 107.6 kB / 1.114 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/1.084, allocations: 59.39 kB / 1.114 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.084, allocations: 122.7 kB / 1.114 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/1.084, allocations: 29.7 kB / 1.114 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/1.084, allocations: 111.1 kB / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/1.084, allocations: 23.66 kB / 1.114 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/1.084, allocations: 0 / 1.114 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.084, allocations: 322.8 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/1.084, allocations: 32 kB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/1.085, allocations: 68.75 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.36e-05/1.085, allocations: 35.98 kB / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.085, allocations: 0 / 1.115 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002184/1.085, allocations: 121.5 kB / 1.115 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.085, allocations: 5.406 kB / 1.115 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/1.085, allocations: 0 / 1.115 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.085, allocations: 4.062 kB / 1.115 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/1.085, allocations: 43.95 kB / 1.115 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.085, allocations: 0 / 1.115 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/1.085, allocations: 41.89 kB / 1.115 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/1.086, allocations: 4 kB / 1.115 GB, free: 3.965 MB / 0.7136 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 () * 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 8.36e-05/1.086, allocations: 112.9 kB / 1.115 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/1.086, allocations: 7.906 kB / 1.115 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/1.086, allocations: 118.3 kB / 1.115 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/1.086, allocations: 3.938 kB / 1.115 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/1.086, allocations: 4 kB / 1.115 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.086, allocations: 7.984 kB / 1.115 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/1.086, allocations: 244.5 kB / 1.116 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.086, allocations: 3.984 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/1.087, allocations: 39.95 kB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.087, allocations: 0 / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/1.087, allocations: 7.922 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.087, allocations: 6.5 kB / 1.116 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.087, allocations: 0 / 1.116 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/1.087, allocations: 203.4 kB / 1.116 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/1.087, allocations: 85.02 kB / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/1.087, allocations: 0 / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/1.087, allocations: 51.05 kB / 1.116 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/1.087, allocations: 7.984 kB / 1.116 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/1.087, allocations: 7.984 kB / 1.116 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.756e-05/1.087, allocations: 103.6 kB / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.087, allocations: 0 / 1.116 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002461/1.088, allocations: 20 kB / 1.116 GB, free: 2.859 MB / 0.7136 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 () * 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.0001453/1.088, allocations: 107.2 kB / 1.116 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002136/1.088, allocations: 83.92 kB / 1.116 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.088, allocations: 0 / 1.116 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/1.088, allocations: 43.94 kB / 1.116 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/1.088, allocations: 7.938 kB / 1.116 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/1.089, allocations: 145.4 kB / 1.116 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.089, allocations: 0.7045 MB / 1.117 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001152/1.089, allocations: 23.92 kB / 1.117 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/1.089, allocations: 11.44 kB / 1.117 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/1.089, allocations: 0 / 1.117 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.004146/1.093, allocations: 1.316 MB / 1.118 GB, free: 412 kB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)