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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008031/0.0008074, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005279/0.005279, allocations: 170.6 kB / 16.27 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.311/1.311, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.769/1.769, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004996/0.0004996, allocations: 12.12 kB / 0.6744 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1925, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001519/0.194, allocations: 1.16 MB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000392/0.1944, allocations: 200.3 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.1945, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.1945, allocations: 0 / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.747e-05/0.1945, allocations: 3.984 kB / 0.7893 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1947, allocations: 27.91 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.1948, allocations: 31.86 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.1949, allocations: 0 / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.609e-05/0.1949, allocations: 8 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.195, allocations: 11.92 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.195, allocations: 4 kB / 0.7894 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.1951, allocations: 39.95 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1951, allocations: 3.984 kB / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.032e-05/0.1951, allocations: 37.64 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.799e-05/0.1953, allocations: 31.89 kB / 0.7895 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1953, allocations: 4 kB / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1953, allocations: 0 / 0.7895 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.1953, allocations: 0 / 0.7895 GB, free: 9.883 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.000448/0.1957, allocations: 347.7 kB / 0.7898 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1958, allocations: 12.03 kB / 0.7899 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.1958, allocations: 34.73 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.833e-05/0.1958, allocations: 0.9375 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.196, allocations: 176.3 kB / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.1961, allocations: 384 / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-06/0.1961, allocations: 384 / 0.7901 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1962, allocations: 62.17 kB / 0.7901 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1963, allocations: 3.938 kB / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.1963, allocations: 0 / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1963, allocations: 4 kB / 0.7901 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.1965, allocations: 43.95 kB / 0.7902 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.1968, allocations: 245 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.197, allocations: 42.5 kB / 0.7904 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.1971, allocations: 41.89 kB / 0.7905 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.1972, allocations: 81.11 kB / 0.7906 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1972, allocations: 30.56 kB / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.665e-06/0.1972, allocations: 0 / 0.7906 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003841/0.1976, allocations: 101.6 kB / 0.7907 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1976, allocations: 55.41 kB / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.1977, allocations: 101.8 kB / 0.7908 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1977, allocations: 25.7 kB / 0.7909 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.1978, allocations: 84.14 kB / 0.7909 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.1978, allocations: 15.78 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.1978, allocations: 13.84 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.1979, allocations: 314.8 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.714e-05/0.198, allocations: 27.92 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.1981, allocations: 15.98 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1983, allocations: 52.89 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1983, allocations: 3.938 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002075/0.1985, allocations: 81.66 kB / 0.7914 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1985, allocations: 4 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1986, allocations: 0 / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1986, allocations: 0 / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.1987, allocations: 15.98 kB / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1987, allocations: 0 / 0.7915 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.1987, allocations: 15.95 kB / 0.7915 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.1987, allocations: 0 / 0.7915 GB, free: 7.617 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.834e-05/0.1988, allocations: 113.8 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1988, allocations: 3.906 kB / 0.7916 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.1991, allocations: 88.77 kB / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1991, allocations: 0 / 0.7917 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1991, allocations: 4 kB / 0.7917 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1991, allocations: 256 / 0.7917 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.1993, allocations: 161.6 kB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1993, allocations: 4 kB / 0.7918 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.818e-05/0.1993, allocations: 11.98 kB / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1993, allocations: 0 / 0.7918 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1994, allocations: 8.016 kB / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1994, allocations: 0 / 0.7919 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1994, allocations: 4 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.1996, allocations: 179.4 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.1997, allocations: 77.11 kB / 0.7921 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1997, allocations: 3.938 kB / 0.7921 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.607e-05/0.1998, allocations: 11.98 kB / 0.7921 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.1998, allocations: 0 / 0.7921 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1998, allocations: 4 kB / 0.7921 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.927e-05/0.1999, allocations: 83.28 kB / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1999, allocations: 0 / 0.7922 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002229/0.2001, allocations: 8 kB / 0.7922 GB, free: 6.766 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.0006505/0.2008, allocations: 0.724 MB / 0.7929 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.201, allocations: 43.97 kB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.201, allocations: 0 / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.948e-05/0.2011, allocations: 35.97 kB / 0.793 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2014, allocations: 4 kB / 0.793 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000364/0.2017, allocations: 150.3 kB / 0.7931 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.202, allocations: 0.6809 MB / 0.7938 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.202, allocations: 0 / 0.7938 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.202, allocations: 11.5 kB / 0.7938 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.202, allocations: 0 / 0.7938 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.2123, allocations: 1.174 MB / 0.795 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.2125, allocations: 200.1 kB / 0.7952 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/1.959, allocations: 0 / 0.7952 GB, free: 3.715 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)