Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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) 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 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5347/0.5347, allocations: 95.61 MB / 110.6 MB, free: 9.215 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00113/0.00113, allocations: 176.1 kB / 134.2 MB, free: 2.148 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.427/1.427, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001689/0.001689, allocations: 109.9 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 61.53 MB / 0.512 GB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.4747, allocations: 96.06 MB / 0.6058 GB, free: 11.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/0.475, allocations: 82.95 kB / 0.6059 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.4914, allocations: 5.62 MB / 0.6113 GB, free: 6.383 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4915, allocations: 0 / 0.6113 GB, free: 6.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.4915, allocations: 4 kB / 0.6114 GB, free: 6.379 MB / 410.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.000643/0.4921, allocations: 452.8 kB / 0.6118 GB, free: 5.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4922, allocations: 11.98 kB / 0.6118 GB, free: 5.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.4923, allocations: 15.81 kB / 0.6118 GB, free: 5.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.4924, allocations: 171.5 kB / 0.612 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.4926, allocations: 74.64 kB / 0.612 GB, free: 5.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.4926, allocations: 15.58 kB / 0.6121 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.4929, allocations: 124.8 kB / 0.6122 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4929, allocations: 0 / 0.6122 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.4929, allocations: 0 / 0.6122 GB, free: 5.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.493, allocations: 4 kB / 0.6122 GB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.4931, allocations: 73.64 kB / 0.6123 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.494, allocations: 412.2 kB / 0.6126 GB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.4943, allocations: 80.73 kB / 0.6127 GB, free: 4.918 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.4954, allocations: 1.266 MB / 0.614 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.4954, allocations: 34.56 kB / 0.614 GB, free: 3.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.4954, allocations: 3.938 kB / 0.614 GB, free: 3.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004297/0.4959, allocations: 135.2 kB / 0.6141 GB, free: 3.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4959, allocations: 55.36 kB / 0.6142 GB, free: 3.129 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4961, allocations: 128.1 kB / 0.6143 GB, free: 3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.4961, allocations: 33.2 kB / 0.6143 GB, free: 2.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/0.4962, allocations: 113.9 kB / 0.6144 GB, free: 2.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4963, allocations: 19.5 kB / 0.6145 GB, free: 2.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.4963, allocations: 0 / 0.6145 GB, free: 2.844 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4964, allocations: 318.3 kB / 0.6148 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.4965, allocations: 34.97 kB / 0.6148 GB, free: 2.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.4967, allocations: 53.42 kB / 0.6148 GB, free: 2.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.769e-05/0.4968, allocations: 38.36 kB / 0.6149 GB, free: 2.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4968, allocations: 0 / 0.6149 GB, free: 2.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002466/0.497, allocations: 122 kB / 0.615 GB, free: 2.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.4971, allocations: 8 kB / 0.615 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4971, allocations: 0 / 0.615 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4971, allocations: 0 / 0.615 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.4973, allocations: 23.92 kB / 0.615 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4973, allocations: 4.156 kB / 0.615 GB, free: 2.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.4974, allocations: 15.67 kB / 0.615 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4974, allocations: 16 kB / 0.6151 GB, free: 2.246 MB / 410.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.0001234/0.4975, allocations: 115.9 kB / 0.6152 GB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.4976, allocations: 7.906 kB / 0.6152 GB, free: 2.121 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.4979, allocations: 126 kB / 0.6153 GB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4979, allocations: 4 kB / 0.6153 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4979, allocations: 0 / 0.6153 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4979, allocations: 0 / 0.6153 GB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.4982, allocations: 212.1 kB / 0.6155 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4982, allocations: 0 / 0.6155 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.538e-05/0.4983, allocations: 19.36 kB / 0.6155 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4983, allocations: 4 kB / 0.6155 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.4983, allocations: 0 / 0.6155 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4983, allocations: 0 / 0.6155 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4983, allocations: 0 / 0.6155 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.4986, allocations: 207.9 kB / 0.6157 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.4987, allocations: 103.6 kB / 0.6158 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.539e-05/0.4988, allocations: 11.98 kB / 0.6158 GB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.4989, allocations: 19.98 kB / 0.6159 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.499, allocations: 4 kB / 0.6159 GB, free: 1.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.499, allocations: 7.984 kB / 0.6159 GB, free: 1.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.878e-05/0.4991, allocations: 109.6 kB / 0.616 GB, free: 1.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4991, allocations: 0 / 0.616 GB, free: 1.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000276/0.4994, allocations: 34.88 kB / 0.616 GB, free: 1.258 MB / 410.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.0002017/0.4996, allocations: 122.4 kB / 0.6161 GB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.4999, allocations: 68.84 kB / 0.6162 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4999, allocations: 0 / 0.6162 GB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.925e-05/0.5, allocations: 42.72 kB / 0.6162 GB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5003, allocations: 18.06 kB / 0.6162 GB, free: 1.031 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.5007, allocations: 244.3 kB / 0.6165 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.501, allocations: 0.7082 MB / 0.6172 GB, free: 40 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.919e-05/0.5011, allocations: 12.19 kB / 0.6172 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.5011, allocations: 11.44 kB / 0.6172 GB, free: 20 kB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5011, allocations: 0 / 0.6172 GB, free: 20 kB / 410.7 MB Notification: Performance of Templates: time 0.00342/0.5045, allocations: 1.246 MB / 0.6184 GB, free: 14.8 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)