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.001001/0.001001, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001112/0.001112, allocations: 192.7 kB / 16.13 MB, free: 6.699 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.347/1.347, allocations: 205.1 MB / 222 MB, free: 4.781 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.647/1.647, allocations: 292.2 MB / 0.5484 GB, free: 13.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.002117/0.002117, allocations: 74.39 kB / 0.6708 GB, free: 26.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2094, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002574/0.212, allocations: 1.517 MB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008762/0.2129, allocations: 0.6145 MB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.213, allocations: 0 / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.213, allocations: 3.938 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.41e-05/0.2131, allocations: 3.938 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2133, allocations: 43.89 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.2134, allocations: 23.94 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.817e-05/0.2134, allocations: 11.98 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.69e-05/0.2135, allocations: 15.92 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.2136, allocations: 11.92 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.2136, allocations: 0 / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.2137, allocations: 55.89 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.2137, allocations: 4 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.2138, allocations: 7.938 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.2139, allocations: 63.86 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2139, allocations: 0 / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.12e-07/0.2139, allocations: 3.938 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2139, allocations: 4 kB / 0.785 GB, free: 11.61 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.0003822/0.2143, allocations: 347.7 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.2143, allocations: 8.031 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.2144, allocations: 8.844 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2145, allocations: 172.3 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2145, allocations: 384 / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.2145, allocations: 8.375 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2147, allocations: 42 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2147, allocations: 4 kB / 0.7856 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.2147, allocations: 4 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2147, allocations: 0 / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/0.2148, allocations: 19.92 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/0.2151, allocations: 260.8 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.997e-05/0.2152, allocations: 30.56 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.496e-05/0.2152, allocations: 20.92 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007766/0.216, allocations: 469.4 kB / 0.7863 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2161, allocations: 30.56 kB / 0.7864 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2161, allocations: 8 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002331/0.2163, allocations: 65.61 kB / 0.7864 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.2163, allocations: 51.41 kB / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.076e-05/0.2164, allocations: 109.8 kB / 0.7866 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.2164, allocations: 25.7 kB / 0.7866 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.2165, allocations: 84.14 kB / 0.7867 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.2165, allocations: 3.906 kB / 0.7867 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.2165, allocations: 21.84 kB / 0.7867 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.2166, allocations: 318.8 kB / 0.787 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.416e-05/0.2167, allocations: 12 kB / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.2167, allocations: 7.984 kB / 0.787 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.2168, allocations: 36.66 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2168, allocations: 0 / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001175/0.217, allocations: 61.66 kB / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.217, allocations: 7.938 kB / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.217, allocations: 0 / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.217, allocations: 0 / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.2171, allocations: 7.984 kB / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2171, allocations: 0 / 0.7871 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.2171, allocations: 4 kB / 0.7871 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.2171, allocations: 4 kB / 0.7871 GB, free: 9.082 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 6.898e-05/0.2172, allocations: 113.8 kB / 0.7873 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.2172, allocations: 8.031 kB / 0.7873 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.2174, allocations: 65.14 kB / 0.7873 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2174, allocations: 0 / 0.7873 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2174, allocations: 0 / 0.7873 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2174, allocations: 0 / 0.7873 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.2176, allocations: 165.6 kB / 0.7875 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2176, allocations: 0 / 0.7875 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.2176, allocations: 4 kB / 0.7875 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.2176, allocations: 3.984 kB / 0.7875 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.2176, allocations: 4.031 kB / 0.7875 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2177, allocations: 4 kB / 0.7875 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2177, allocations: 0 / 0.7875 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.2178, allocations: 155.3 kB / 0.7876 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.2178, allocations: 81.09 kB / 0.7877 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2179, allocations: 7.984 kB / 0.7877 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.2179, allocations: 4.031 kB / 0.7877 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.64e-05/0.218, allocations: 0 / 0.7877 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.218, allocations: 4 kB / 0.7877 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.218, allocations: 87.27 kB / 0.7878 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.218, allocations: 0 / 0.7878 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002291/0.2183, allocations: 16 kB / 0.7878 GB, free: 8.27 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.0001455/0.2184, allocations: 115.2 kB / 0.788 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.2185, allocations: 27.98 kB / 0.788 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2186, allocations: 0 / 0.788 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.2186, allocations: 19.88 kB / 0.788 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.2188, allocations: 7.922 kB / 0.788 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.2191, allocations: 132.4 kB / 0.7881 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.2193, allocations: 0.6811 MB / 0.7888 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.2193, allocations: 0 / 0.7888 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.856e-05/0.2193, allocations: 11.44 kB / 0.7888 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2194, allocations: 3.938 kB / 0.7888 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of Templates: time 0.002366/0.2217, allocations: 0.6337 MB / 0.7894 GB, free: 6.586 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)