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.001077/0.001077, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001526/0.001526, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.795/1.795, allocations: 205.4 MB / 222.1 MB, free: 5.676 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.757/1.757, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0007958/0.0007965, allocations: 18.47 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2904, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00143/0.2919, allocations: 1.172 MB / 0.7884 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.2927, allocations: 0.5681 MB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.2927, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.2928, allocations: 0 / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.2928, allocations: 7.938 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.293, allocations: 43.89 kB / 0.789 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.2931, allocations: 23.92 kB / 0.789 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.2931, allocations: 4 kB / 0.789 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.573e-05/0.2932, allocations: 11.94 kB / 0.7891 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.2933, allocations: 15.91 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.2933, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.183e-05/0.2934, allocations: 47.95 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.2934, allocations: 4 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.2934, allocations: 29.7 kB / 0.7892 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.632e-05/0.2935, allocations: 47.92 kB / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2935, allocations: 0 / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2935, allocations: 0 / 0.7892 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.2936, allocations: 3.938 kB / 0.7892 GB, free: 9.938 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.0003328/0.2939, allocations: 343.5 kB / 0.7895 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2939, allocations: 8.031 kB / 0.7895 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.294, allocations: 7.906 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.2941, allocations: 182.9 kB / 0.7897 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.2941, allocations: 4 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.2941, allocations: 4 kB / 0.7897 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.2942, allocations: 41.69 kB / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.2943, allocations: 0 / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2943, allocations: 0 / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.2943, allocations: 0 / 0.7898 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.609e-05/0.2944, allocations: 27.98 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.2947, allocations: 252.9 kB / 0.79 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.2948, allocations: 34.52 kB / 0.7901 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/0.2948, allocations: 24.89 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008522/0.2957, allocations: 0.4897 MB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2957, allocations: 34.5 kB / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.2957, allocations: 0 / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002272/0.296, allocations: 69.8 kB / 0.7907 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.2961, allocations: 59.34 kB / 0.7907 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.2961, allocations: 117.8 kB / 0.7908 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.2961, allocations: 25.7 kB / 0.7909 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.2962, allocations: 88.05 kB / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.2962, allocations: 0 / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.2962, allocations: 0 / 0.7909 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.2963, allocations: 318.8 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.2964, allocations: 15.98 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.197e-05/0.2964, allocations: 12 kB / 0.7913 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.2965, allocations: 11.98 kB / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2965, allocations: 0 / 0.7913 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.2966, allocations: 61.59 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2966, allocations: 8.094 kB / 0.7914 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2966, allocations: 3.938 kB / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.2966, allocations: 0 / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.219e-05/0.2967, allocations: 15.92 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2967, allocations: 320 / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.2968, allocations: 0 / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.2968, allocations: 7.953 kB / 0.7914 GB, free: 7.395 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.378e-05/0.2968, allocations: 105.8 kB / 0.7915 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2969, allocations: 4 kB / 0.7915 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.297, allocations: 69.2 kB / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.297, allocations: 0 / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.297, allocations: 0 / 0.7916 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.2971, allocations: 3.984 kB / 0.7916 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.2972, allocations: 161.5 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2972, allocations: 4 kB / 0.7917 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.2973, allocations: 7.984 kB / 0.7917 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.2973, allocations: 4.031 kB / 0.7917 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2973, allocations: 3.938 kB / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2973, allocations: 3.984 kB / 0.7917 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2973, allocations: 0 / 0.7917 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.2975, allocations: 159.5 kB / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.708e-05/0.2975, allocations: 85.12 kB / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.2976, allocations: 0 / 0.792 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.2976, allocations: 8 kB / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.2977, allocations: 0 / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.2977, allocations: 0 / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.2977, allocations: 91.27 kB / 0.7921 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2977, allocations: 3.938 kB / 0.7921 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002232/0.2979, allocations: 12 kB / 0.7921 GB, free: 6.578 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.2982, allocations: 119.2 kB / 0.7922 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2983, allocations: 31.92 kB / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2983, allocations: 0 / 0.7922 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.2984, allocations: 11.98 kB / 0.7922 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.2986, allocations: 10.84 kB / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.2989, allocations: 144.7 kB / 0.7924 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.2991, allocations: 0.677 MB / 0.793 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.2991, allocations: 0 / 0.793 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2992, allocations: 11.44 kB / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2992, allocations: 0 / 0.793 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.002534/0.3017, allocations: 0.6321 MB / 0.7937 GB, free: 4.891 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: