Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 252 MB / 267 MB, free: 10.97 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.001074/0.001074, allocations: 175.3 kB / 326.6 MB, free: 2.23 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.508/1.508, allocations: 205.4 MB / 0.5776 GB, free: 20.25 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.0007522/0.0007522, allocations: 94.23 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002904, allocations: 12.03 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0005868/0.1735, allocations: 338.1 kB / 0.9006 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.1739, allocations: 148.9 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.1739, allocations: 0 / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.1739, allocations: 0 / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.995e-05/0.1739, allocations: 0 / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1742, allocations: 31.91 kB / 0.9008 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.1742, allocations: 15.98 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.1743, allocations: 0 / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.1743, allocations: 8 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.1744, allocations: 11.92 kB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1744, allocations: 0 / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-05/0.1745, allocations: 35.95 kB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.765e-06/0.1745, allocations: 0 / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.1745, allocations: 29.7 kB / 0.9009 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.951e-05/0.1746, allocations: 15.97 kB / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1746, allocations: 0 / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1746, allocations: 0 / 0.9009 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1746, allocations: 4 kB / 0.9009 GB, free: 63.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002696/0.1749, allocations: 323.4 kB / 0.9012 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1749, allocations: 8.031 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.175, allocations: 42.5 kB / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.175, allocations: 0 / 0.9013 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.642e-05/0.1751, allocations: 171 kB / 0.9015 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.1751, allocations: 4 kB / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1751, allocations: 0 / 0.9015 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/0.1752, allocations: 49.62 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.1752, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1752, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1752, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.935e-05/0.1753, allocations: 15.98 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.1754, allocations: 169.7 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.1755, allocations: 42.5 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.1755, allocations: 28.97 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.428e-05/0.1756, allocations: 85.11 kB / 0.9018 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.1756, allocations: 34.55 kB / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1756, allocations: 0 / 0.9019 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.001105/0.1767, allocations: 484.2 kB / 0.9023 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.1768, allocations: 55.41 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.1768, allocations: 93.86 kB / 0.9025 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.1768, allocations: 29.64 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.11e-05/0.1768, allocations: 80.14 kB / 0.9026 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1769, allocations: 27.64 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.1769, allocations: 0 / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.1769, allocations: 322.8 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.1769, allocations: 15.98 kB / 0.9029 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.177, allocations: 11.98 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.111e-05/0.177, allocations: 16.23 kB / 0.9029 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.92e-07/0.177, allocations: 4.125 kB / 0.903 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.719e-05/0.1771, allocations: 65.67 kB / 0.903 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1771, allocations: 8 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1771, allocations: 3.984 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1772, allocations: 0 / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.1772, allocations: 19.94 kB / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1772, allocations: 0 / 0.903 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.1773, allocations: 3.938 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1773, allocations: 4.438 kB / 0.9031 GB, free: 60.68 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 (8): * Single equations (assignments): 8 * 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 4.888e-05/0.1773, allocations: 117.8 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.032e-05/0.1774, allocations: 7.906 kB / 0.9032 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.1775, allocations: 77.62 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1775, allocations: 0 / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1775, allocations: 4 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1775, allocations: 0 / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.429e-05/0.1776, allocations: 169.6 kB / 0.9034 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1776, allocations: 7.938 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.597e-05/0.1777, allocations: 11.98 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1777, allocations: 8 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1777, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1777, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1777, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1779, allocations: 113.1 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.1779, allocations: 88.98 kB / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.1779, allocations: 0 / 0.9036 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.516e-05/0.178, allocations: 7.938 kB / 0.9036 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.178, allocations: 12.05 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.178, allocations: 0 / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.178, allocations: 79.28 kB / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.178, allocations: 0 / 0.9037 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001972/0.1782, allocations: 32 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0003538/0.1786, allocations: 0.6789 MB / 0.9044 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.824e-05/0.1787, allocations: 43.91 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1787, allocations: 0 / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.1787, allocations: 19.98 kB / 0.9045 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1789, allocations: 7.047 kB / 0.9045 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.1794, allocations: 427.2 kB / 0.9049 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.615e-05/0.1795, allocations: 0.6809 MB / 0.9056 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.1795, allocations: 11.92 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.1796, allocations: 15.44 kB / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.1796, allocations: 0 / 0.9056 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01122/0.1908, allocations: 1.603 MB / 0.9072 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.191, allocations: 224.3 kB / 0.9074 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/1.709, allocations: 0 / 0.9074 GB, free: 56.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)