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.0015/0.001501, allocations: 104.3 kB / 16.36 MB, free: 6.301 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.001748/0.001749, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.619/1.619, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.718/1.718, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.002522/0.002522, allocations: 63.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2404, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003045/0.2435, allocations: 1.468 MB / 0.7862 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.2445, allocations: 0.6016 MB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.2446, allocations: 0 / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.2446, allocations: 0 / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.2447, allocations: 7.875 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.245, allocations: 55.81 kB / 0.7869 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7e-05/0.2451, allocations: 27.86 kB / 0.7869 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2452, allocations: 8 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.2453, allocations: 11.94 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.2453, allocations: 19.91 kB / 0.7869 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.2454, allocations: 4 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2455, allocations: 47.95 kB / 0.787 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.2455, allocations: 4 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.2455, allocations: 15.94 kB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2457, allocations: 67.84 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2457, allocations: 3.938 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2457, allocations: 0 / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.2457, allocations: 0 / 0.7871 GB, free: 0.8398 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.0004644/0.2462, allocations: 347.4 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2462, allocations: 8.031 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.2463, allocations: 4.844 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2464, allocations: 176.3 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2465, allocations: 4.375 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.2465, allocations: 4.312 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2466, allocations: 46 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2466, allocations: 4 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.2466, allocations: 0 / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2467, allocations: 0 / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.582e-05/0.2467, allocations: 19.98 kB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3775/0.6242, allocations: 252.4 kB / 0.7879 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.6244, allocations: 35.97 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/0.6244, allocations: 17.72 kB / 0.7879 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.6251, allocations: 476.1 kB / 0.7884 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.6252, allocations: 35.53 kB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.6252, allocations: 0 / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002575/0.6254, allocations: 69.88 kB / 0.7885 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.6255, allocations: 52.25 kB / 0.7885 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.6255, allocations: 109.7 kB / 0.7887 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.6255, allocations: 29.23 kB / 0.7887 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.6256, allocations: 87.36 kB / 0.7888 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.6256, allocations: 5.469 kB / 0.7888 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.6256, allocations: 12.56 kB / 0.7888 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.254e-05/0.6257, allocations: 313.9 kB / 0.7891 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.6257, allocations: 8.625 kB / 0.7891 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.6258, allocations: 14.69 kB / 0.7891 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.94e-05/0.6259, allocations: 28.02 kB / 0.7891 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.6259, allocations: 0.75 kB / 0.7891 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001032/0.626, allocations: 64.41 kB / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.626, allocations: 6.812 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.626, allocations: 0 / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.626, allocations: 2.906 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.035e-05/0.6261, allocations: 7.656 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6261, allocations: 0 / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.6262, allocations: 6.047 kB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.6262, allocations: 2.438 kB / 0.7892 GB, free: 47.31 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.534e-05/0.6262, allocations: 108.5 kB / 0.7893 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.6263, allocations: 7.062 kB / 0.7893 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.6264, allocations: 65.39 kB / 0.7894 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6264, allocations: 0 / 0.7894 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.6264, allocations: 4.906 kB / 0.7894 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6265, allocations: 4.688 kB / 0.7894 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.6266, allocations: 154.6 kB / 0.7895 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6266, allocations: 0.6875 kB / 0.7895 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.6266, allocations: 12.38 kB / 0.7896 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6266, allocations: 3.938 kB / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.6267, allocations: 1.219 kB / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6267, allocations: 0 / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6267, allocations: 4.406 kB / 0.7896 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.6268, allocations: 150 kB / 0.7897 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.6268, allocations: 81.02 kB / 0.7898 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.6268, allocations: 4.906 kB / 0.7898 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.6269, allocations: 6.094 kB / 0.7898 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.6269, allocations: 7.844 kB / 0.7898 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.627, allocations: 0 / 0.7898 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.627, allocations: 86.05 kB / 0.7899 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.627, allocations: 0.6562 kB / 0.7899 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002405/0.6272, allocations: 21.03 kB / 0.7899 GB, free: 46.67 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.0001525/0.6274, allocations: 115.8 kB / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.6275, allocations: 24.02 kB / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6275, allocations: 0 / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.963e-05/0.6276, allocations: 16.83 kB / 0.7901 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.6278, allocations: 3.5 kB / 0.7901 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.6281, allocations: 157.8 kB / 0.7902 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.6282, allocations: 0.6772 MB / 0.7909 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.6282, allocations: 8.812 kB / 0.7909 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6282, allocations: 0 / 0.7909 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Templates: time 0.001959/0.6302, allocations: 0.8096 MB / 0.7917 GB, free: 45.72 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)