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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 199.2 kB / 16.64 MB, free: 6.453 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.215/1.215, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.584/1.584, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.00133/0.00133, allocations: 71.28 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1859, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001879/0.1879, allocations: 0.6082 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.1883, allocations: 163.4 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.1883, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.147e-05/0.1883, allocations: 0 / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.324e-05/0.1884, allocations: 3.938 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1887, allocations: 47.14 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.503e-05/0.1887, allocations: 8 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.1888, allocations: 7.984 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.051e-05/0.1888, allocations: 7.984 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.317e-05/0.1889, allocations: 7.938 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1889, allocations: 4 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.189, allocations: 35.95 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.189, allocations: 4 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.189, allocations: 15.86 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.245e-05/0.1891, allocations: 27.97 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1891, allocations: 0 / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1891, allocations: 0 / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.1891, allocations: 0 / 0.7851 GB, free: 11.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.0003688/0.1895, allocations: 327.6 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1896, allocations: 12.03 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1896, allocations: 8.844 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.1897, allocations: 172.2 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.1897, allocations: 4.375 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1897, allocations: 384 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1899, allocations: 46.25 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1899, allocations: 192 / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1899, allocations: 3.938 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1899, allocations: 4 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.354e-05/0.1899, allocations: 15.97 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1901, allocations: 165.7 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.101e-05/0.1902, allocations: 46.5 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.1902, allocations: 20.97 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.659e-05/0.1903, allocations: 81.11 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1904, allocations: 30.56 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1904, allocations: 0 / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.00117/0.1915, allocations: 488.3 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.1916, allocations: 59.39 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.397e-05/0.1917, allocations: 89.86 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1917, allocations: 29.7 kB / 0.7866 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.1917, allocations: 84.08 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1918, allocations: 19.66 kB / 0.7867 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/0.1918, allocations: 29.69 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.192, allocations: 319 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.192, allocations: 15.98 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.192, allocations: 8 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.901e-05/0.1921, allocations: 32.86 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1921, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.1922, allocations: 73.58 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1922, allocations: 11.94 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.1923, allocations: 0 / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1923, allocations: 0 / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.1923, allocations: 15.94 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1924, allocations: 4 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.1924, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1924, allocations: 0 / 0.7872 GB, free: 9.301 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 6.251e-05/0.1925, allocations: 121.8 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.1925, allocations: 3.938 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.1927, allocations: 93.86 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1927, allocations: 0 / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1927, allocations: 3.938 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.1927, allocations: 8 kB / 0.7874 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.1928, allocations: 161.7 kB / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1928, allocations: 0 / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-05/0.1929, allocations: 11.98 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.1929, allocations: 7.938 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1929, allocations: 0 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1929, allocations: 192 / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1929, allocations: 4 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.1931, allocations: 117 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1932, allocations: 89.08 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.1932, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.1932, allocations: 3.984 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.1933, allocations: 4 kB / 0.7878 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1933, allocations: 4 kB / 0.7878 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.1933, allocations: 79.28 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1933, allocations: 0 / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002145/0.1935, allocations: 31.98 kB / 0.7879 GB, free: 8.465 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.0001968/0.1937, allocations: 139.4 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.1938, allocations: 35.92 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1939, allocations: 0 / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.1939, allocations: 20 kB / 0.7881 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.194, allocations: 6.656 kB / 0.7881 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002756/0.1943, allocations: 145.6 kB / 0.7882 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1947, allocations: 0.6846 MB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.1947, allocations: 7.938 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.1947, allocations: 15.42 kB / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1948, allocations: 0 / 0.7889 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of Templates: time 0.002878/0.1976, allocations: 0.8786 MB / 0.7898 GB, free: 6.484 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (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 & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)