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.001147/0.001147, allocations: 105.4 kB / 16.29 MB, free: 6.066 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.001173/0.001173, allocations: 181 kB / 17.22 MB, free: 5.676 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.218/1.218, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.588/1.588, allocations: 292.3 MB / 0.5495 GB, free: 17.39 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.001306/0.001306, allocations: 63.91 kB / 0.6722 GB, free: 6.48 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1894, allocations: 114.6 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002434/0.1919, allocations: 1.445 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009535/0.1928, allocations: 0.6094 MB / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.1929, allocations: 0 / 0.7861 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.1929, allocations: 3.938 kB / 0.7861 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.193, allocations: 3.938 kB / 0.7861 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1933, allocations: 55.81 kB / 0.7861 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.1934, allocations: 27.86 kB / 0.7862 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.1935, allocations: 8 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.1936, allocations: 15.92 kB / 0.7862 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.1936, allocations: 19.86 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.1936, allocations: 4 kB / 0.7862 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1937, allocations: 47.95 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.1938, allocations: 8 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1938, allocations: 15.86 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.1939, allocations: 67.86 kB / 0.7863 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.194, allocations: 0 / 0.7863 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.194, allocations: 0 / 0.7863 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.194, allocations: 0 / 0.7863 GB, free: 1.461 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.0004055/0.1944, allocations: 347.7 kB / 0.7867 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1944, allocations: 8.031 kB / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.1945, allocations: 4.844 kB / 0.7867 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.1946, allocations: 176.3 kB / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1946, allocations: 384 / 0.7869 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1946, allocations: 4.375 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.1948, allocations: 50 kB / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1948, allocations: 0 / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1948, allocations: 0 / 0.7869 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1948, allocations: 4 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.1949, allocations: 23.92 kB / 0.7869 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.1952, allocations: 256.8 kB / 0.7872 GB, free: 476 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.759e-05/0.1953, allocations: 34.56 kB / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.1954, allocations: 12.92 kB / 0.7872 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3055/0.5008, allocations: 478.1 kB / 0.7877 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/0.5009, allocations: 34.36 kB / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/0.5009, allocations: 0 / 0.7877 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002921/0.5012, allocations: 65.61 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.5012, allocations: 54.84 kB / 0.7878 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.5013, allocations: 107.4 kB / 0.7879 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.5013, allocations: 25.7 kB / 0.788 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.5014, allocations: 93.3 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.5014, allocations: 5.953 kB / 0.788 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.5014, allocations: 12.47 kB / 0.7881 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.5015, allocations: 317.1 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.5015, allocations: 9.859 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.5016, allocations: 12.8 kB / 0.7884 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.639e-05/0.5017, allocations: 26.58 kB / 0.7884 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5017, allocations: 0 / 0.7884 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.5018, allocations: 63.25 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5018, allocations: 6.844 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5018, allocations: 0 / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5018, allocations: 0 / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.236e-05/0.5019, allocations: 9.016 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5019, allocations: 1.125 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.502, allocations: 3.656 kB / 0.7885 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.502, allocations: 0 / 0.7885 GB, free: 47.87 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 5.253e-05/0.502, allocations: 121.8 kB / 0.7886 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.5021, allocations: 0 / 0.7886 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.5022, allocations: 63.48 kB / 0.7887 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.5022, allocations: 0.5938 kB / 0.7887 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5022, allocations: 0.8438 kB / 0.7887 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.5022, allocations: 0 / 0.7887 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.5024, allocations: 163 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5024, allocations: 7.219 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.5024, allocations: 8.609 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.5024, allocations: 1.969 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5024, allocations: 3.25 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5024, allocations: 2.656 kB / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5025, allocations: 0 / 0.7888 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.5026, allocations: 150.5 kB / 0.789 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.5026, allocations: 84.27 kB / 0.7891 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5026, allocations: 0 / 0.7891 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.531e-05/0.5027, allocations: 5 kB / 0.7891 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.5027, allocations: 6.281 kB / 0.7891 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.5027, allocations: 0.875 kB / 0.7891 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.901e-05/0.5028, allocations: 91.78 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5028, allocations: 0.9688 kB / 0.7892 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002372/0.503, allocations: 17.16 kB / 0.7892 GB, free: 47.22 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.000159/0.5032, allocations: 117.5 kB / 0.7893 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.5033, allocations: 24.27 kB / 0.7893 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5033, allocations: 3.031 kB / 0.7893 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.5034, allocations: 14.16 kB / 0.7893 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.5036, allocations: 6.844 kB / 0.7893 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.5039, allocations: 124.7 kB / 0.7895 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.504, allocations: 0.6748 MB / 0.7901 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.504, allocations: 5.219 kB / 0.7901 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.504, allocations: 10.16 kB / 0.7901 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/0.504, allocations: 1.375 kB / 0.7901 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.002513/0.5066, allocations: 0.6672 MB / 0.7908 GB, free: 46.33 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)