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.582/1.582, allocations: 288.4 MB / 304.3 MB, free: 8.168 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.001001/0.001001, allocations: 171.4 kB / 372.9 MB, free: 10.14 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.449/1.449, allocations: 205.4 MB / 0.6317 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006889/0.0006886, allocations: 100.5 kB / 0.745 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003769, allocations: 12.75 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2055, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5661/0.7716, allocations: 139.9 MB / 1.117 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/0.7719, allocations: 72.03 kB / 1.117 GB, free: 16.53 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01283/0.7847, allocations: 5.073 MB / 1.122 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7848, allocations: 3.562 kB / 1.122 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7848, allocations: 0 / 1.122 GB, free: 31.91 MB / 0.698 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.0004512/0.7852, allocations: 431.2 kB / 1.123 GB, free: 31.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.7853, allocations: 11.53 kB / 1.123 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006244/0.7859, allocations: 111.8 kB / 1.123 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.786, allocations: 186.6 kB / 1.123 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.971e-05/0.7861, allocations: 66.81 kB / 1.123 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.7862, allocations: 7.344 kB / 1.123 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.7866, allocations: 188.1 kB / 1.123 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.7866, allocations: 3.938 kB / 1.123 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.7867, allocations: 7.859 kB / 1.123 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7867, allocations: 0 / 1.123 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.7872, allocations: 200.2 kB / 1.123 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.7881, allocations: 0.4953 MB / 1.124 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.7891, allocations: 268.9 kB / 1.124 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.7893, allocations: 100.7 kB / 1.124 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.7894, allocations: 0 / 1.124 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.7894, allocations: 40.53 kB / 1.124 GB, free: 30.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.7894, allocations: 0 / 1.124 GB, free: 30.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.000906/0.7903, allocations: 307.1 kB / 1.125 GB, free: 30.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.7904, allocations: 70.44 kB / 1.125 GB, free: 30.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.7905, allocations: 144.1 kB / 1.125 GB, free: 30.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.7905, allocations: 25.7 kB / 1.125 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.7906, allocations: 104.9 kB / 1.125 GB, free: 30.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.7906, allocations: 26.03 kB / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.7906, allocations: 0 / 1.125 GB, free: 30.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.7907, allocations: 320.4 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.791, allocations: 95.92 kB / 1.125 GB, free: 30.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.7913, allocations: 109.7 kB / 1.126 GB, free: 30.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.7918, allocations: 200.3 kB / 1.126 GB, free: 30.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.7918, allocations: 0 / 1.126 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005879/0.7924, allocations: 236.1 kB / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.7924, allocations: 3.844 kB / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7924, allocations: 0 / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.7924, allocations: 3.812 kB / 1.126 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.7927, allocations: 55.64 kB / 1.126 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.7927, allocations: 3.234 kB / 1.126 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.7929, allocations: 37.58 kB / 1.126 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.7929, allocations: 7 kB / 1.126 GB, free: 29.98 MB / 0.698 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 8.858e-05/0.793, allocations: 124.4 kB / 1.126 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.793, allocations: 11.72 kB / 1.126 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/0.7937, allocations: 234.5 kB / 1.126 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7937, allocations: 11.75 kB / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7937, allocations: 0 / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.7937, allocations: 0 / 1.126 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.7939, allocations: 236.6 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7939, allocations: 0 / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.7941, allocations: 38.02 kB / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7941, allocations: 0 / 1.127 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.7941, allocations: 14.16 kB / 1.127 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7941, allocations: 3.938 kB / 1.127 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7941, allocations: 0 / 1.127 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.7948, allocations: 320.4 kB / 1.127 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.7948, allocations: 81.02 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.7948, allocations: 7.812 kB / 1.127 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.7951, allocations: 44.19 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.7952, allocations: 13.64 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.7952, allocations: 6.125 kB / 1.127 GB, free: 29.35 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.7952, allocations: 102.2 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7952, allocations: 3.906 kB / 1.127 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002311/0.7955, allocations: 26.59 kB / 1.127 GB, free: 29.27 MB / 0.698 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.0001061/0.7956, allocations: 94.66 kB / 1.127 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005963/0.7962, allocations: 201 kB / 1.128 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7962, allocations: 0 / 1.128 GB, free: 29.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/0.7965, allocations: 103.4 kB / 1.128 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.7968, allocations: 7.281 kB / 1.128 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.7973, allocations: 298.8 kB / 1.128 GB, free: 28.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.7976, allocations: 0.7102 MB / 1.129 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.816e-05/0.7977, allocations: 23.3 kB / 1.129 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.7978, allocations: 14.11 kB / 1.129 GB, free: 28.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.7978, allocations: 0 / 1.129 GB, free: 28.27 MB / 0.698 GB Notification: Performance of Templates: time 0.002755/0.8005, allocations: 1.334 MB / 1.13 GB, free: 28.17 MB / 0.698 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)