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.605/1.605, allocations: 288.3 MB / 303.2 MB, free: 8.074 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.001163/0.001163, allocations: 181 kB / 371.8 MB, free: 10.28 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.93/1.93, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001012/0.001012, allocations: 107.6 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004099, allocations: 16.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.279, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001988/0.281, allocations: 1.447 MB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.282, allocations: 0.6292 MB / 0.9814 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.2821, allocations: 4 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.2821, allocations: 11.88 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.2822, allocations: 15.95 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.2827, allocations: 139.3 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2828, allocations: 79.84 kB / 0.9817 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.283, allocations: 37.25 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2831, allocations: 47.83 kB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.276e-05/0.2832, allocations: 31.86 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2832, allocations: 8 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.2833, allocations: 43.89 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.2834, allocations: 19.91 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.2834, allocations: 41.64 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2835, allocations: 88.05 kB / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2835, allocations: 0 / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2835, allocations: 0 / 0.982 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2836, allocations: 0 / 0.982 GB, free: 25.04 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.0005697/0.2841, allocations: 415.8 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2842, allocations: 16.02 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008516/0.285, allocations: 147.6 kB / 0.9825 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.2852, allocations: 182.8 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.912e-05/0.2853, allocations: 71.39 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.2853, allocations: 8 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.2858, allocations: 189.5 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2858, allocations: 0 / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.2858, allocations: 0 / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.2858, allocations: 0 / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000573/0.2864, allocations: 203.7 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2875, allocations: 0.4939 MB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.2884, allocations: 274.3 kB / 0.9839 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.2885, allocations: 7.984 kB / 0.9839 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.2885, allocations: 30.56 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.2886, allocations: 0 / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0009772/0.2895, allocations: 321.6 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2896, allocations: 51.41 kB / 0.9843 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.2897, allocations: 137.4 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.2897, allocations: 29.7 kB / 0.9845 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2898, allocations: 108.2 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.2898, allocations: 31.58 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.2898, allocations: 0 / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/0.2899, allocations: 322.8 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.2902, allocations: 91.91 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.2905, allocations: 110.5 kB / 0.9851 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.2908, allocations: 91.92 kB / 0.9852 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2908, allocations: 4 kB / 0.9852 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006126/0.2914, allocations: 233.4 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2914, allocations: 8 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.2914, allocations: 0 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2915, allocations: 0 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.2917, allocations: 51.89 kB / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2917, allocations: 0 / 0.9855 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.2919, allocations: 39.88 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.292, allocations: 7.984 kB / 0.9855 GB, free: 21.19 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.751e-05/0.2921, allocations: 117.8 kB / 0.9856 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.2921, allocations: 7.906 kB / 0.9856 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007041/0.2928, allocations: 242.2 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2928, allocations: 0 / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2928, allocations: 4 kB / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2928, allocations: 0 / 0.9859 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2931, allocations: 242.3 kB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2931, allocations: 0 / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.2933, allocations: 43.95 kB / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2933, allocations: 0 / 0.9861 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.2933, allocations: 3.938 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2933, allocations: 3.984 kB / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2933, allocations: 0 / 0.9861 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006513/0.294, allocations: 319.7 kB / 0.9865 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.294, allocations: 93 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.2941, allocations: 7.938 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.2944, allocations: 43.95 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.2944, allocations: 3.984 kB / 0.9866 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2944, allocations: 7.984 kB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.2945, allocations: 107.2 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.2945, allocations: 0 / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002517/0.2948, allocations: 27.91 kB / 0.9867 GB, free: 19.85 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.0001358/0.2949, allocations: 103.2 kB / 0.9868 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006347/0.2956, allocations: 199.8 kB / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2956, allocations: 0 / 0.987 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002908/0.2959, allocations: 100 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.2961, allocations: 16.38 kB / 0.9871 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006853/0.2968, allocations: 297.6 kB / 0.9874 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.297, allocations: 0.7043 MB / 0.9881 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.2971, allocations: 16.19 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.2972, allocations: 19.36 kB / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of SimCode: time 4.8e-07/0.2972, allocations: 0 / 0.9881 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.003481/0.3007, allocations: 1.296 MB / 0.9894 GB, free: 17.05 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)