Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, 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.001752/0.001752, allocations: 190.1 kB / 16.13 MB, free: 6.652 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.314/1.314, allocations: 205.1 MB / 222 MB, free: 4.746 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.699/1.699, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.001268/0.001268, allocations: 63.81 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1904, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002611/0.1931, allocations: 1.491 MB / 0.7841 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003822/0.1935, allocations: 200.3 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.1935, allocations: 0 / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.1935, allocations: 3.938 kB / 0.7843 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.1936, allocations: 3.938 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.1938, allocations: 31.91 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.692e-05/0.1938, allocations: 19.98 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.893e-05/0.1939, allocations: 7.938 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/0.1939, allocations: 11.98 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.578e-05/0.194, allocations: 7.938 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.194, allocations: 4 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.1941, allocations: 35.95 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1941, allocations: 0 / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.1941, allocations: 11.92 kB / 0.7844 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.286e-05/0.1942, allocations: 39.89 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1942, allocations: 3.984 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.52e-07/0.1942, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.1942, allocations: 0 / 0.7845 GB, free: 12.12 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.0003845/0.1946, allocations: 347.7 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.1947, allocations: 8.031 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.1947, allocations: 8.938 kB / 0.7848 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/0.1948, allocations: 164.3 kB / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.1948, allocations: 384 / 0.785 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.1948, allocations: 4.375 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.195, allocations: 54.17 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.195, allocations: 192 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.195, allocations: 7.938 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.195, allocations: 0 / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1952, allocations: 39.89 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1955, allocations: 245 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1956, allocations: 43.55 kB / 0.7854 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.1957, allocations: 24.91 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/0.1958, allocations: 81.11 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1958, allocations: 34.5 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1958, allocations: 3.938 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003285/0.1962, allocations: 77.73 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.1962, allocations: 63.44 kB / 0.7856 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.1963, allocations: 97.84 kB / 0.7857 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.1963, allocations: 25.7 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.1963, allocations: 84.14 kB / 0.7858 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1964, allocations: 11.89 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.1964, allocations: 13.72 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.1965, allocations: 318.8 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.1966, allocations: 15.98 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.1967, allocations: 15.98 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.1968, allocations: 44.75 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1968, allocations: 0 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.197, allocations: 69.67 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.197, allocations: 4 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.197, allocations: 0 / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1971, allocations: 0 / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.1971, allocations: 15.97 kB / 0.7863 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1972, allocations: 0 / 0.7863 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.252e-05/0.1972, allocations: 15.92 kB / 0.7863 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1972, allocations: 0 / 0.7863 GB, free: 9.977 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 5.9e-05/0.1973, allocations: 117.8 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.364e-05/0.1973, allocations: 3.906 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1975, allocations: 76.72 kB / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1975, allocations: 0 / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1976, allocations: 0 / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1976, allocations: 3.984 kB / 0.7865 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.1977, allocations: 157.6 kB / 0.7867 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1977, allocations: 256 / 0.7867 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.1978, allocations: 20.02 kB / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1978, allocations: 0 / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.1978, allocations: 0 / 0.7867 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1978, allocations: 3.938 kB / 0.7867 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1978, allocations: 0 / 0.7867 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.198, allocations: 167.4 kB / 0.7869 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1981, allocations: 89.08 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.1981, allocations: 0 / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.1982, allocations: 7.984 kB / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.1982, allocations: 0 / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1982, allocations: 0 / 0.787 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.1982, allocations: 87.27 kB / 0.787 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1982, allocations: 0 / 0.787 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002196/0.1985, allocations: 16 kB / 0.7871 GB, free: 9.141 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.0001287/0.1986, allocations: 103.2 kB / 0.7872 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1988, allocations: 39.95 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1988, allocations: 0 / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.1989, allocations: 23.92 kB / 0.7872 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.1991, allocations: 4.875 kB / 0.7872 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.1994, allocations: 115.3 kB / 0.7873 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.1996, allocations: 0.677 MB / 0.788 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.343e-05/0.1996, allocations: 4 kB / 0.788 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.1997, allocations: 7.438 kB / 0.788 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1997, allocations: 0 / 0.788 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of Templates: time 0.002141/0.2018, allocations: 0.5151 MB / 0.7885 GB, free: 7.598 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)