Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001298, allocations: 102.9 kB / 16.27 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 191.4 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 0.5495 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 71.89 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2242, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00278/0.227, allocations: 1.446 MB / 0.7854 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009763/0.228, allocations: 0.6016 MB / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.228, allocations: 0 / 0.786 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.2281, allocations: 3.938 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.2281, allocations: 7.938 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2284, allocations: 55.81 kB / 0.7861 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.2285, allocations: 23.92 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.2286, allocations: 8 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.2287, allocations: 19.91 kB / 0.7861 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.2287, allocations: 15.88 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.2288, allocations: 0 / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.2289, allocations: 51.95 kB / 0.7862 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.2289, allocations: 4 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.2289, allocations: 19.86 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.2291, allocations: 67.86 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2291, allocations: 0 / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2291, allocations: 0 / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.2291, allocations: 4 kB / 0.7863 GB, free: 1.531 MB / 0.6544 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.0004401/0.2295, allocations: 342.8 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.2296, allocations: 11.97 kB / 0.7866 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.2296, allocations: 12.83 kB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2298, allocations: 168.3 kB / 0.7868 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.2298, allocations: 4.375 kB / 0.7868 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2298, allocations: 4.375 kB / 0.7868 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.23, allocations: 46 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.23, allocations: 0 / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.23, allocations: 0 / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.23, allocations: 0 / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.222e-05/0.2301, allocations: 19.98 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.2304, allocations: 264.8 kB / 0.7871 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.015e-05/0.2305, allocations: 34.56 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.2306, allocations: 20.91 kB / 0.7872 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3449/0.5755, allocations: 474.6 kB / 0.7876 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5756, allocations: 34.91 kB / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/0.5756, allocations: 0 / 0.7877 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002671/0.5759, allocations: 58.48 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.5759, allocations: 54.59 kB / 0.7878 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.718e-05/0.576, allocations: 111.8 kB / 0.7879 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.576, allocations: 29.42 kB / 0.7879 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.576, allocations: 89.08 kB / 0.788 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.576, allocations: 2.812 kB / 0.788 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.5761, allocations: 12.34 kB / 0.788 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.951e-05/0.5761, allocations: 321.3 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.5762, allocations: 12.44 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.5762, allocations: 9.188 kB / 0.7883 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.997e-05/0.5763, allocations: 32.61 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5763, allocations: 0.5 kB / 0.7884 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.5764, allocations: 54.97 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5764, allocations: 6.281 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5764, allocations: 2.859 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.5765, allocations: 2.656 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.5765, allocations: 4.344 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.5765, allocations: 1.375 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.5766, allocations: 5.672 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.5766, allocations: 0 / 0.7884 GB, free: 47.89 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.5766, allocations: 113.3 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.5767, allocations: 6.906 kB / 0.7886 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.5768, allocations: 68.28 kB / 0.7886 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5768, allocations: 1.594 kB / 0.7886 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5768, allocations: 0 / 0.7886 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.5768, allocations: 0 / 0.7886 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.577, allocations: 171.6 kB / 0.7888 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.577, allocations: 1.781 kB / 0.7888 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.847e-05/0.577, allocations: 3.938 kB / 0.7888 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.577, allocations: 0 / 0.7888 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.5771, allocations: 3.281 kB / 0.7888 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5771, allocations: 0 / 0.7888 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5771, allocations: 2.656 kB / 0.7888 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.5772, allocations: 151.6 kB / 0.7889 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.5772, allocations: 87.8 kB / 0.789 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.5772, allocations: 0 / 0.789 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.039e-05/0.5773, allocations: 0.5312 kB / 0.789 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.5773, allocations: 7.328 kB / 0.789 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.5773, allocations: 1.812 kB / 0.789 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.449e-05/0.5774, allocations: 88.02 kB / 0.7891 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5774, allocations: 1.969 kB / 0.7891 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00024/0.5776, allocations: 15.75 kB / 0.7891 GB, free: 47.25 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.5778, allocations: 117.3 kB / 0.7892 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.5779, allocations: 24.33 kB / 0.7893 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5779, allocations: 0 / 0.7893 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.578, allocations: 15.31 kB / 0.7893 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.5782, allocations: 12.22 kB / 0.7893 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.5784, allocations: 144.2 kB / 0.7894 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.331e-05/0.5785, allocations: 0.6771 MB / 0.7901 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.5786, allocations: 10.84 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of SimCode: time 6.82e-07/0.5786, allocations: 1 kB / 0.7901 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of Templates: time 0.001895/0.5805, allocations: 0.8095 MB / 0.7909 GB, free: 46.3 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)