Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.695/2.695, allocations: 287.3 MB / 302.3 MB, free: 8.32 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.0015/0.0015, allocations: 189.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.6295 GB, free: 10.52 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.001215/0.001215, allocations: 90.25 kB / 0.7428 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007284/0.0007285, allocations: 14.39 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2886, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002471/0.2911, allocations: 1.164 MB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2927, allocations: 0.5643 MB / 0.9799 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.2928, allocations: 4 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.2929, allocations: 0 / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.982e-05/0.293, allocations: 7.922 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.2934, allocations: 39.89 kB / 0.9799 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.2935, allocations: 11.98 kB / 0.9799 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2936, allocations: 7.984 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2937, allocations: 7.938 kB / 0.98 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.2938, allocations: 23.91 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.2939, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.294, allocations: 39.95 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.2941, allocations: 8 kB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.2941, allocations: 29.64 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.2943, allocations: 43.88 kB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2943, allocations: 0 / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2943, allocations: 0 / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2944, allocations: 3.938 kB / 0.9801 GB, free: 26.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000509/0.2949, allocations: 355.5 kB / 0.9804 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.295, allocations: 12.02 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.295, allocations: 3.906 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2952, allocations: 171 kB / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.2952, allocations: 0 / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.2952, allocations: 0 / 0.9806 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.2954, allocations: 49.67 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2955, allocations: 0 / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2955, allocations: 4 kB / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.2955, allocations: 0 / 0.9807 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2957, allocations: 27.92 kB / 0.9807 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.2962, allocations: 256.9 kB / 0.9809 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.2964, allocations: 30.58 kB / 0.981 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/0.2981, allocations: 0.4936 MB / 0.9814 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.2982, allocations: 30.56 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.957e-06/0.2982, allocations: 0 / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004975/0.2987, allocations: 77.61 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.2988, allocations: 51.41 kB / 0.9816 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.2989, allocations: 109.8 kB / 0.9817 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2989, allocations: 25.7 kB / 0.9817 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.299, allocations: 92.05 kB / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.299, allocations: 0 / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2991, allocations: 0 / 0.9818 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.2991, allocations: 318.8 kB / 0.9821 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.2993, allocations: 12.12 kB / 0.9821 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.2994, allocations: 19.92 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.2995, allocations: 8 kB / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2995, allocations: 0 / 0.9822 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002832/0.2998, allocations: 69.58 kB / 0.9822 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.2999, allocations: 10.19 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2999, allocations: 0 / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2999, allocations: 0 / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.3001, allocations: 8 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.3001, allocations: 0 / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.194e-05/0.3002, allocations: 7.953 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.3002, allocations: 3.984 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001117/0.3004, allocations: 113.9 kB / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.3004, allocations: 0 / 0.9824 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.3008, allocations: 69.14 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.3008, allocations: 4 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3008, allocations: 4 kB / 0.9824 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3008, allocations: 3.938 kB / 0.9824 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.3011, allocations: 161.5 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3011, allocations: 0 / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3012, allocations: 16.02 kB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3013, allocations: 0 / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3013, allocations: 0 / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3013, allocations: 0 / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3013, allocations: 0 / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.3016, allocations: 159.5 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/0.3017, allocations: 85.09 kB / 0.9828 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.3017, allocations: 0 / 0.9828 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3019, allocations: 4 kB / 0.9828 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.604e-05/0.302, allocations: 3.984 kB / 0.9829 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.302, allocations: 3.938 kB / 0.9829 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.636e-05/0.302, allocations: 87.28 kB / 0.9829 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.41e-07/0.3021, allocations: 0 / 0.9829 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005454/0.3026, allocations: 12 kB / 0.9829 GB, free: 23.09 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 (2): * Single equations (assignments): 2 * 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.0002571/0.3029, allocations: 123.2 kB / 0.9831 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3032, allocations: 23.98 kB / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3032, allocations: 0 / 0.9831 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3033, allocations: 15.98 kB / 0.9831 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.3036, allocations: 3.953 kB / 0.9831 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.3041, allocations: 144.6 kB / 0.9832 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.3042, allocations: 0.6848 MB / 0.9839 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.738e-05/0.3044, allocations: 0 / 0.9839 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.3044, allocations: 7.438 kB / 0.9839 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of SimCode: time 9.81e-07/0.3044, allocations: 0 / 0.9839 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.004698/0.3091, allocations: 0.6272 MB / 0.9845 GB, free: 21.41 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)