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.321/1.321, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009592/0.0009595, allocations: 182.9 kB / 327 MB, free: 2.078 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.552/1.552, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007365/0.0007365, allocations: 90.36 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 13.06 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.17, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006419/0.1707, allocations: 346 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.1711, allocations: 160.8 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.1711, allocations: 0 / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.1711, allocations: 3.938 kB / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.683e-05/0.1712, allocations: 0 / 0.9014 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1714, allocations: 35.91 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.641e-05/0.1715, allocations: 11.98 kB / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.1715, allocations: 0 / 0.9015 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.1715, allocations: 11.94 kB / 0.9015 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.1716, allocations: 11.97 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.1716, allocations: 4 kB / 0.9015 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.528e-05/0.1717, allocations: 31.97 kB / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1718, allocations: 0 / 0.9015 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.1718, allocations: 41.62 kB / 0.9016 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.081e-05/0.1719, allocations: 31.89 kB / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1719, allocations: 0 / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.034e-06/0.1719, allocations: 0 / 0.9016 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1719, allocations: 3.938 kB / 0.9016 GB, free: 62.67 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.0002973/0.1722, allocations: 327.6 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1723, allocations: 8.031 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.1723, allocations: 30.75 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.1723, allocations: 4.938 kB / 0.9019 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.591e-05/0.1724, allocations: 168.3 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1724, allocations: 384 / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1725, allocations: 8.375 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.448e-05/0.1726, allocations: 46.25 kB / 0.9022 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1726, allocations: 3.938 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.1726, allocations: 4 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1726, allocations: 0 / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.1726, allocations: 19.92 kB / 0.9022 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.1728, allocations: 157.7 kB / 0.9023 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.643e-05/0.1729, allocations: 42.62 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.818e-05/0.1729, allocations: 16.98 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.173, allocations: 85.09 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.173, allocations: 34.56 kB / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.173, allocations: 0 / 0.9025 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.00108/0.1741, allocations: 0.4888 MB / 0.903 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.1741, allocations: 55.41 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.485e-05/0.1742, allocations: 89.86 kB / 0.9031 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.1742, allocations: 29.7 kB / 0.9031 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.246e-05/0.1742, allocations: 84.27 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.1742, allocations: 27.64 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.1742, allocations: 0 / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.1743, allocations: 322.8 kB / 0.9036 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.1743, allocations: 11.98 kB / 0.9036 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/0.1743, allocations: 12 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.263e-05/0.1744, allocations: 45.06 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1744, allocations: 0 / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.611e-05/0.1745, allocations: 73.55 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1745, allocations: 4 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1745, allocations: 4 kB / 0.9037 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1745, allocations: 4 kB / 0.9037 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1746, allocations: 12 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1746, allocations: 4 kB / 0.9037 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.1747, allocations: 4 kB / 0.9037 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1747, allocations: 3.984 kB / 0.9037 GB, free: 60.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.1747, allocations: 113.8 kB / 0.9038 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.1747, allocations: 7.844 kB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.1749, allocations: 85.58 kB / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1749, allocations: 0 / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1749, allocations: 0 / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1749, allocations: 0 / 0.9039 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.165e-05/0.175, allocations: 169.6 kB / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.175, allocations: 0 / 0.9041 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/0.1751, allocations: 15.94 kB / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1751, allocations: 0 / 0.9041 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1751, allocations: 4 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1751, allocations: 0 / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1751, allocations: 4 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.1752, allocations: 117 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.463e-05/0.1753, allocations: 88.98 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1753, allocations: 3.984 kB / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.1753, allocations: 0 / 0.9043 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.1753, allocations: 8 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1754, allocations: 0 / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.631e-05/0.1754, allocations: 83.34 kB / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1754, allocations: 0 / 0.9044 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001938/0.1756, allocations: 31.98 kB / 0.9044 GB, free: 59.34 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 (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.0004119/0.176, allocations: 0.6865 MB / 0.9051 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.13e-05/0.1761, allocations: 40.14 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1761, allocations: 0 / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.1761, allocations: 23.94 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.1763, allocations: 2.031 kB / 0.9052 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.177, allocations: 1.203 MB / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.975e-05/0.1771, allocations: 0.6809 MB / 0.907 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.1772, allocations: 11.75 kB / 0.907 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.1772, allocations: 19.42 kB / 0.907 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.1772, allocations: 0 / 0.907 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.1878, allocations: 1.618 MB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.188, allocations: 238.3 kB / 0.9088 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.689, allocations: 0 / 0.9088 GB, free: 54.88 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)