Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 187.4 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.5783 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007374/0.0007376, allocations: 96.25 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 13.42 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1886, allocations: 106.3 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001436/0.19, allocations: 1.153 MB / 0.9019 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.1908, allocations: 0.4889 MB / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.1909, allocations: 0 / 0.9024 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.1909, allocations: 3.938 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.191, allocations: 3.938 kB / 0.9024 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.1912, allocations: 15.98 kB / 0.9024 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.1912, allocations: 23.88 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.1913, allocations: 7.984 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.527e-05/0.1914, allocations: 4 kB / 0.9025 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.1914, allocations: 15.92 kB / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1915, allocations: 0 / 0.9025 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.102e-05/0.1915, allocations: 23.97 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.1916, allocations: 0 / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.1916, allocations: 33.58 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.1917, allocations: 23.97 kB / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1917, allocations: 0 / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.917e-06/0.1917, allocations: 0 / 0.9026 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1917, allocations: 4 kB / 0.9026 GB, free: 62.06 MB / 0.6042 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.0004171/0.1921, allocations: 335.6 kB / 0.9029 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1922, allocations: 16.02 kB / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1922, allocations: 0 / 0.9029 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.509e-05/0.1923, allocations: 178.9 kB / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1923, allocations: 0 / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.1924, allocations: 0 / 0.9031 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1925, allocations: 57.67 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1926, allocations: 0 / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.1926, allocations: 0 / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.1926, allocations: 3.984 kB / 0.9031 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1928, allocations: 51.91 kB / 0.9032 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.193, allocations: 248.9 kB / 0.9034 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1932, allocations: 38.56 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.1933, allocations: 36.89 kB / 0.9035 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.1934, allocations: 85.09 kB / 0.9036 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.1934, allocations: 30.56 kB / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.114e-06/0.1934, allocations: 0 / 0.9036 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003394/0.1938, allocations: 101.6 kB / 0.9037 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.1938, allocations: 59.36 kB / 0.9038 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.917e-05/0.1939, allocations: 102 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-06/0.1939, allocations: 25.7 kB / 0.9039 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.1939, allocations: 88.27 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.1939, allocations: 7.906 kB / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.194, allocations: 0 / 0.904 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.194, allocations: 314.8 kB / 0.9043 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.1941, allocations: 23.98 kB / 0.9043 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.1942, allocations: 19.98 kB / 0.9043 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.807e-05/0.1942, allocations: 23.98 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1943, allocations: 7.875 kB / 0.9044 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.1945, allocations: 81.66 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1945, allocations: 4 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1945, allocations: 4.062 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1945, allocations: 4 kB / 0.9044 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1946, allocations: 11.98 kB / 0.9045 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.1946, allocations: 3.984 kB / 0.9045 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.968e-05/0.1947, allocations: 15.89 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1947, allocations: 7.984 kB / 0.9045 GB, free: 59.88 MB / 0.6042 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 5.048e-05/0.1947, allocations: 109.8 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.1948, allocations: 0 / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.195, allocations: 84.72 kB / 0.9047 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.195, allocations: 4 kB / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.195, allocations: 0 / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.195, allocations: 0 / 0.9047 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.1951, allocations: 161.6 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1951, allocations: 0 / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.1952, allocations: 8 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.1952, allocations: 0 / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1952, allocations: 7.984 kB / 0.9048 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1952, allocations: 8.031 kB / 0.9048 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1952, allocations: 0 / 0.9048 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.1954, allocations: 167.5 kB / 0.905 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.1955, allocations: 85.05 kB / 0.9051 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1955, allocations: 7.938 kB / 0.9051 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.1956, allocations: 8 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.1956, allocations: 3.984 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1956, allocations: 4 kB / 0.9051 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.222e-05/0.1957, allocations: 79.28 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1957, allocations: 0 / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002034/0.1959, allocations: 7.938 kB / 0.9052 GB, free: 59.05 MB / 0.6042 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.0001199/0.196, allocations: 111.2 kB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1962, allocations: 47.97 kB / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1962, allocations: 0 / 0.9053 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.1963, allocations: 24.05 kB / 0.9054 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.1966, allocations: 18.45 kB / 0.9054 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.1968, allocations: 134.4 kB / 0.9055 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.1969, allocations: 0.677 MB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.197, allocations: 11.5 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.197, allocations: 3.938 kB / 0.9062 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.001852/0.1988, allocations: 0.6409 MB / 0.9068 GB, free: 57.33 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)