Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.0008053/0.0008053, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.005597/0.005597, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.513/1.513, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.75/1.75, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004904/0.0004904, allocations: 15.56 kB / 0.6744 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.199, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006851/0.1997, allocations: 343.5 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003758/0.2001, allocations: 163.5 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.232e-05/0.2001, allocations: 0 / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.2001, allocations: 3.938 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.88e-05/0.2002, allocations: 0 / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.2004, allocations: 35.91 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.2005, allocations: 19.92 kB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.2005, allocations: 3.984 kB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.2005, allocations: 4 kB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.2006, allocations: 11.91 kB / 0.7886 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2006, allocations: 4 kB / 0.7886 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.34e-05/0.2007, allocations: 35.97 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.2007, allocations: 4 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.2008, allocations: 37.62 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.384e-05/0.2008, allocations: 23.95 kB / 0.7887 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2009, allocations: 3.938 kB / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2009, allocations: 0 / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2009, allocations: 0 / 0.7887 GB, free: 10.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003438/0.2012, allocations: 331.5 kB / 0.789 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2013, allocations: 8.031 kB / 0.789 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.2013, allocations: 34.75 kB / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.2014, allocations: 8.844 kB / 0.789 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2015, allocations: 168.6 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.2015, allocations: 4.375 kB / 0.7892 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2015, allocations: 4.375 kB / 0.7892 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.2016, allocations: 42.25 kB / 0.7892 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.2017, allocations: 3.938 kB / 0.7892 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2017, allocations: 0 / 0.7892 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2017, allocations: 3.938 kB / 0.7892 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/0.2017, allocations: 19.92 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.2019, allocations: 161.7 kB / 0.7894 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.608e-05/0.202, allocations: 42.62 kB / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.202, allocations: 16.98 kB / 0.7895 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-05/0.2021, allocations: 81.11 kB / 0.7896 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2022, allocations: 38.55 kB / 0.7896 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.324e-06/0.2022, allocations: 4 kB / 0.7896 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001245/0.2034, allocations: 492.2 kB / 0.7901 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2035, allocations: 55.41 kB / 0.7901 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.2035, allocations: 93.86 kB / 0.7902 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2036, allocations: 25.7 kB / 0.7902 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.913e-05/0.2036, allocations: 80.14 kB / 0.7903 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2036, allocations: 27.64 kB / 0.7903 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.2037, allocations: 21.84 kB / 0.7904 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.2038, allocations: 310.8 kB / 0.7907 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.006e-05/0.2038, allocations: 15.98 kB / 0.7907 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.2038, allocations: 12 kB / 0.7907 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.2039, allocations: 32.84 kB / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2039, allocations: 0 / 0.7907 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001059/0.204, allocations: 81.45 kB / 0.7908 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.204, allocations: 8 kB / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2041, allocations: 0 / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.2041, allocations: 0 / 0.7908 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.2042, allocations: 19.98 kB / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2042, allocations: 0 / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.2042, allocations: 0 / 0.7908 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2042, allocations: 4 kB / 0.7908 GB, free: 8.266 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 (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 7.146e-05/0.2043, allocations: 110.5 kB / 0.7909 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.2043, allocations: 7.938 kB / 0.7909 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/0.2045, allocations: 81.58 kB / 0.791 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2045, allocations: 4 kB / 0.791 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2045, allocations: 4 kB / 0.791 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2045, allocations: 0 / 0.791 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2046, allocations: 169.6 kB / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2046, allocations: 0 / 0.7912 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.2047, allocations: 20.12 kB / 0.7912 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2047, allocations: 3.938 kB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.2047, allocations: 4 kB / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2047, allocations: 0 / 0.7912 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2048, allocations: 3.984 kB / 0.7912 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.2049, allocations: 124.9 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.205, allocations: 81.05 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.205, allocations: 4 kB / 0.7914 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.353e-05/0.205, allocations: 4.031 kB / 0.7914 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.2051, allocations: 0 / 0.7914 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.2051, allocations: 7.984 kB / 0.7914 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.191e-05/0.2051, allocations: 75.28 kB / 0.7915 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2051, allocations: 4.156 kB / 0.7915 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002343/0.2054, allocations: 32 kB / 0.7915 GB, free: 7.434 MB / 0.6075 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.0005121/0.2059, allocations: 0.6869 MB / 0.7922 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.206, allocations: 35.98 kB / 0.7922 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.206, allocations: 3.938 kB / 0.7922 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.206, allocations: 32.03 kB / 0.7923 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2062, allocations: 8 kB / 0.7923 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.2071, allocations: 1.191 MB / 0.7934 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.2073, allocations: 0.6809 MB / 0.7941 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.2074, allocations: 7.984 kB / 0.7941 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.2074, allocations: 7.531 kB / 0.7941 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2074, allocations: 11.94 kB / 0.7941 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.2183, allocations: 1.608 MB / 0.7957 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.2185, allocations: 227.3 kB / 0.7959 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/1.934, allocations: 3.125 kB / 0.7959 GB, free: 2.957 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)