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.686/1.686, allocations: 288.4 MB / 303.4 MB, free: 8.199 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.000947/0.0009471, allocations: 182.9 kB / 372 MB, free: 10.27 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.891/1.891, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.000856/0.0008564, allocations: 84.59 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004491, allocations: 11.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2858, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002216/0.2881, allocations: 1.455 MB / 0.981 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2892, allocations: 0.6642 MB / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.2893, allocations: 0 / 0.9816 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.2893, allocations: 3.938 kB / 0.9816 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.2894, allocations: 15.86 kB / 0.9817 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005898/0.29, allocations: 148.6 kB / 0.9818 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001387/0.2902, allocations: 107.6 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2904, allocations: 41.28 kB / 0.9819 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2905, allocations: 47.83 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.2906, allocations: 31.84 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.2906, allocations: 4 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.2907, allocations: 43.95 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.2908, allocations: 15.92 kB / 0.9821 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.2908, allocations: 41.64 kB / 0.9821 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.291, allocations: 100 kB / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.291, allocations: 0 / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.357e-06/0.291, allocations: 0 / 0.9822 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.291, allocations: 7.938 kB / 0.9822 GB, free: 24.93 MB / 0.6198 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.0005879/0.2916, allocations: 411 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2916, allocations: 16.02 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008042/0.2924, allocations: 143.6 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2926, allocations: 180.6 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/0.2927, allocations: 67.39 kB / 0.983 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.2927, allocations: 12 kB / 0.983 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.2932, allocations: 189.4 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2932, allocations: 0 / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.2933, allocations: 7.984 kB / 0.9832 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2933, allocations: 8 kB / 0.9832 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005683/0.2939, allocations: 197.6 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.2949, allocations: 0.4978 MB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.2958, allocations: 262.3 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.2961, allocations: 100.9 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.2961, allocations: 0 / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.2962, allocations: 42.55 kB / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.2962, allocations: 0 / 0.9843 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0009558/0.2971, allocations: 309.5 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.2972, allocations: 55.41 kB / 0.9846 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.2972, allocations: 143.8 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2973, allocations: 25.7 kB / 0.9848 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.2973, allocations: 108.2 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2974, allocations: 23.66 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.2974, allocations: 4 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.2974, allocations: 322.8 kB / 0.9852 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.2977, allocations: 91.92 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.298, allocations: 118.4 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.2983, allocations: 87.94 kB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2983, allocations: 0 / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006012/0.2989, allocations: 233.4 kB / 0.9857 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2989, allocations: 12 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.2989, allocations: 4 kB / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.299, allocations: 0 / 0.9857 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.2992, allocations: 51.94 kB / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2992, allocations: 0 / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.2994, allocations: 36.19 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.2994, allocations: 7.953 kB / 0.9858 GB, free: 20.99 MB / 0.6198 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.361e-05/0.2995, allocations: 117.8 kB / 0.9859 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.2996, allocations: 15.89 kB / 0.986 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006568/0.3002, allocations: 242.2 kB / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3002, allocations: 0 / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3003, allocations: 0 / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3003, allocations: 0 / 0.9862 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.3005, allocations: 242.3 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3005, allocations: 0 / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.3007, allocations: 47.94 kB / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3007, allocations: 0 / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3007, allocations: 4 kB / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3007, allocations: 0 / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3007, allocations: 0 / 0.9865 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.3014, allocations: 331.2 kB / 0.9868 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3014, allocations: 81.02 kB / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3014, allocations: 0 / 0.9869 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.3017, allocations: 47.95 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.3018, allocations: 3.984 kB / 0.9869 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3018, allocations: 11.98 kB / 0.9869 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.893e-05/0.3019, allocations: 102 kB / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 0 / 0.987 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002287/0.3021, allocations: 35.86 kB / 0.9871 GB, free: 19.64 MB / 0.6198 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.0001285/0.3022, allocations: 95.25 kB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006135/0.3028, allocations: 203.7 kB / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3029, allocations: 4.125 kB / 0.9873 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/0.3031, allocations: 95.91 kB / 0.9874 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3035, allocations: 19.94 kB / 0.9875 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.3041, allocations: 297.6 kB / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.3042, allocations: 0.7004 MB / 0.9884 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.54e-05/0.3043, allocations: 16.17 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.3044, allocations: 15.42 kB / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.3044, allocations: 0 / 0.9885 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of Templates: time 0.003705/0.3081, allocations: 1.311 MB / 0.9897 GB, free: 16.84 MB / 0.6198 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)