Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001081/0.001081, allocations: 176.3 kB / 326.5 MB, free: 2.719 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.804/1.804, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0007719/0.0007718, allocations: 91.05 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 9.125 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1901, allocations: 105.4 MB / 0.8967 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001374/0.1915, allocations: 1.172 MB / 0.8979 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003789/0.1919, allocations: 201 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.1919, allocations: 0 / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.192, allocations: 0 / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.192, allocations: 7.938 kB / 0.8981 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1922, allocations: 27.97 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.867e-05/0.1923, allocations: 19.94 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.1923, allocations: 7.984 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.1924, allocations: 15.92 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.1924, allocations: 3.984 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1924, allocations: 4 kB / 0.8982 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.057e-05/0.1925, allocations: 31.97 kB / 0.8982 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.1925, allocations: 3.938 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.1926, allocations: 7.938 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.472e-05/0.1926, allocations: 39.88 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1927, allocations: 0 / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1927, allocations: 0 / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1927, allocations: 0 / 0.8982 GB, free: 66.66 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.0003227/0.193, allocations: 339.5 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.193, allocations: 8.031 kB / 0.8986 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.1931, allocations: 4.938 kB / 0.8986 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.879e-05/0.1931, allocations: 184.2 kB / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1932, allocations: 384 / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.105e-06/0.1932, allocations: 4.375 kB / 0.8987 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.1933, allocations: 54.23 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1933, allocations: 192 / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1934, allocations: 3.938 kB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1934, allocations: 0 / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.1935, allocations: 43.97 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.1938, allocations: 249 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.1939, allocations: 54.44 kB / 0.8991 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/0.194, allocations: 28.91 kB / 0.8992 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.642e-05/0.1941, allocations: 81.09 kB / 0.8992 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.1941, allocations: 30.56 kB / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1941, allocations: 0 / 0.8993 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000318/0.1944, allocations: 105.6 kB / 0.8994 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1944, allocations: 51.53 kB / 0.8994 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.9e-05/0.1945, allocations: 105.9 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.1945, allocations: 29.69 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.1945, allocations: 84.08 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.1946, allocations: 7.906 kB / 0.8996 GB, free: 65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/0.1946, allocations: 9.719 kB / 0.8996 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.1946, allocations: 318.8 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.031e-05/0.1947, allocations: 23.98 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/0.1948, allocations: 23.97 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1949, allocations: 48.89 kB / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1949, allocations: 0 / 0.9 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001701/0.1951, allocations: 89.44 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1951, allocations: 10.5 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1951, allocations: 0 / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.1952, allocations: 4.031 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.1953, allocations: 11.98 kB / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1953, allocations: 0 / 0.9002 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.1953, allocations: 8 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.1953, allocations: 0 / 0.9002 GB, free: 64.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.1954, allocations: 113.8 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1954, allocations: 8 kB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1956, allocations: 80.78 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1956, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1956, allocations: 0 / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1957, allocations: 7.922 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.763e-05/0.1958, allocations: 165.6 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1958, allocations: 0 / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.1958, allocations: 15.94 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1958, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.1958, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1958, allocations: 0 / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1959, allocations: 3.984 kB / 0.9005 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.196, allocations: 171.5 kB / 0.9007 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.1961, allocations: 89 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1961, allocations: 0 / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.872e-05/0.1962, allocations: 4 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.1962, allocations: 12.02 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1962, allocations: 256 / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.153e-05/0.1962, allocations: 87.28 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1962, allocations: 0 / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002005/0.1964, allocations: 12 kB / 0.9009 GB, free: 63.59 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 (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.0001153/0.1966, allocations: 115.1 kB / 0.901 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1968, allocations: 47.97 kB / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1968, allocations: 0 / 0.9011 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.1968, allocations: 23.98 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.1971, allocations: 11.92 kB / 0.9011 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.1973, allocations: 137.1 kB / 0.9012 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.1e-05/0.1974, allocations: 0.6731 MB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.1974, allocations: 7.438 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1974, allocations: 3.938 kB / 0.9019 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.001629/0.1991, allocations: 0.6597 MB / 0.9025 GB, free: 61.85 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)