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.00153/0.00153, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.351/1.351, allocations: 205.1 MB / 222.4 MB, free: 4.629 MB / 174.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.697/1.697, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001376/0.001376, allocations: 67.33 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2064, allocations: 114.6 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002353/0.2088, allocations: 1.461 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000916/0.2097, allocations: 0.6017 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.065e-05/0.2098, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.2098, allocations: 3.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.23e-05/0.2099, allocations: 7.938 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.2101, allocations: 47.83 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.491e-05/0.2102, allocations: 27.92 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.617e-05/0.2103, allocations: 4 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.045e-05/0.2103, allocations: 19.91 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.2104, allocations: 15.92 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.2104, allocations: 4 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2105, allocations: 51.95 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.2105, allocations: 8 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.2106, allocations: 15.86 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.2107, allocations: 67.8 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2107, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2107, allocations: 3.938 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.2107, allocations: 0 / 0.7856 GB, free: 11.14 MB / 0.6075 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.0004001/0.2111, allocations: 347.7 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.2112, allocations: 12.03 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.2112, allocations: 4.844 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2113, allocations: 172.3 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2114, allocations: 384 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.2114, allocations: 384 / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.2115, allocations: 51.05 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.2115, allocations: 0 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2115, allocations: 4 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2115, allocations: 0 / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.525e-05/0.2116, allocations: 19.98 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.212, allocations: 260.8 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.212, allocations: 30.58 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.2121, allocations: 16.91 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008358/0.2129, allocations: 473.4 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.213, allocations: 38.55 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.213, allocations: 0 / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002684/0.2133, allocations: 61.62 kB / 0.7871 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.2133, allocations: 51.41 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.2134, allocations: 110 kB / 0.7872 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2134, allocations: 29.7 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.2135, allocations: 88.12 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.2135, allocations: 7.906 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.2136, allocations: 13.72 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2137, allocations: 310.8 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.2137, allocations: 11.98 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.393e-05/0.2138, allocations: 8 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.487e-05/0.2139, allocations: 32.84 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2139, allocations: 3.938 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.214, allocations: 65.52 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2141, allocations: 4 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2141, allocations: 7.984 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2141, allocations: 0 / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.2142, allocations: 8 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2142, allocations: 0 / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.515e-05/0.2143, allocations: 8.016 kB / 0.7878 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.2143, allocations: 4 kB / 0.7878 GB, free: 8.617 MB / 0.6075 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 8.125e-05/0.2144, allocations: 113.7 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.2144, allocations: 4 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.2146, allocations: 65.14 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2146, allocations: 0 / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2146, allocations: 0 / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2146, allocations: 4.031 kB / 0.788 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2148, allocations: 165.6 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2148, allocations: 0 / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.2148, allocations: 4 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2149, allocations: 0 / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.2149, allocations: 4 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2149, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2149, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.2151, allocations: 159.4 kB / 0.7883 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.2151, allocations: 77.11 kB / 0.7884 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2152, allocations: 3.938 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.2152, allocations: 4 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.2153, allocations: 7.984 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2153, allocations: 0 / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.2153, allocations: 83.28 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2153, allocations: 0 / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002446/0.2156, allocations: 23.98 kB / 0.7885 GB, free: 7.809 MB / 0.6075 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.0001755/0.2158, allocations: 115.3 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.2159, allocations: 31.91 kB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2159, allocations: 0 / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.348e-05/0.216, allocations: 8 kB / 0.7886 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2162, allocations: 7.938 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.2165, allocations: 130.6 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.2167, allocations: 0.6768 MB / 0.7894 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.223e-05/0.2168, allocations: 4 kB / 0.7894 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.902e-05/0.2168, allocations: 11.42 kB / 0.7894 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2168, allocations: 0 / 0.7894 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of Templates: time 0.002802/0.2196, allocations: 0.6753 MB / 0.7901 GB, free: 6.098 MB / 0.6075 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)